openthread_sys

Function otChannelManagerSetAutoChannelSelectionEnabled

Source
pub unsafe extern "C" fn otChannelManagerSetAutoChannelSelectionEnabled(
    aInstance: *mut otInstance,
    aEnabled: bool,
)
Expand description

Enables or disables the auto-channel-selection functionality for network channel.

When enabled, ChannelManager will periodically invoke a RequestChannelSelect(false). The period interval can be set by otChannelManagerSetAutoChannelSelectionInterval().

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aEnabled Indicates whether to enable or disable this functionality.