coap_pkt_t Struct Reference

CoAP PDU parsing context structure. More...

Detailed Description

CoAP PDU parsing context structure.

Definition at line 185 of file nanocoap.h.

#include <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 [CONFIG_NANOCOAP_NOPTS_MAX]
 option offset array

 

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