nrfxlib API 2.8.99
|
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.
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.[in] | rx_time | Absolute time used by the SL Timer, in microseconds (us). |
[in] | timeout | Reception timeout (counted from rx_time ) in microseconds. |
[in] | channel | Number of the channel on which the frame is to be received. |
[in] | id | Identifier 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. |
true | The reception procedure was scheduled. |
false | The driver could not schedule the reception procedure. |