libcoap  4.1.1
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Data Fields
coap_pdu_t Struct Reference

Header structure for CoAP PDUs. More...

#include <pdu.h>

Data Fields

size_t max_size
 allocated storage for options and data More...
 
coap_hdr_thdr
 
unsigned short max_delta
 highest option number More...
 
unsigned short length
 PDU length (including header, options, data) More...
 
unsigned char * data
 payload More...
 

Detailed Description

Header structure for CoAP PDUs.

Definition at line 206 of file pdu.h.

Field Documentation

unsigned char* coap_pdu_t::data

payload

Definition at line 212 of file pdu.h.

coap_hdr_t* coap_pdu_t::hdr

Definition at line 209 of file pdu.h.

unsigned short coap_pdu_t::length

PDU length (including header, options, data)

Definition at line 211 of file pdu.h.

unsigned short coap_pdu_t::max_delta

highest option number

Definition at line 210 of file pdu.h.

size_t coap_pdu_t::max_size

allocated storage for options and data

Definition at line 207 of file pdu.h.


The documentation for this struct was generated from the following file: