31#ifndef _COAP_MESSAGE_H
32#define _COAP_MESSAGE_H
39#ifndef COAP_MAX_MSG_SIZE
40 #define COAP_MAX_MSG_SIZE 1152
41#elif (COAP_MAX_MSG_SIZE < 16)
42 #error COAP_MAX_MSG_SIZE parameter is not valid
57 uint8_t buffer[COAP_MAX_MSG_SIZE];
66error_t coapParseMessageHeader(
const uint8_t *p,
size_t length,
87bool_t coapCompareToken(
const CoapMessageHeader *header1,
88 const CoapMessageHeader *header2);
Definitions common to CoAP client and server.
CoapMessageType
CoAP message types.
Definition coap_common.h:88
CoapCode
CoAP method and response codes.
Definition coap_common.h:113
error_t
Error codes.
Definition error.h:43
CoAP message.
Definition coap_message.h:56