Skip to content

Commit

Permalink
send double message.
Browse files Browse the repository at this point in the history
  • Loading branch information
hirotakaster committed Mar 29, 2018
1 parent 284a800 commit fa8c078
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions coap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=CoAP simple library
version=1.3.10
version=1.3.11
author=Hirotaka Niisato <hirotakaster@gmail.com>
maintainer=Hirotaka Niisato <hirotakaster@gmail.com>
sentence=Simple CoAP client/server library for generic Arduino Client hardware.
Expand Down

0 comments on commit fa8c078

Please sign in to comment.