coap_hdr_t Struct Reference

Raw CoAP PDU header structure. More...

Detailed Description

Raw CoAP PDU header structure.

Definition at line 203 of file nanocoap.h.

#include <net/nanocoap.h>

Data Fields

uint8_t ver_t_tkl
 version, token, token length
 
uint8_t code
 CoAP code (e.g.m 205)
 
uint16_t id
 Req/resp ID.
 
uint8_t data []
 convenience pointer to payload start
 

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