[][src]Function openthread_sys::otCoapAddResource

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

This function adds a resource to the CoAP server.

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