nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_802154_tx_work_buffer_enable_for()

uint8_t * nrf_802154_tx_work_buffer_enable_for ( uint8_t * p_original_frame)

Enables work buffer for provided frame.

In order to avoid performing potentially hazardous operations on the original buffer containing data to be transmitted, a work buffer can be allocated to the original frame. After all necessary modifications are performed on the work buffer, its contents can be copied back to the original buffer so that its state is always well-defined.

Precondition
Before enabling the work buffer must be initialized with nrf_802154_tx_work_buffer_reset
Parameters
[in]p_original_framePointer to the original frame to be transmitted.
Returns
Pointer to a work buffer bound to p_original_frame.