From 2c7efb77b9f498fc8906d15f0576e70f49c86688 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Wed, 16 Nov 2016 21:27:01 +0100 Subject: [PATCH] pdu.h: fixed option number for No-Reponse (RFC 7967) When the No-Response became RFC 7967, the numeric value was changed to better reflect its characteristics. This modification fixes the reference in the documentation the option value. --- include/coap/pdu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/coap/pdu.h b/include/coap/pdu.h index 7fec87ae..7ed482de 100644 --- a/include/coap/pdu.h +++ b/include/coap/pdu.h @@ -81,9 +81,9 @@ #define COAP_OPTION_BLOCK2 23 /* C, uint, 0--3 B, (none) */ #define COAP_OPTION_BLOCK1 27 /* C, uint, 0--3 B, (none) */ -/* selected option types from draft-tcs-coap-no-response-option-11 */ +/* selected option types from RFC 7967 */ -#define COAP_OPTION_NORESPONSE 284 /* N, uint, 0--1 B, 0 */ +#define COAP_OPTION_NORESPONSE 258 /* N, uint, 0--1 B, 0 */ #define COAP_MAX_OPT 65535 /**< the highest option number we know */