openthread_sys

Function otChannelManagerRequestChannelChange

Source
pub unsafe extern "C" fn otChannelManagerRequestChannelChange(
    aInstance: *mut otInstance,
    aChannel: u8,
)
Expand description

Requests a Thread network channel change.

The network switches to the given channel after a specified delay (see #otChannelManagerSetDelay()). The channel change is performed by updating the Pending Operational Dataset.

A subsequent call will cancel an ongoing previously requested channel change.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aChannel The new channel for the Thread network.