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.


mHandler#

otCoapRequestHandler otCoapResource::mHandler

The callback for handling a received request.


mContext#

void* otCoapResource::mContext

Application-specific context.


mNext#

struct otCoapResource* otCoapResource::mNext

The next CoAP resource in the list.