openthread_sys

Function otThreadSetDiscoveryRequestCallback

Source
pub unsafe extern "C" fn otThreadSetDiscoveryRequestCallback(
    aInstance: *mut otInstance,
    aCallback: otThreadDiscoveryRequestCallback,
    aContext: *mut c_void,
)
Expand description

Sets a callback to receive MLE Discovery Request data.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aCallback A pointer to a function that is called upon receiving an MLE Discovery Request message. @param[in] aContext A pointer to callback application-specific context.