Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
Representation of a CoAP Packet. More...
#include <coap.h>
Data Fields | |
uint8_t * | data |
User allocated buffer. | |
uint16_t | offset |
CoAP lib maintains offset while adding data. | |
uint16_t | max_len |
Max CoAP packet data length. | |
uint8_t | hdr_len |
CoAP header length. | |
uint16_t | opt_len |
Total options length (delta + len + value) | |
uint16_t | delta |
Used for delta calculation in CoAP packet. | |
Representation of a CoAP Packet.
uint8_t* coap_packet::data |
User allocated buffer.
uint16_t coap_packet::delta |
Used for delta calculation in CoAP packet.
uint8_t coap_packet::hdr_len |
CoAP header length.
uint16_t coap_packet::max_len |
Max CoAP packet data length.
uint16_t coap_packet::offset |
CoAP lib maintains offset while adding data.
uint16_t coap_packet::opt_len |
Total options length (delta + len + value)