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 406 of file include/openthread/coap.h

mHandler#

otCoapRequestHandler otCoapResource::mHandler

The callback for handling a received request.


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

mContext#

void* otCoapResource::mContext

Application-specific context.


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

mNext#

struct otCoapResource* otCoapResource::mNext

The next CoAP resource in the list.


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