[][src]Function openthread_sys::otChannelManagerRequestChannelChange

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

This function 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 to this function 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.