nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_802154_buffer_free_immediately_raw()

bool nrf_802154_buffer_free_immediately_raw ( uint8_t * p_data)

#include <nrf_802154/common/include/nrf_802154.h>

Notifies the driver that the buffer containing the received frame is not used anymore.

Note
The buffer pointed to by p_data may be modified by this function.
This function can be safely called from any context. If the driver is busy processing a request called from a context with lower priority, this function returns false and the caller should free the buffer later.
This function is available if NRF_802154_USE_RAW_API is enabled.
Parameters
[in]p_dataPointer to the buffer containing the received data that is no longer needed by the higher layer.
Return values
trueBuffer was freed successfully.
falseBuffer cannot be freed right now due to ongoing operation.