3.2.7 MCPS_DataReq_t Struct

C

typedef struct mcps_data_req_tag {
    /** This identifies the message as \ref MCPS_DATA_REQUEST */
    enum msg_code cmdcode;
    
    /* The source addressing mode for this primitive and subsequent MPDU.
    * This value can take one of the following values: 0 x 00 = no address
    * (addressingfields omitted). 0 x 01 = reserved. 0 x 02 = 16 bit short
    *  address. 0 x 03 = 64 bit extended address.
    uint8_t SrcAddrMode;
    
    /** The destination addressing mode for this primitive and subsequent 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 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;
    
    /** The handle associated with the MSDU to be transmitted by the MAC
    * sublayer entity. */
    uint8_t msduHandle;
    
    /** The transmission options for this MSDU. These are a bitwise OR of one
    * or more of the following:
    * 0 x 01 = acknowledged transmission.
    * 0 x 04 = indirect transmission. */
    uint8_t TxOptions;

#if ((defined MAC_SECURITY_ZIP)  || (defined MAC_SECURITY_2006))
    /** The security level to be used. */
    uint8_t SecurityLevel;
    
    /* The mode used to identify the key to be used. */
    uint8_t KeyIdMode;
    
    /** The KeySource to find the key. */
    uint8_t *KeySource;
    
    /** The index of the key to be used. */
    uint8_t KeyIndex;

#endif
    /** The number of octets contained in the MSDU to be transmitted by the
    * MAC sublayer entity. */
    uint8_t msduLength;
    
    /** The set of octets forming the MSDU to be transmitted by the MAC
    * sublayer entity. */
    uint8_t *msdu;
} MCPS_DataReq_t;

Summary

MCPS_DataReq_t holds the MCPS-DATA.request message structure.

Description

None

Remarks

None