oic; increase default coap response timeout to 3 secs.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/4c74ad59 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/4c74ad59 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/4c74ad59 Branch: refs/heads/develop Commit: 4c74ad591cdba0df8b57186a6255090c2d726c9d Parents: a82bf5e Author: Marko Kiiskila <ma...@runtime.io> Authored: Thu Jan 12 17:38:15 2017 -0800 Committer: Marko Kiiskila <ma...@runtime.io> Committed: Thu Jan 12 17:38:15 2017 -0800 ---------------------------------------------------------------------- net/oic/src/messaging/coap/constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/4c74ad59/net/oic/src/messaging/coap/constants.h ---------------------------------------------------------------------- diff --git a/net/oic/src/messaging/coap/constants.h b/net/oic/src/messaging/coap/constants.h index 6279a17..84b9993 100644 --- a/net/oic/src/messaging/coap/constants.h +++ b/net/oic/src/messaging/coap/constants.h @@ -41,7 +41,7 @@ extern "C" { #define COAP_DEFAULT_PORT 5683 #define COAP_DEFAULT_MAX_AGE 60 -#define COAP_RESPONSE_TIMEOUT 2 +#define COAP_RESPONSE_TIMEOUT 3 #define COAP_RESPONSE_RANDOM_FACTOR 1.5 #define COAP_MAX_RETRANSMIT 4