nRF5 SDK v13.0.0
Data Fields
mcps_data_req_t Struct Reference

MCPS-DATA.request. More...

#include <mac_mcps_data.h>

Data Fields

mac_abstract_req_t service
 
mcps_data_conf_t confirm
 
mac_addr_mode_t src_addr_mode
 
mac_addr_mode_t dst_addr_mode
 
uint16_t dst_pan_id
 
mac_addr_t dst_addr
 
uint8_t msdu_length
 
uint8_t * msdu
 
uint8_t msdu_handle
 
mac_tx_options_t tx_options
 

Detailed Description

MCPS-DATA.request.

The MCPS-DATA.request primitive requests the transfer of a data SPDU (i.e., MSDU) from a local SSCS entity to a single peer SSCS entity.

In accordance with IEEE Std 802.15.4-2006, section 7.1.1.1.

Field Documentation

mcps_data_conf_t mcps_data_req_t::confirm

Confirm to this request.

mac_addr_t mcps_data_req_t::dst_addr

The individual device address of the entity to which the MSDU is being transferred.

mac_addr_mode_t mcps_data_req_t::dst_addr_mode

The destination addressing mode for this primitive and subsequent MPDU. According to 7.1.1.1.1, Table 41.

uint16_t mcps_data_req_t::dst_pan_id

The 16-bit PAN identifier of the entity to which the MSDU is being transferred.

uint8_t* mcps_data_req_t::msdu

The pointer to the set of octets forming the MSDU to be transmitted by the MAC sublayer entity.

Caller must provide enough space for MAC and PHY header before this pointer.

uint8_t mcps_data_req_t::msdu_handle

The handle associated with the MSDU to be transmitted by the MAC sublayer entity.

uint8_t mcps_data_req_t::msdu_length

The number of octets contained in the MSDU to be transmitted by the MAC sublayer entity.

mac_abstract_req_t mcps_data_req_t::service

Do not edit this field.

mac_addr_mode_t mcps_data_req_t::src_addr_mode

The source addressing mode for this primitive and subsequent MPDU. This value can take one of the following values: mac_addr_mode_t 0x00 = no address (addressing fields omitted, see 7.2.1.1.8). 0x01 = reserved. 0x02 = 16-bit short address. 0x03 = 64-bit extended address.

mac_tx_options_t mcps_data_req_t::tx_options

The bits (b0, b1, b2) indicate the transmission options for this MSDU. For b0, 1 = acknowledged transmission, 0 = unacknowledged transmission. For b1, 1 = GTS transmission, 0 = CAP transmission for a beacon-enabled PAN. For b2, 1 = indirect transmission, 0 = direct transmission. For a nonbeacon-enabled PAN, bit b1 should always be set to 0.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated