nrfxlib API 2.8.99
|
bool nrf_802154_csma_ca_start | ( | uint8_t * | p_data, |
const nrf_802154_transmit_csma_ca_metadata_t * | p_metadata ) |
#include <nrf_802154/driver/src/mac_features/nrf_802154_csma_ca.h>
Starts the CSMA-CA procedure for the transmission of a given frame.
If the CSMA-CA procedure is successful and the frame is transmitted, the nrf_802154_tx_started() function is called. If the procedure failed and the frame cannot be transmitted due to busy channel, the nrf_802154_transmit_failed() function is called.
[in] | p_data | Pointer to a buffer the contains PHR and PSDU of the frame that is to be transmitted. |
[in] | p_metadata | Pointer to metadata structure. Contains detailed properties of data to transmit. |
true | The function always returns true for compatibility reasons |