Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Packet error rate measurement

Handles the functionalities of Packet Error Rate Measurement(PER) Mode, User can set and get various paramters of Transceiver like Channel,Antenna Diversity,CSMA and do the Packet Error Rate Measurement.

Modules

 PER mode Initiator
 This module handles the functionalities of the Initiator in PER mode.
 
 PER mode Receptor
 This module handles the functionalities of the receptor in PER mode.
 
 PER mode Common Utilities
 This module handles the PER mode Common utilities used by Initiator and Receptor.
 

Data Structures

struct  ed_scan_result_t
 ED scan result structure to hold the channel and its ED value. More...
 
struct  trx_config_params_t
 Structure to hold all configurable parameter values. More...
 

Macros

#define PULSE_CW_TX_TIME_IN_MICRO_SEC   (50000)
 

Functions

void configure_pkt_stream_frames (uint16_t frame_len)
 Configure the frame to be used for Packet Streaming. More...
 

Variables

trx_config_params_t curr_trx_config_params
 
trx_config_params_t default_trx_config_params
 

Request and response Ids which sent over the air

#define SET_PARAM   (0x01)
 
#define RESULT_REQ   (0x02)
 
#define RESULT_RSP   (0x03)
 
#define IDENTIFY_NODE   (0x07)
 
#define PER_TEST_PKT   (0x0B)
 
#define PEER_INFO_REQ   (0x0C)
 
#define PEER_INFO_RSP   (0x0D)
 
#define DISCONNECT_NODE   (0x0E)
 
#define SET_DEFAULT_REQ   (0x0F)
 
#define PER_TEST_START_PKT   (0x10)
 
#define RANGE_TEST_START_PKT   (0x11)
 
#define RANGE_TEST_PKT   (0x12)
 
#define RANGE_TEST_RSP   (0x13)
 
#define RANGE_TEST_STOP_PKT   (0x14)
 
#define RANGE_TEST_MARKER_CMD   (0x15)
 
#define RANGE_TEST_MARKER_RSP   (0x16)
 
#define REMOTE_TEST_CMD   (0x17)
 
#define REMOTE_TEST_REPLY_CMD   (0x18)
 
#define PKT_STREAM_PKT   (0x18)
 
#define RANGE_TEST_PKT_LENGTH   (19)
 
#define LED_BLINK_RATE_IN_MICRO_SEC   (50000)
 

#define DISCONNECT_NODE   (0x0E)
#define IDENTIFY_NODE   (0x07)
#define LED_BLINK_RATE_IN_MICRO_SEC   (50000)
#define PEER_INFO_REQ   (0x0C)
#define PEER_INFO_RSP   (0x0D)
#define PER_TEST_PKT   (0x0B)
#define PER_TEST_START_PKT   (0x10)
#define PKT_STREAM_PKT   (0x18)
#define PULSE_CW_TX_TIME_IN_MICRO_SEC   (50000)
#define RANGE_TEST_MARKER_CMD   (0x15)
#define RANGE_TEST_MARKER_RSP   (0x16)
#define RANGE_TEST_PKT_LENGTH   (19)
#define RANGE_TEST_RSP   (0x13)
#define RANGE_TEST_START_PKT   (0x11)
#define RANGE_TEST_STOP_PKT   (0x14)
#define REMOTE_TEST_CMD   (0x17)
#define REMOTE_TEST_REPLY_CMD   (0x18)
#define RESULT_REQ   (0x02)
#define RESULT_RSP   (0x03)
#define SET_DEFAULT_REQ   (0x0F)
#define SET_PARAM   (0x01)

void configure_pkt_stream_frames ( uint16_t  frame_len)