pub unsafe extern "C" fn otLinkSetWakeupListenParameters(
aInstance: *mut otInstance,
aInterval: u32,
aDuration: u32,
) -> otError
Expand description
Set the wake-up listen parameters.
The listen interval must be greater than the listen duration. The listen duration must be greater or equal than the minimum supported.
Requires OPENTHREAD_CONFIG_WAKEUP_END_DEVICE_ENABLE
.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aInterval The wake-up listen interval in microseconds. @param[in] aDuration The wake-up listen duration in microseconds.
@retval OT_ERROR_NONE Successfully set the wake-up listen parameters. @retval OT_ERROR_INVALID_ARGS Invalid wake-up listen parameters.