Txcontextconfig_T; Smactestmode_T; Packetconfig_T - NXP Semiconductors MKW01 Reference Manual

Simple media access controller (smac)
Table of Contents

Advertisement

2.2.9

txContextConfig_t

typedef struct txContextConfig_tag
{
bool_t ccaBeforeTx;
bool_t autoAck;
uint8_t retryCountCCAFail;
uint8_t retryCountAckFail;
}txContextConfig_t;
Members
ccaBeforeTx
autoAck
retryCountCCAFail
retryCountAckFail
2.2.10

smacTestMode_t

typedef enum smacTestMode_tag
{
gTestModeForceIdle_c = 0,
gTestModeContinuousTxModulated_c,
gTestModeContinuousTxUnmodulated_c,
gTestModePRBS9_c,
gTestModeContinuousRxBER_c,
gMaxTestMode_c
} smacTestMode_t;
This enumeration is used only in the Connectivity Test Application, to select the type of test to be
performed. Keep in mind that all the decisions are taken at application level and this enumeration is used
only as a reference for designing the test modes.
2.2.11

packetConfig_t

typedef struct packetConfig_tag
{
uint16_t u16PreambleSize;
uint8_t
u8SyncWordSize;
uint8_t* pu8SyncWord;
} packetConfig_t;
Members
u16PreambleSize
The preamble size.
u8syncWordSize
The size of the synchronization word.
MKW01 Simple Media Access Controller (SMAC) Reference Manual, Rev. 0.0
Freescale Semiconductor
bool_t value to enable/disable the "LBT" mechanism.
bool_t value to enable/disable the "AA" mechanism.
This value specifies the number of times the MKW01 SMAC will
attempt to re-transmitt a packet if "LBT" is enabled and channel is found
busy.
This value specifies the number of times the MKW01 SMAC will
attempt to re-transmitt a packet if "AA" is enabled and no
acknowledgement message is received in the expected time frame.
Software Architecture
2-15

Advertisement

Table of Contents
loading

Table of Contents