A mbed library for the RN2483. Heavily based on the Sodaq_RN2483 library for Arduino (https://github.com/SodaqMoja/Sodaq_RN2483). This is currently under-going initial testing, but seems to work! Tested on a NRF51 and FRDM K64F.
Dependents: rn2483-TestProgram
Diff: RN2483.cpp
- Revision:
- 6:7b3abd00c921
- Parent:
- 5:eb983e9336a7
- Child:
- 7:100ab85cc6d7
--- a/RN2483.cpp Mon Nov 21 20:24:22 2016 +0000 +++ b/RN2483.cpp Mon Nov 21 20:29:50 2016 +0000 @@ -824,7 +824,6 @@ size_t RN2483::readBytesUntil(char terminator, char *buffer, size_t bytesToRead) { if (bytesToRead < 1) return 0; - //memset(buffer, '\0', ((sizeof buffer) / (sizeof *buffer))); size_t index = 0; while (index < (bytesToRead - 1 )) { int c = timedRead(1000);