Microchip® Advanced Software Framework

2/inc/app_peer_search.h File Reference

Data Structures

struct  peer_search_receptor_arg_t
 Structure to hold the peer device's short address and ieee address. More...
 
struct  peer_state_function_t
 Structure to hold the the function pointers to handle various Peer Search Process tasks. More...
 

Macros

#define PEER_CONFIRM   (0x03)
 
#define PEER_REQUEST   (0x01)
 
#define PEER_RESPONSE   (0x02)
 
#define PER_TEST_MODE   (0x02)
 
#define RANGE_MEASURE_MODE   (0x01)
 

Functions

void peer_search_initiator_exit (trx_id_t trx)
 Function to exit peer search initiator exit state. More...
 
void peer_search_initiator_init (trx_id_t trx, void *arg)
 Application task to start peer search. More...
 
void peer_search_initiator_rx_cb (trx_id_t trx, frame_info_t *frame)
 Callback that is called if data has been received by trx. More...
 
void peer_search_initiator_set_sub_state (trx_id_t trx, uint8_t state, void *arg)
 Function to set the sub state of state machine. More...
 
void peer_search_initiator_task (trx_id_t trx)
 Application task handling peer search. More...
 
void peer_search_initiator_tx_done_cb (trx_id_t trx, retval_t status, frame_info_t *frame)
 Callback that is called once tx is done in peer search initiator state. More...
 
void peer_search_receptor_exit (trx_id_t trx)
 Function to exit peer search receptor state. More...
 
void peer_search_receptor_init (trx_id_t trx, void *arg)
 Application task to start peer search. More...
 
void peer_search_receptor_rx_cb (trx_id_t trx, frame_info_t *frame)
 Callback that is called if data has been received by trx in peer search receptor state. More...
 
void peer_search_receptor_set_sub_state (trx_id_t trx, uint8_t state, void *arg)
 Function to set the sub state of state machine. More...
 
void peer_search_receptor_task (trx_id_t trx)
 Application task handling peer search. More...
 
void peer_search_receptor_tx_done_cb (trx_id_t trx, retval_t status, frame_info_t *frame)
 Callback that is called once tx is done in peer search receptor state. More...