SZS ez430-RF2480 1.0

ZigBee Sensor Network with synchronized time and time-stamped measurements.
cc2480ai.c File Reference

Implementation to use CC2480 application interface commands. More...

#include <msp430.h>
#include "cc2480ai.h"
#include "spi.h"
#include "nwk.h"
+ Include dependency graph for cc2480ai.c:

Go to the source code of this file.

Macros

#define CCAI_MSGP_SYS_RESET_IND_CMD   0x4180
 Sent by CC2480 after a reset.
 
#define CCAI_MSGR_SYS_VERION   0x6102
 Response to a request for CC2480 software version information.
 
#define CCAI_MSGR_SYS_OSAL_NV_READ   0x6108
 Response to a request to read an item from CC2480 NV memory.
 
#define CCAI_MSGR_SYS_OSAL_NV_WRITE   0x6109
 Response to a request to write an item on CC2480 NV memory.
 
#define CCAI_MSGR_SYS_OSAL_START_TIMER   0x610A
 Response to a request to start a software timer.
 
#define CCAI_MSGR_SYS_OSAL_STOP_TIMER   0x610B
 Response to a request to stop a previously scheduled software timer.
 
#define CCAI_MSGP_SYS_OSAL_TIMER_EXPIRED   0x4181
 Sent by CC2480 when a software timer event expires.
 
#define CCAI_MSGR_SYS_RANDOM   0x610C
 Response to a request to read a 16 bit random number.
 
#define CCAI_MSGR_SYS_ADC_READ   0x610D
 Response to a request to read from CC2480 ADC.
 
#define CCAI_MSGR_SYS_GPIO   0x610E
 Response to a command to access the CC2480 GPIO.
 
#define CCAI_MSGR_SYS_TEST_LOOPBACK   0x6141
 Response to a request to test the physical interface, SPI or UART.
 
#define CCAI_MSGR_ZB_READ_CONFIGURATION   0x6604
 Response to a request to read a configuration parameter.
 
#define CCAI_MSGR_ZB_WRITE_CONFIGURATION   0x6605
 Response to a request to write a configuration parameter.
 
#define CCAI_MSGR_ZB_APP_REGISTER_REQUEST   0x660A
 Response to a request to register the application with the CC2480 device.
 
#define CCAI_MSGR_ZB_START_REQUEST   0x6600
 Response to a request to start the ZigBee stack.
 
#define CCAI_MSGP_ZB_START_CONFIRM   0x4680
 Sent by CC2480 to return the results from a ZB_START_REQUEST.
 
#define CCAI_MSGR_ZB_PERMIT_JOINING_REQUEST   0x6608
 Response to a request to change the joining permissions.
 
#define CCAI_MSGR_ZB_BIND_DEVICE   0x6601
 Response to a request to create or delete a binding to another device on the network.
 
#define CCAI_MSGP_ZB_BIND_CONFIRM   0x4681
 Sent by CC2480 to return the results from a ZB_BIND_DEVICE.
 
#define CCAI_MSGR_ZB_ALLOW_BIND   0x6602
 Response to a request to put CC2480 in allow binding mode.
 
#define CCAI_MSGP_ZB_ALLOW_BIND_CONFIRM   0x4682
 Sent by CC2480 when it responds to a bind request from a remote device.
 
#define CCAI_MSGR_ZB_SEND_DATA_REQUEST   0x6603
 Response to a request to transmit data to another device.
 
#define CCAI_MSGP_ZB_SEND_DATA_CONFIRM   0x4683
 Sent from CC2480 to return the results from a ZB_SEND_DATA_REQUEST.
 
#define CCAI_MSGP_ZB_RECEIVE_DATA_INDICATION   0x4687
 Sent by CC2480 to indicate that it has received a packet from a remote device.
 
#define CCAI_MSGR_ZB_GET_DEVICE_INFO   0x6606
 Response to a request to read a device information property.
 
#define CCAI_MSGR_ZB_FIND_DEVICE_REQUEST   0x6607
 Response to a request to determine the short address for a device in the network.
 
#define CCAI_MSGP_ZB_FIND_DEVICE_CONFIRM   0x4685
 Sent by CC2480 to return the results from a ZB_FIND_DEVICE_REQUEST.
 
#define CCAI_MSGR_AF_REGISTER   0x6400
 Not yet implemented in this version.
 
