Structure that includes options in outgoing requests and responses.

#include < coap.h >

Data Fields

EmberCoapOptionType type
const uint8_t * value
uint16_t valueLength
uint32_t intValue

Calls that send messages can be passed a pointer to any array of EmberCoapOption s.

Field Documentation

uint32_t EmberCoapOption::intValue

The value of the option interpreted as a uint32_t.

EmberCoapOptionType EmberCoapOption::type

The type of the option.

const uint8_t* EmberCoapOption::value

A pointer to the option's value.

uint16_t EmberCoapOption::valueLength

Number of bytes in the option's value.

The documentation for this struct was generated from the following file:
  • coap.h