otCoapSetResponseFallback

Function otCoapSetResponseFallback 

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

Sets a fallback handler for CoAP responses not matching any active/pending request.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aHandler A function pointer that shall be called as a fallback for responses without matching active/pending CoAP requests. @param[in] aContext A pointer to arbitrary context information. May be NULL if not used.