coap_option_t

nRF5 SDK v15.0.0

Structure to hold a CoAP option. More...

#include <coap_api.h>

Data Fields

uint16_t number
uint16_t length
uint8_t * p_data

Detailed Description

Structure to hold a CoAP option.

Field Documentation

uint16_t coap_option_t::length

Option length (including the extended length value in any).

uint16_t coap_option_t::number

Option number (including the extended delta value if any).

uint8_t* coap_option_t::p_data

Pointer to the memory where the data of the option is located.

  • components/iot/coap/coap_api.h