#define CCAI_MSGR_AF_DATA_REQUEST   0x6401
 Not yet implemented in this version.
 
#define CCAI_MSGP_AF_DATA_CONFIRM   0x4480
 Not yet implemented in this version.
 
#define CCAI_MSGP_AF_INCOMING_MSG   0x4481
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_NWK_ADDR_REQ   0x6500
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_NWK_ADDR_RSP   0x4580
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_IEEE_ADDR_REQ   0x6501
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_IEEE_ADDR_RSP   0x4581
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_NODE_DESC_REQ   0x6502
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_NODE_DESC_RSP   0x4582
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_SIMPLE_DESC_REQ   0x6504
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_SIMPLE_DESC_RSP   0x4584
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_ACTIVE_EP_REQ   0x6505
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_ACTIVE_EP_RSP   0x4585
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_MATCH_DESC_REQ   0x6506
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_MATCH_DESC_RSP   0x4586
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_MATCH_DESC_RSP_SENT   0x45C2
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_USER_DESC_REQ   0x6508
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_USER_DESC_RSP   0x4588
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_USER_DESC_SET   0x650B
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_USER_DESC_CONF   0x4589
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_END_DEVICE_ANNCE   0x650A
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_END_DEVICE_ANNCE_IND   0x45C1
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_END_DEVICE_BIND_REQ   0x6520
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_END_DEVICE_BIND_RSP   0x45A0
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_BIND_REQ   0x6521
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_BIND_RSP   0x45A1
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_UNBIND_REQ   0x6522
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_UNBIND_RSP   0x45A2
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_MGMT_LQI_REQ   0x6531
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_MGMT_LQI_RSP   0x45B1
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_MGMT_LEAVE_REQ   0x6534
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_MGMT_LEAVE_RSP   0x45B4
 Not yet implemented in this version.
 
#define CCAI_MSGR_ZDO_MGMT_PERMIT_JOIN_REQ   0x6536
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_MGMT_PERMIT_JOIN_RSP   0x45B6
 Not yet implemented in this version.
 
#define CCAI_MSGP_ZDO_STATE_CHANGE_IND   0x45C0
 Not yet implemented in this version.
 

Typedefs

typedef enum ccai_state ccai_state
 States of the CC2480 Application Interface.
 

Enumerations

enum  ccai_state {
  CCAI_S_INIT, CCAI_S_POWERUPHOLD, CCAI_S_POWERUPWAIT, CCAI_S_DORESET,
  CCAI_S_RESETHOLD, CCAI_S_RESETWAIT, CCAI_S_RUNNING
}
 States of the CC2480 Application Interface. More...
 

Functions

void ccai_p_sys_reset_ind ()
 Request Indication. More...
 
void ccai_r_sys_version ()
 Version response. More...
 
void ccai_r_sys_osal_nv_read ()
 Read memory response. More...
 
void ccai_r_sys_osal_nv_write ()
 Write emory response. More...
 
void ccai_r_sys_osal_start_timer ()
 Start timer response. More...
 
void ccai_r_sys_osal_stop_timer ()
 Stop timer response. More...
 
void ccai_p_sys_osal_timer_expired ()
 Timer expired. More...
 
void ccai_r_sys_random ()
 Random response. More...
 
void ccai_r_sys_adc_read ()
 Read ADC response. More...
 
void ccai_r_sys_gpio ()
 GPIO access response. More...
 
void ccai_r_sys_test_loopback ()
 Loopback test request. More...
 
void ccai_r_zb_read_configuration ()
 Read configuration response. More...
 
void ccai_r_zb_write_configuration ()
 Write configuration response. More...
 
void ccai_r_zb_app_register_request ()
 Application register response. More...
 
void ccai_r_zb_start_request ()
 Start response. More...
 
void ccai_p_zb_start_confirm ()
 Start confirmation. More...
 
void ccai_r_zb_permit_joining_request ()
 Permit join change response. More...
 
void ccai_r_zb_bind_device ()
 Bind device response. More...
 
void ccai_p_zb_bind_confirm ()
 Bind device confirmation. More...
 
void ccai_r_zb_allow_bind ()
 Allow bind response. More...
 
void ccai_p_zb_allow_bind_confirm ()
 Confirm of a new devide bound. More...
 
void ccai_r_zb_send_data_request ()
 Send data response. More...
 
void ccai_p_zb_send_data_confirm ()
 Send data confirmation. More...
 
