From 9a0f9735304bebd7f76fc0a1566beca890120497 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Mon, 30 Nov 2020 07:32:12 -0800 Subject: [PATCH] [coap] update OPENTHREAD_CONFIG_COAP_ACK_TIMEOUT error message (#5866) --- src/core/config/openthread-core-config-check.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/core/config/openthread-core-config-check.h b/src/core/config/openthread-core-config-check.h index 308bd5265..d22570850 100644 --- a/src/core/config/openthread-core-config-check.h +++ b/src/core/config/openthread-core-config-check.h @@ -488,7 +488,12 @@ #ifdef OPENTHREAD_CONFIG_COAP_ACK_TIMEOUT #error \ - "OPENTHREAD_CONFIG_COAP_ACK_TIMEOUT (in seconds) was replaced by OPENTHREAD_CONFIG_COAP_ACK_TIMEOUT_MILLIS (in milliseconds)" + "OPENTHREAD_CONFIG_COAP_ACK_TIMEOUT was removed. Use otCoapSendRequestWithParameters to configure CoAP transmission parameters." +#endif + +#ifdef OPENTHREAD_CONFIG_COAP_ACK_TIMEOUT_MILLIS +#error \ + "OPENTHREAD_CONFIG_COAP_ACK_TIMEOUT_MILLIS was removed. Use otCoapSendRequestWithParameters to configure CoAP transmission parameters." #endif #if OPENTHREAD_CONFIG_BACKBONE_ROUTER_ENABLE