Library for handling subset of coap functionality by radio transmitter.
Dependencies: nRF24L01P cantcoap
Diff: radioWrapper.h
- Revision:
- 2:c3ca8b8526e0
- Parent:
- 1:1d936c763440
- Child:
- 4:9f635ab44d8e
--- a/radioWrapper.h Sun Jan 20 13:48:02 2019 +0000 +++ b/radioWrapper.h Sun Jan 20 23:27:10 2019 +0000 @@ -12,7 +12,7 @@ class RadioWrapper { private: - nRF24L01P radio; // mosi, miso, sck, csn, ce, irq + nRF24L01P radio; // mosi, miso, sck, csn, ce, irq public: RadioWrapper(int channel, unsigned long long rx_address, unsigned long long tx_address); @@ -21,7 +21,7 @@ return 32; } - /*a + /* read bytes and saves them to given buffer turncating it. @len @return number of read bytes, -1 if error