Microchip® Advanced Software Framework

app_peer_search.h File Reference

Function prototypes for Peera Search process - Performance Analyzer application Copyright (c) 2013-2018 Microchip Technology Inc.

and its subsidiaries.

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