From fa8c0782349383a8c3e6fdc281af08f314274020 Mon Sep 17 00:00:00 2001 From: hirotakaster Date: Thu, 29 Mar 2018 17:04:55 +0900 Subject: [PATCH] send double message. --- coap.cpp | 5 +++-- library.properties | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/coap.cpp b/coap.cpp index bf09e59..b36788e 100644 --- a/coap.cpp +++ b/coap.cpp @@ -278,11 +278,12 @@ bool Coap::loop() { } } + /* this type check did not use. if (packet.type == COAP_CON) { // send response - sendResponse(_udp->remoteIP(), _udp->remotePort(), packet.messageid); - + sendResponse(_udp->remoteIP(), _udp->remotePort(), packet.messageid); } + */ // next packet packetlen = _udp->parsePacket(); diff --git a/library.properties b/library.properties index 0d6a421..8e33b06 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=CoAP simple library -version=1.3.10 +version=1.3.11 author=Hirotaka Niisato maintainer=Hirotaka Niisato sentence=Simple CoAP client/server library for generic Arduino Client hardware.