void ccai_p_zb_receive_data_indication ()
 Receive data indication. More...
 
void ccai_r_zb_get_device_info ()
 Get device information response. More...
 
void ccai_r_zb_find_device_request ()
 Find device response. More...
 
void ccai_p_zb_find_device_confirm ()
 Find device confirmation. More...
 
void ccai_r_af_register ()
 Not implemented. More...
 
void ccai_r_af_data_request ()
 Not implemented. More...
 
void ccai_p_af_data_confirm ()
 Not implemented. More...
 
void ccai_p_af_incoming_msg ()
 Not implemented. More...
 
void ccai_r_zdo_nwk_addr_req ()
 Not implemented. More...
 
void ccai_p_zdo_nwk_addr_rsp ()
 Not implemented. More...
 
void ccai_r_zdo_ieee_addr_req ()
 Not implemented. More...
 
void ccai_p_zdo_ieee_addr_rsp ()
 Not implemented. More...
 
void ccai_r_zdo_node_desc_req ()
 Not implemented. More...
 
void ccai_p_zdo_node_desc_rsp ()
 Not implemented. More...
 
void ccai_r_zdo_simple_desc_req ()
 Not implemented. More...
 
void ccai_p_zdo_simple_desc_rsp ()
 Not implemented. More...
 
void ccai_r_zdo_active_ep_req ()
 Not implemented. More...
 
void ccai_p_zdo_active_ep_rsp ()
 Not implemented. More...
 
void ccai_r_zdo_match_desc_req ()
 Not implemented. More...
 
void ccai_p_zdo_match_desc_rsp ()
 Not implemented. More...
 
void ccai_p_zdo_match_desc_rsp_sent ()
 Not implemented. More...
 
void ccai_r_zdo_user_desc_req ()
 Not implemented. More...
 
void ccai_p_zdo_user_desc_rsp ()
 Not implemented. More...
 
void ccai_r_zdo_user_desc_set ()
 Not implemented. More...
 
void ccai_p_zdo_user_desc_conf ()
 Not implemented. More...
 
void ccai_r_zdo_end_device_annce ()
 Not implemented. More...
 
void ccai_p_zdo_end_device_annce_ind ()
 Not implemented. More...
 
void ccai_r_zdo_end_device_bind_req ()
 Not implemented. More...
 
void ccai_p_zdo_end_device_bind_rsp ()
 Not implemented. More...
 
void ccai_r_zdo_bind_req ()
 Not implemented. More...
 
void ccai_p_zdo_bind_rsp ()
 Not implemented. More...
 
void ccai_r_zdo_unbind_req ()
 Not implemented. More...
 
void ccai_p_zdo_unbind_rsp ()
 Not implemented. More...
 
void ccai_r_zdo_mgmt_lqi_req ()
 Not implemented. More...
 
void ccai_p_zdo_mgmt_lqi_rsp ()
 Not implemented. More...
 
void ccai_r_zdo_mgmt_leave_req ()
 Not implemented. More...
 
void ccai_p_zdo_mgmt_leave_rsp ()
 Not implemented. More...
 
void ccai_r_zdo_mgmt_permit_join_req ()
 Not implemented. More...
 
void ccai_p_zdo_mgmt_permit_join_rsp ()
 Not implemented. More...
 
void ccai_p_zdo_state_change_ind ()
 Not implemented. More...
 
void ccai_init ()
 This function initializes the CC2480 Application Interface variables. More...
 
UInt16 ccai_proccess ()
 This function processes the tasks of the CC2480 Application Interface. More...
 
void ccai_resetFull ()
 Full reset. More...
 
void ccai_resetLight ()
 Reset. More...
 
void ccai_process_message ()
 Proccess a received message. More...
 
UInt8 ccai_a_sys_reset_req ()
 Reset Request. More...
 
UInt8 ccai_s_sys_version ()
 Version request. More...
 
UInt8 ccai_s_sys_osal_nv_read (UInt16 id, UInt8 offset)
 Read memory request. More...
 
UInt8 ccai_s_sys_osal_nv_write (UInt16 id, UInt8 offset, UInt8 len, char *pBuf)
 Write memory request. More...
 
UInt8 ccai_s_sys_osal_start_timer (UInt8 id, UInt16 timeout)
 Timer start request. More...
 
