pub unsafe extern "C" fn otLinkSetSupportedChannelMask(
    aInstance: *mut otInstance,
    aChannelMask: u32
) -> otError
Expand description

Set the supported channel mask of MAC layer.

Succeeds only when Thread protocols are disabled.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aChannelMask The supported channel mask (bit 0 or lsb mapping to channel 0, and so on).

@retval OT_ERROR_NONE Successfully set the supported channel mask. @retval OT_ERROR_INVALID_STATE Thread protocols are enabled.