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

◆ nrf_802154_delayed_trx_receive()

bool nrf_802154_delayed_trx_receive ( uint64_t rx_time,
uint32_t timeout,
uint8_t channel,
uint32_t id )

#include <nrf_802154/driver/src/mac_features/nrf_802154_delayed_trx.h>

Requests the reception of a frame at a given time.

If the request is accepted and a frame is received during the defined time slot, the nrf_802154_received function is called. If the request is rejected due to a denied timeslot request or the reception timeout expires, the nrf_802154_receive_failed function is called.

Note
The identifier id must be unique. It must not have the same value as identifiers of other delayed timeslots active at the moment, so that it can be mapped unambiguously to an active delayed operation if the request is successful. In particular, none of the reserved identifiers can be used.
Parameters
[in]rx_timeAbsolute time used by the SL Timer, in microseconds (us).
[in]timeoutReception timeout (counted from rx_time) in microseconds.
[in]channelNumber of the channel on which the frame is to be received.
[in]idIdentifier of the scheduled reception window. If the reception has been scheduled successfully, the value of this parameter can be used in nrf_802154_delayed_trx_receive_cancel to cancel it.
Return values
trueThe reception procedure was scheduled.
falseThe driver could not schedule the reception procedure.