UInt8 ccai_s_sys_osal_stop_timer (UInt8 id)
 Stop timer request. More...
 
UInt8 ccai_s_sys_random ()
 Random request. More...
 
UInt8 ccai_s_sys_adc_read (UInt8 channel, UInt8 resolution)
 Read ADC request. More...
 
UInt8 ccai_s_sys_gpio (UInt8 operation, UInt8 value)
 GPIO access request. More...
 
UInt8 ccai_a_sys_test_rf (UInt8 testMode, UInt16 frequency, UInt8 txPower)
 RF test configuration. More...
 
UInt8 ccai_s_sys_test_loopback (UInt8 len, char *pBuf)
 Loopback test request. More...
 
UInt8 ccai_s_zb_read_configuration (UInt8 configId)
 Read configuration request. More...
 
UInt8 ccai_s_zb_write_configuration (UInt8 configId, UInt8 len, void *pBuf)
 Write configuration request. More...
 
UInt8 ccai_s_zb_app_register_request (UInt8 appEndPoint, UInt16 appProfileId, UInt16 DeviceId, UInt8 DeviceVersion, UInt8 inputCommandsNum, char *InputCommandsList, UInt8 OutputCommandsNum, char *OutputCommandsList)
 Application register request. More...
 
UInt8 ccai_s_zb_start_request ()
 Start request. More...
 
UInt8 ccai_s_zb_permit_joining_request (UInt16 destination, UInt8 timeOut)
 Permit join change request. More...
 
UInt8 ccai_s_zb_bind_device (UInt8 create, UInt16 commandId, uint64_t destination)
 Bind device request. More...
 
UInt8 ccai_s_zb_allow_bind (UInt8 timeout)
 Allow bind request. More...
 
UInt8 ccai_s_zb_send_data_request (UInt16 destination, UInt16 commandId, UInt8 handle, UInt8 ack, UInt8 radius, UInt8 len, void *pBuf)
 Send data request. More...
 
UInt8 ccai_s_zb_send_data_request_begin (UInt16 destination, UInt16 commandId, UInt8 handle, UInt8 ack, UInt8 radius, UInt8 len)
 Begin request to send data. More...
 
UInt8 ccai_s_zb_send_data_request_payload (UInt8 len, void *pBuf)
 Append data to the payload of send data request. More...
 
void ccai_s_zb_send_data_request_end (UInt8 forwardToSerial)
 Terminate the request to send data and send it to CC2480. More...
 
UInt8 ccai_s_zb_get_device_info (UInt8 param)
 Get device information request. More...
 
UInt8 ccai_s_zb_find_device_request (uint64_t searchKey)
 Find device request. More...
 
UInt8 ccai_s_af_register ()
 Not implemented. More...
 
UInt8 ccai_s_af_data_request ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_nwk_addr_req ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_ieee_addr_req ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_node_desc_req ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_simple_desc_req ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_active_ep_req ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_match_desc_req ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_user_desc_req ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_user_desc_set ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_end_device_annce ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_end_device_bind_req ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_bind_req ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_unbind_req ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_mgmt_lqi_req ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_mgmt_leave_req ()
 Not implemented. More...
 
UInt8 ccai_s_zdo_mgmt_permit_join_req ()
 Not implemented. More...
 

Variables

ccai_state ccai_currentState
 Current state of the CC2480 Application Interface. More...
 

Detailed Description

Implementation to use CC2480 application interface commands.

This implementation is not complete, it lacks the AF and ZDO interfaces. The needed functions exists here, but they do nothing on this version.

Definition in file cc2480ai.c.

Enumeration Type Documentation

enum ccai_state

States of the CC2480 Application Interface.

Enumerator
CCAI_S_INIT 

Initial configuration, initialization of SPI.

CCAI_S_POWERUPHOLD 

Holding reset signal low.

CCAI_S_POWERUPWAIT 

Waiting for power-up report.

CCAI_S_DORESET 

Reset afer firt configuration.

CCAI_S_RESETHOLD 

Holding reset signal low.

CCAI_S_RESETWAIT 

Waiting for power-up report.

CCAI_S_RUNNING 

CC2480 running.

Definition at line 424 of file cc2480ai.c.

Function Documentation

void ccai_p_af_data_confirm ( )

Not implemented.

Not implemented in this version.

Definition at line 1770 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_af_incoming_msg ( )

Not implemented.

Not implemented in this version.

