Represents a CoAP resource.

Public Attributes#

const char *

The URI Path string.

The callback for handling a received request.

void *

Application-specific context.

The next CoAP resource in the list.

Public Attribute Documentation#

mUriPath#

const char* otCoapResource::mUriPath

The URI Path string.


Definition at line 417 of file include/openthread/coap.h

mHandler#

otCoapRequestHandler otCoapResource::mHandler

The callback for handling a received request.


Definition at line 418 of file include/openthread/coap.h

mContext#

void* otCoapResource::mContext

Application-specific context.


Definition at line 419 of file include/openthread/coap.h

mNext#

struct otCoapResource* otCoapResource::mNext

The next CoAP resource in the list.


Definition at line 420 of file include/openthread/coap.h