Library for handling subset of coap functionality by radio transmitter.
Dependencies: nRF24L01P cantcoap
Diff: coapServer.cpp
- Revision:
- 5:b8d21be6b36c
- Parent:
- 4:9f635ab44d8e
diff -r 9f635ab44d8e -r b8d21be6b36c coapServer.cpp --- a/coapServer.cpp Mon Jan 21 18:52:22 2019 +0000 +++ b/coapServer.cpp Fri Jan 25 02:10:16 2019 +0000 @@ -36,7 +36,7 @@ } else if(ret > 0) { CoapPDU request(requestBuffer, radioWrapper.packetSize(), ret); if (request.validate()) { - request.printHuman(); + //request.printHuman(); for (int i = 0; i < idQ.size(); ++i) { // check if messageId is known if(idQ[i] == request.getMessageID()) { if(request.getCode() == CoapPDU::COAP_POST) { // dla posta odpowiadamy pustym