otCoapBlockwiseResource

#include <coap.h>

Represents a CoAP resource with block-wise transfer.

Summary

Public attributes

mContext
void *
Application-specific context.
mHandler
The callback for handling a received request.
mNext
The next CoAP resource in the list.
mReceiveHook
The callback for handling incoming block-wise transfer.
mTransmitHook
The callback for handling outgoing block-wise transfer.
mUriPath
const char *
The URI Path string.

Public attributes

mContext

void * otCoapBlockwiseResource::mContext

Application-specific context.

mHandler

otCoapRequestHandler otCoapBlockwiseResource::mHandler

The callback for handling a received request.

mNext

struct otCoapBlockwiseResource * otCoapBlockwiseResource::mNext

The next CoAP resource in the list.

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.

mUriPath

const char * otCoapBlockwiseResource::mUriPath

The URI Path string.

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.