nRF5 SDK for Thread and Zigbee v4.0.0
Functions
CSMA-CA procedure

Functions

void nrf_802154_transmit_csma_ca (const uint8_t *p_data, uint8_t length)
 Performs the CSMA-CA procedure and transmits a frame in case of success. More...
 

Detailed Description

Function Documentation

void nrf_802154_transmit_csma_ca ( const uint8_t *  p_data,
uint8_t  length 
)

Performs the CSMA-CA procedure and transmits a frame in case of success.

The end of the CSMA-CA procedure is notified by nrf_802154_transmitted or nrf_802154_transmit_failed.

Note
The driver may be configured to automatically time out waiting for an ACK frame depending on NRF_802154_ACK_TIMEOUT_ENABLED. If the automatic ACK timeout is disabled, the CSMA-CA procedure does not time out waiting for an ACK frame if a frame with the ACK request bit set was transmitted. The MAC layer is expected to manage the timer to time out waiting for the ACK frame. This timer can be started by nrf_802154_tx_started. When the timer expires, the MAC layer is expected to call nrf_802154_receive or nrf_802154_sleep to stop waiting for the ACK frame.
Parameters
[in]p_dataPointer to the frame to transmit. See also nrf_802154_transmit.
[in]lengthLength of the given frame. See also nrf_802154_transmit.

Documentation feedback | Developer Zone | Subscribe | Updated