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

Revision:
7:100ab85cc6d7
Parent:
6:7b3abd00c921
Child:
8:c4069091afa1
--- a/RN2483.cpp	Mon Nov 21 20:29:50 2016 +0000
+++ b/RN2483.cpp	Tue Nov 22 10:39:17 2016 +0000
@@ -320,12 +320,13 @@
 
 /**
 * @brief Looks for an 'OK' response from the RN2483
+* @param Timeout Period
 * @return Returns true if the string is received before a timeout.
 * Returns false if a timeout occurs or if another string is received.
 */
-bool RN2483::expectOK()
+bool RN2483::expectOK(uint16_t timeout)
 {
-    return expectString(STR_RESULT_OK);
+    return expectString(STR_RESULT_OK, timeout);
 }
 
 /**
@@ -552,7 +553,8 @@
 bool RN2483::saveConfiguration()
 {
     // Forced to return true currently.
-    sendCommand(STR_CMD_SAVE);
+    _RN2483.printf(STR_CMD_SAVE);
+    _RN2483.printf(CRLF);
     return true;
 }