nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_802154_received_timestamp_raw()

void nrf_802154_received_timestamp_raw ( uint8_t *  p_data,
int8_t  power,
uint8_t  lqi,
uint64_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_raw 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.
Parameters
[in]p_dataPointer to a buffer that contains PHR and PSDU of the received frame. The first byte in the buffer is the length of the frame (PHR). The following bytes contain the frame itself (PSDU). The length byte (PHR) includes FCS. FCS is already verified by the hardware and may be modified by the hardware.
[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.