openthread_sys

Function otCoapAddResource

Source
pub unsafe extern "C" fn otCoapAddResource(
    aInstance: *mut otInstance,
    aResource: *mut otCoapResource,
)
Expand description

Adds a resource to the CoAP server.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aResource A pointer to the resource.