From 640ede340e9803b789b39847acf976830ba92bf0 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Wed, 7 Apr 2021 11:44:58 +0100 Subject: [PATCH] COAP_INVALID_TID: Inform this is deprecated and to use COAP_INVALID_MID Doxygen comment only, but allow COAP_INVALID_TID to still be used. --- include/coap2/pdu.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/coap2/pdu.h b/include/coap2/pdu.h index a97c77eb..57cb04fc 100644 --- a/include/coap2/pdu.h +++ b/include/coap2/pdu.h @@ -246,6 +246,12 @@ typedef int coap_mid_t; /** Indicates an invalid message id. */ #define COAP_INVALID_MID -1 +/** + * Indicates an invalid message id. + * @deprecated Use COAP_INVALID_MID instead. + */ +#define COAP_INVALID_TID COAP_INVALID_MID + /** * Indicates that a response is suppressed. This will occur for error * responses if the request was received via IP multicast.