[][src]Function openthread_sys::otCoapSecureSetDefaultHandler

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

This function 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.