Definition at line 1781 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_sys_osal_timer_expired ( )

Timer expired.

Sent by CC2480 when a software timer event expires.

Definition at line 1055 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_sys_reset_ind ( )

Request Indication.

Sent by CC2480 after a reset.

Definition at line 868 of file cc2480ai.c.

References ccai_currentState, CCAI_S_POWERUPWAIT, CCAI_S_RUNNING, NWK_DEVTYPE_DEFALUT, nwk_resetResume(), nwk_setDeviceType(), and nwk_wakeUp().

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_p_zb_allow_bind_confirm ( )

Confirm of a new devide bound.

Sent by CC2480 when it responds to a bind request from a remote device.

Definition at line 1493 of file cc2480ai.c.

References nwk_allow_bindConfirm(), and spi_buf.

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_p_zb_bind_confirm ( )

Bind device confirmation.

Sent by CC2480 to return the results from a ZB_BIND_DEVICE.

Definition at line 1451 of file cc2480ai.c.

References nwk_bind_deviceConfirm(), and spi_buf.

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_p_zb_find_device_confirm ( )

Find device confirmation.

Sent by CC2480 to return the results from a ZB_FIND_DEVICE_REQUEST.

Definition at line 1711 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zb_receive_data_indication ( )

Receive data indication.

Sent by CC2480 to indicate that it has received a packet from a remote device.

Definition at line 1637 of file cc2480ai.c.

References nwk_rcv(), and spi_buf.

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_p_zb_send_data_confirm ( )

Send data confirmation.

Sent by CC2480 to return the results from a ZB_SEND_DATA_REQUEST.

Definition at line 1626 of file cc2480ai.c.

References nwk_send_dataConfirm(), and spi_buf.

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_p_zb_start_confirm ( )

Start confirmation.

Sent by CC2480 to return the results from a ZB_START_REQUEST.

Definition at line 1368 of file cc2480ai.c.

References nwk_startConfirm(), and spi_buf.

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_p_zdo_active_ep_rsp ( )

Not implemented.

Not implemented in this version.

Definition at line 1956 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_bind_rsp ( )

Not implemented.

Not implemented in this version.

Definition at line 2177 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_end_device_annce_ind ( )

Not implemented.

Not implemented in this version.

Definition at line 2107 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_end_device_bind_rsp ( )

Not implemented.

Not implemented in this version.

Definition at line 2142 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_ieee_addr_rsp ( )

Not implemented.

Not implemented in this version.

Definition at line 1851 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_match_desc_rsp ( )

Not implemented.

Not implemented in this version.

Definition at line 1991 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_match_desc_rsp_sent ( )

Not implemented.

Not implemented in this version.

Definition at line 2002 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_mgmt_leave_rsp ( )

Not implemented.

Not implemented in this version.

Not implemented in this version.

Definition at line 2284 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_mgmt_lqi_rsp ( )

Not implemented.

Not implemented in this version.

Definition at line 2247 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_mgmt_permit_join_rsp ( )

Not implemented.

Not implemented in this version.

Definition at line 2319 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_node_desc_rsp ( )

Not implemented.

Not implemented in this version.

Definition at line 1886 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_nwk_addr_rsp ( )

Not implemented.

Not implemented in this version.

Definition at line 1816 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_simple_desc_rsp ( )

Not implemented.

Not implemented in this version.

Definition at line 1921 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_state_change_ind ( )

Not implemented.

Not implemented in this version.

Definition at line 2330 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_unbind_rsp ( )

Not implemented.

Not implemented in this version.

Definition at line 2212 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_user_desc_conf ( )

Not implemented.

Not implemented in this version.

Definition at line 2072 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_p_zdo_user_desc_rsp ( )

Not implemented.

Not implemented in this version.

Definition at line 2037 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_af_data_request ( )

Not implemented.

Not implemented in this version.

Definition at line 1759 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_af_register ( )

Not implemented.

Not implemented in this version.

Definition at line 1735 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_sys_adc_read ( )

Read ADC response.

Response to a request to read from CC2480 ADC.

Definition at line 1116 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_sys_gpio ( )

GPIO access response.

Response to a command to access the CC2480 GPIO.

Definition at line 1149 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_sys_osal_nv_read ( )

Read memory response.

Response to a request to read an item from CC2480 NV memory.

Definition at line 940 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_sys_osal_nv_write ( )

