#include <nrf_802154/common/include/nrf_802154_callouts.h>
Notifies that a frame was transmitted.
- Note
- If ACK was requested for the transmitted frame, this function is called after a proper ACK is received. If ACK was not requested, this function is called just after transmission has ended.
-
The buffer pointed to by
nrf_802154_transmit_done_metadata_t::data.transmitted.p_ack
is not modified by the radio driver (and cannot be used to receive a frame) until nrf_802154_buffer_free_raw is called.
-
The buffer pointed to by
nrf_802154_transmit_done_metadata_t::data.transmitted.p_ack
may be modified by the function handler (and other modules) until nrf_802154_buffer_free_raw is called.
-
nrf_802154_transmit_done_metadata_t::data.transmitted.time
granularity depends on the granularity of the timer driver in the platform/timer directory.
-
This callout is called by the nRF 802.15.4 Radio Driver if NRF_802154_USE_RAW_API is enabled.
- Parameters
-
[in] | p_frame | Pointer to a buffer that contains PHR and PSDU of the transmitted frame. |
[in] | p_metadata | Pointer to a metadata structure describing frame passed in p_frame . |