nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_802154_received_timestamp()

void nrf_802154_received_timestamp ( uint8_t *  p_data,
uint8_t  length,
int8_t  power,
uint8_t  lqi,
uint32_t  time 
)

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

Notifies that a frame was received at a given time.

This function works like nrf_802154_received and adds a timestamp to the parameter list.

Note
The received frame usually contains a timestamp. However, due to a race condition, the timestamp may be invalid. This erroneous situation is indicated by the NRF_802154_NO_TIMESTAMP value of the time parameter.
This callout is called by the default implementation of nrf_802154_received .
Parameters
[in]p_dataPointer to a buffer that contains only the payload of the received frame (PSDU without FCS).
[in]lengthLength of the received payload.
[in]powerRSSI of the received frame.
[in]lqiLQI of the received frame.
[in]timeTimestamp taken when the last symbol of the frame was received, in microseconds (us), or NRF_802154_NO_TIMESTAMP if the timestamp is invalid.