Library for handling subset of coap functionality by radio transmitter.

Dependencies:   nRF24L01P cantcoap

Dependents:   server2

Revision:
5:b8d21be6b36c
Parent:
4:9f635ab44d8e
--- a/radioWrapper.cpp	Mon Jan 21 18:52:22 2019 +0000
+++ b/radioWrapper.cpp	Fri Jan 25 02:10:16 2019 +0000
@@ -11,7 +11,7 @@
     }
     int ret = -1;
     while(t.read_ms() < timeout) {
-        for(int i = 0; i< 3; ++i) {
+        for(int i = 1; i <= 3; ++i) {
             ret = readFromPipe(buffer, len, i);
             if(ret >0) {
                 *pipe = i;