openthread_sys

Function otChannelManagerSetAutoCslChannelSelectionEnabled

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

Enables or disables the auto-channel-selection functionality for a CSL channel.

Only available with OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE && OPENTHREAD_CONFIG_CHANNEL_MANAGER_CSL_CHANNEL_SELECT_ENABLE. When enabled, ChannelManager will periodically invoke a otChannelManagerRequestCslChannelSelect(). 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.