Type Alias otThreadNonPreferredChannelsResetCallback

Source
pub type otThreadNonPreferredChannelsResetCallback = Option<unsafe extern "C" fn(aContext: *mut c_void)>;
Expand description

Callback function pointer to notify when a Network Diagnostic Reset request message is received for the OT_NETWORK_DIAGNOSTIC_TLV_NON_PREFERRED_CHANNELS TLV.

This is used to inform the device to reevaluate the channels that are presently included in the non-preferred channels list and update it if needed based on the reevaluation.

@param[in] aContext A pointer to application-specific context.

Aliased Type§

pub enum otThreadNonPreferredChannelsResetCallback {
    None,
    Some(unsafe extern "C" fn(*mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void))

Some value of type T.