nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_802154_receive_at_cancel()

bool nrf_802154_receive_at_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 radio remains in the receive state, but a window timeout will not be reported.

Parameters
[in]idIdentifier 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 false.
Return values
trueThe delayed reception was scheduled and successfully cancelled.
falseNo delayed reception was scheduled.