13.7.1 15_4_P2P_Phy_App Defines

C

#define CHANNEL_TRANSMIT_RECEIVE            11U
#define SRC_ADDR                            0x1U
#define IEEE_ADDR                           0x1U
#define SRC_PAN_ID                          0xcafeU
#define MAXBE                               5U
#define MINBE                               3U
#define CSMA_BACKOFF                        4U
#define FRAME_RETRY                         3U
#define CCA_MODE                            1U
#define TRANSMIT_POWER                      4
#define APP_PAYLOAD_BUFFER_SIZE             500U
#define DST_ADDR                            0x2U
#define DST_IEEE_ADDR                       0x2U
#define NUM_OF_DEVICES                      64U
#define ED_SCAN_DURATION                    8U

Description

The definition of the PAN Network parameters and device specific parameters.

Macro Definition

Table 13-1. Configuration Parameters
MacroDescription
CHANNEL_TRANSMIT_RECEIVEDevice Operating Channel Frequency
SRC_ADDRSource Device Address - 16 bits
IEEE_ADDRExtended Address of the source Device - 64 bits
SRC_PAN_IDSource PAN ID(if INTER PAN) / PAN ID(if INTRA PAN)
MAXBEMAXIMUM BE
MINBEMINIMUM BE
CSMA_BACKOFFCSMA retries
FRAME_RETRYMAC Level Retries
CCA_MODECCA Mode
TRANSMIT_POWERTransmit Power
APP_PAYLOAD_BUFFER_SIZEAPP PAYLOAD BUFFER SIZE
DST_ADDRDestination Device Short Address - 16 bits
DST_IEEE_ADDRDestination Device IEEE Address - 64 bits
NUM_OF_DEVICESNo. of Devices
ED_SCAN_DURATIONEnergy Detection Scan Duration (in Symbols)