openthread_sys

Function otCoapSecureSetClientConnectedCallback

Source
pub unsafe extern "C" fn otCoapSecureSetClientConnectedCallback(
    aInstance: *mut otInstance,
    aHandler: otHandleCoapSecureClientConnect,
    aContext: *mut c_void,
)
Expand description

Sets the connected callback to indicate, when a Client connect to the CoAP Secure server.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aHandler A pointer to a function that will be called once DTLS connection is established. @param[in] aContext A pointer to arbitrary context information. May be NULL if not used.