Umar Naeem / C027_SupportTest_coapp

Dependencies:   C027_Support mbed-dev

Fork of C027_SupportTest_coap by Umar Naeem

Embed: (wiki syntax)

« Back to documentation index

coap_msg_t Struct Reference

coap_msg_t Struct Reference

Message structure. More...

#include <coap_msg.h>

Data Fields

unsigned ver
 CoAP version.
coap_msg_type_t type
 Message type.
unsigned token_len
 Token length.
unsigned code_class
 Code class.
unsigned code_detail
 Code detail.
unsigned msg_id
 Message ID.
char token [COAP_MSG_MAX_TOKEN_LEN]
 Token value.
coap_msg_op_list_t op_list
 Option list.
char * payload
 Pointer to a buffer containing the payload.
size_t payload_len
 Length of the payload.

Detailed Description

Message structure.

Definition at line 208 of file coap_msg.h.


Field Documentation

unsigned code_class

Code class.

Definition at line 213 of file coap_msg.h.

unsigned code_detail

Code detail.

Definition at line 214 of file coap_msg.h.

unsigned msg_id

Message ID.

Definition at line 215 of file coap_msg.h.

Option list.

Definition at line 217 of file coap_msg.h.

char* payload

Pointer to a buffer containing the payload.

Definition at line 218 of file coap_msg.h.

size_t payload_len

Length of the payload.

Definition at line 219 of file coap_msg.h.

char token[COAP_MSG_MAX_TOKEN_LEN]

Token value.

Definition at line 216 of file coap_msg.h.

unsigned token_len

Token length.

Definition at line 212 of file coap_msg.h.

Message type.

Definition at line 211 of file coap_msg.h.

unsigned ver

CoAP version.

Definition at line 210 of file coap_msg.h.