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... | |
Variables | |
trx_config_params_t | curr_trx_config_params [NUM_TRX] |
Packet Error rate Measurement Generic Macros | |
#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 | SET_SUN_PAGE (0X17) |
#define | RANGE_TEST_PAYLOAD_LENGTH (0X08) |
#define | LED_BLINK_RATE_IN_MICRO_SEC (50000) |
#define DISCONNECT_NODE (0x0E) |
Referenced by per_mode_receptor_rx_cb(), and send_disconnect_command().
#define IDENTIFY_NODE (0x07) |
Referenced by per_mode_receptor_rx_cb(), and send_identify_command().
#define LED_BLINK_RATE_IN_MICRO_SEC (50000) |
#define PEER_INFO_REQ (0x0C) |
Referenced by per_mode_receptor_rx_cb(), and send_peer_info_req().
#define PEER_INFO_RSP (0x0D) |
Referenced by per_mode_initiator_rx_cb(), and send_peer_info_rsp().
#define PER_TEST_PKT (0x0B) |
Referenced by configure_frame_sending(), and per_mode_receptor_rx_cb().
#define PER_TEST_START_PKT (0x10) |
Referenced by per_mode_receptor_rx_cb(), and send_per_test_start_cmd().
#define RANGE_TEST_MARKER_CMD (0x15) |
Referenced by per_mode_initiator_rx_cb(), and send_range_test_marker_cmd().
#define RANGE_TEST_MARKER_RSP (0x16) |
Referenced by per_mode_receptor_rx_cb(), and send_range_test_marker_rsp().
#define RANGE_TEST_PAYLOAD_LENGTH (0X08) |
Referenced by configure_range_test_frame_sending(), and usr_range_test_beacon_tx().
#define RANGE_TEST_PKT (0x12) |
Referenced by configure_range_test_frame_sending(), per_mode_initiator_tx_done_cb(), and per_mode_receptor_rx_cb().
#define RANGE_TEST_RSP (0x13) |
Referenced by per_mode_initiator_rx_cb(), and send_range_test_rsp().
#define RANGE_TEST_START_PKT (0x11) |
Referenced by per_mode_receptor_rx_cb(), and send_range_test_start_cmd().
#define RANGE_TEST_STOP_PKT (0x14) |
Referenced by per_mode_receptor_rx_cb(), and send_range_test_stop_cmd().
#define RESULT_REQ (0x02) |
Referenced by per_mode_receptor_rx_cb(), and send_result_req().
#define RESULT_RSP (0x03) |
Referenced by per_mode_initiator_rx_cb(), and send_result_rsp().
#define SET_DEFAULT_REQ (0x0F) |
Referenced by per_mode_receptor_rx_cb(), and send_set_default_config_command().
#define SET_PARAM (0x01) |
Referenced by per_mode_receptor_rx_cb(), and send_parameters_changed().
#define SET_SUN_PAGE (0X17) |
Referenced by per_mode_initiator_tx_done_cb(), per_mode_receptor_rx_cb(), and send_sun_page_changed().
trx_config_params_t curr_trx_config_params[NUM_TRX] |