Write emory response.

Response to a request to write an item on CC2480 NV memory.

Definition at line 980 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_sys_osal_start_timer ( )

Start timer response.

Response to a request to start a software timer.

Definition at line 1013 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_sys_osal_stop_timer ( )

Stop timer response.

Response to a request to stop a previously scheduled software timer.

Definition at line 1044 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_sys_random ( )

Random response.

Response to a request to read a 16 bit random number.

Definition at line 1083 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_sys_test_loopback ( )

Loopback test request.

Response to a request to test the physical interface, SPI or UART.

Definition at line 1208 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_sys_version ( )

Version response.

Response to a request for CC2480 software version information.

Definition at line 907 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zb_allow_bind ( )

Allow bind response.

Response to a request to put CC2480 in allow binding mode.

Definition at line 1482 of file cc2480ai.c.

References nwk_allow_bindRsp().

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_r_zb_app_register_request ( )

Application register response.

Response to a request to register the application with the CC2480 device.

Definition at line 1329 of file cc2480ai.c.

References nwk_registerRsp(), and spi_buf.

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_r_zb_bind_device ( )

Bind device response.

Response to a request to create or delete a binding to another device on the network.

Definition at line 1440 of file cc2480ai.c.

References nwk_bind_deviceRsp().

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_r_zb_find_device_request ( )

Find device response.

Response to a request to determine the short address for a device in the network.

Definition at line 1700 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zb_get_device_info ( )

Get device information response.

Response to a request to read a device information property.

Definition at line 1669 of file cc2480ai.c.

References nwk_getDeviceInfoRsp(), and spi_buf.

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_r_zb_permit_joining_request ( )

Permit join change response.

Response to a request to change the joining permissions.

Definition at line 1403 of file cc2480ai.c.

References nwk_setPermitJoinRsp().

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_r_zb_read_configuration ( )

Read configuration response.

Response to a request to read a configuration parameter.

Definition at line 1239 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zb_send_data_request ( )

Send data response.

Response to a request to send data to another device.

Definition at line 1615 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zb_start_request ( )

Start response.

Response to a request to start the ZigBee stack.

Definition at line 1357 of file cc2480ai.c.

References nwk_startRsp().

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_r_zb_write_configuration ( )

Write configuration response.

Response to a request to write a configuration parameter.

Definition at line 1277 of file cc2480ai.c.

References nwk_configureWriteRsp(), and spi_buf.

Referenced by ccai_process_message().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ccai_r_zdo_active_ep_req ( )

Not implemented.

Not implemented in this version.

Definition at line 1945 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_bind_req ( )

Not implemented.

Not implemented in this version.

Definition at line 2166 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_end_device_annce ( )

Not implemented.

Not implemented in this version.

Definition at line 2096 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_end_device_bind_req ( )

Not implemented.

Not implemented in this version.

Definition at line 2131 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_ieee_addr_req ( )

Not implemented.

Not implemented in this version.

Definition at line 1840 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_match_desc_req ( )

Not implemented.

Not implemented in this version.

Definition at line 1980 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_mgmt_leave_req ( )

Not implemented.

Not implemented in this version.

Definition at line 2271 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_mgmt_lqi_req ( )

Not implemented.

Not implemented in this version.

Definition at line 2236 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_mgmt_permit_join_req ( )

Not implemented.

Not implemented in this version.

Definition at line 2308 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_node_desc_req ( )

Not implemented.

Not implemented in this version.

Definition at line 1875 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_nwk_addr_req ( )

Not implemented.

Not implemented in this version.

Definition at line 1805 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_simple_desc_req ( )

Not implemented.

Not implemented in this version.

Definition at line 1910 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_unbind_req ( )

Not implemented.

Not implemented in this version.

Definition at line 2201 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_user_desc_req ( )

Not implemented.

Not implemented in this version.

Definition at line 2026 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

void ccai_r_zdo_user_desc_set ( )

Not implemented.

Not implemented in this version.

Definition at line 2061 of file cc2480ai.c.

Referenced by ccai_process_message().

+ Here is the caller graph for this function:

Variable Documentation

ccai_state ccai_currentState

Current state of the CC2480 Application Interface.

Definition at line 468 of file cc2480ai.c.

Referenced by ccai_init(), ccai_p_sys_reset_ind(), ccai_proccess(), ccai_resetFull(), and ccai_resetLight().