pub unsafe extern "C" fn otLinkSetWakeupChannel(
aInstance: *mut otInstance,
aChannel: u8,
) -> otError
Expand description
Sets the Wake-up channel.
Requires OPENTHREAD_CONFIG_WAKEUP_COORDINATOR_ENABLE
or OPENTHREAD_CONFIG_WAKEUP_END_DEVICE_ENABLE
.
@param[in] aInstance A pointer to an OpenThread instance.
@param[in] aChannel The Wake-up sample channel. Channel value should be 0
(Set Wake-up Channel unspecified,
which means the device will use the PAN channel) or within the range [1, 10] (if 915-MHz
supported) and [11, 26] (if 2.4 GHz supported).
@retval OT_ERROR_NONE Successfully set the Wake-up channel. @retval OT_ERROR_INVALID_ARGS Invalid @p aChannel.