![]() |
nrfxlib API 3.3.99
|
| bool nrf_802154_receive_at_scheduled_cancel | ( | uint32_t | id | ) |
#include <nrf_802154/common/include/nrf_802154.h>
Cancels a delayed reception scheduled by a call to nrf_802154_receive_at.
If the receive window has been scheduled but has not started yet, this function prevents entering the receive window. If the receive window has been scheduled and has already started, the receive window is not affected and will continue until its scheduled timeout.
The function also returns success when no window with given ID is scheduled and is not currently ongoing.
| [in] | id | Identifier of the delayed reception window to be cancelled. If the provided value does not refer to any scheduled or active receive window, the function returns true. |
| true | The delayed reception was scheduled and successfully cancelled or the receive window was not scheduled at all. |
| false | The scheduled window is currently ongoing. |