pub unsafe extern "C" fn otThreadSetNonPreferredChannelsResetCallback(
aInstance: *mut otInstance,
aCallback: otThreadNonPreferredChannelsResetCallback,
aContext: *mut c_void,
)
Expand description
Sets the callback to notify when a Network Diagnostic Reset request message is received for the
OT_NETWORK_DIAGNOSTIC_TLV_NON_PREFERRED_CHANNELS
TLV.
A subsequent call to this function will replace the previously set callback.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aCallback The callback function pointer. Can be NULL. @param[in] aContext A pointer to application-specific context used with @p aCallback.