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

#include <pdu.h>

Data Fields

unsigned int token_length:4
unsigned int type:2
unsigned int version:2
unsigned int code:8
unsigned short id
unsigned char token []

Detailed Description

Definition at line 168 of file pdu.h.

Field Documentation

unsigned int coap_hdr_t::code

Definition at line 172 of file pdu.h.

unsigned short coap_hdr_t::id

Definition at line 173 of file pdu.h.

unsigned char coap_hdr_t::token[]

Definition at line 174 of file pdu.h.

unsigned int coap_hdr_t::token_length

Definition at line 169 of file pdu.h.

unsigned int coap_hdr_t::type

Definition at line 170 of file pdu.h.

unsigned int coap_hdr_t::version

Definition at line 171 of file pdu.h.

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