3.2.8 MCPS_DataInd_t Struct
C
typedef struct mcps_data_ind_tag { /** This identifies the message as \ref MCPS_DATA_INDICATION */ enum msg_code cmdcode; /** The source addressing mode for this primitive corresponding to the received MPDU. This value can take one of the following values: 0 x 00 = no address (addressing fields omitted). 0 x 01 = reserved. 0 x 02 = 16 bit short address. 0 x 03 = 64 bit extended address. */ uint8_t SrcAddrMode; /** The 16 bit PAN identifier of the entity from which the MSDU was received. */ uint16_t SrcPANId; /** The individual device address of the entity from which the MSDU was received. */ uint64_t SrcAddr; /** The destination addressing mode for this primitive corresponding to the received MPDU. This value can take one of the following values: 0 x 00 = no address (addressing fields omitted). 0 x 01 = reserved. 0 x 02 = 16 bit short device address. 0 x 03 = 64 bit extended device address. */ uint8_t DstAddrMode; /** The 16 bit PAN identifier of the entity to which the MSDU is being transferred. */ uint16_t DstPANId; /* The individual device address of the entity to which the MSDU is being transferred. */ uint64_t DstAddr; /** LQI value measured during reception of the MPDU. Lower values represent lower LQI. */ uint8_t mpduLinkQuality; /** The DSN of the received data frame. */ uint8_t DSN; #ifdef ENABLE_TSTAMP /** Optional. The time, in symbols, at which the data were received The symbol boundary is described by macSyncSymbolOffset. This is a 24-bit value, and the precision of this value shall be a minimum of 20 bits, with the lowest 4 bits being the least significant.*/ uint32_t Timestamp; #endif #if ((defined MAC_SECURITY_ZIP) || (defined MAC_SECURITY_2006)) /** The security level purportedly used by the received data frame. */ uint8_t SecurityLevel; /** The mode used to identify the key purportedly used by the originator of the received frame. */ uint8_t KeyIdMode; /** The index of the key purportedly used by the originator of the received frame. */ uint8_t KeyIndex; #endif /** The number of octets contained in the MSDU being indicated by the MAC sublayer entity. */ uint8_t msduLength; /** The set of octets forming the MSDU being indicated by the MAC sublayer entity. */ uint8_t *msdu; } MCPS_DataInd_t;
Summary
MCPS_DataInd_t holds MCPS-DATA.indication message structure
Description
None
Remarks
None