coap_pkt_t Struct Reference

CoAP PDU parsing context structure. More...

Detailed Description

CoAP PDU parsing context structure.

Definition at line 248 of file nanocoap.h.

#include <net/nanocoap.h>

Data Fields

coap_hdr_thdr
 pointer to raw packet
 
uint8_t * token
 pointer to token
 
uint8_t * payload
 pointer to payload
 
uint16_t payload_len
 length of payload
 
uint16_t options_len
 length of options array
 
coap_optpos_t options [NANOCOAP_NOPTS_MAX]
 option offset array
 

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