nRF51 IoT SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
coap_option_t Struct Reference

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.