nrfxlib API 0.1.0
|
void nrf_802154_received | ( | uint8_t * | p_data, |
uint8_t | length, | ||
int8_t | power, | ||
uint8_t | lqi | ||
) |
#include <nrf_802154/common/include/nrf_802154_callouts.h>
Notifies that a frame was received.
p_data
is not modified by the radio driver (and cannot be used to receive a frame) until nrf_802154_buffer_free is called. p_data
can be modified by the function handler (and other modules) until nrf_802154_buffer_free is called. * p_data * v * +-----+-----------------------------------------------------------+------------+ * | PHR | MAC Header and payload | FCS | * +-----+-----------------------------------------------------------+------------+ * | | * | <------------------ length -----------------------------> | *
[in] | p_data | Pointer to a buffer that contains only the payload of the received frame (PSDU without FCS). |
[in] | length | Length of the received payload. |
[in] | power | RSSI of the received frame. |
[in] | lqi | LQI of the received frame. |