openthread_sys

Function otCoapSecureSetDefaultHandler

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

Sets the default handler for unhandled CoAP Secure requests.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aHandler A function pointer that shall be called when an unhandled request arrives. @param[in] aContext A pointer to arbitrary context information. May be NULL if not used.