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

◆ nrf_802154_trx_receive_frame_bcmatched()

uint8_t nrf_802154_trx_receive_frame_bcmatched ( uint8_t bcc)
extern

Handler called during reception of a frame, when given number of bytes is received.

This handler is called from an ISR when given number of bytes (see nrf_802154_trx_receive_frame) have been just received.

Note
If the handler decides to abort receive by a call to nrf_802154_trx_abort or nrf_802154_trx_disable it must return value equal to original bcc parameter passed.
Parameters
[in]bccNumber of bytes that have been already received.
Returns
Value greater than original value of bcc parameter will cause nrf_802154_trx_receive_frame_bcmatched to be called again when further data arrive. Value less than or equal to original bcc value will not cause this behavior.