Represents a CoAP resource with block-wise transfer.

Public Attributes#

const char *

The URI Path string.

The callback for handling a received request.

The callback for handling incoming block-wise transfer.

The callback for handling outgoing block-wise transfer.

void *

Application-specific context.

The next CoAP resource in the list.

Public Attribute Documentation#

mUriPath#

const char* otCoapBlockwiseResource::mUriPath

The URI Path string.


mHandler#

otCoapRequestHandler otCoapBlockwiseResource::mHandler

The callback for handling a received request.


mReceiveHook#

otCoapBlockwiseReceiveHook otCoapBlockwiseResource::mReceiveHook

The callback for handling incoming block-wise transfer.

This callback is available when OPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLE configuration is enabled.


mTransmitHook#

otCoapBlockwiseTransmitHook otCoapBlockwiseResource::mTransmitHook

The callback for handling outgoing block-wise transfer.

This callback is available when OPENTHREAD_CONFIG_COAP_BLOCKWISE_TRANSFER_ENABLE configuration is enabled.


mContext#

void* otCoapBlockwiseResource::mContext

Application-specific context.


mNext#

struct otCoapBlockwiseResource* otCoapBlockwiseResource::mNext

The next CoAP resource in the list.