Library for LoRa communication using MultiTech MDOT.

Dependents:   mDot_test_rx adc_sensor_lora mDotEVBM2X mDot_AT_firmware ... more

Function documentation is in mDot.h

Warning

Using libmDot 2.0.3 and above with an existing application may require a change in the MacEvent handler!
Compile applications with mbed v121 and mbed-rtos v116 libraries.

In AT Command Firmware remove line 803.

CommandTerminal/CommandTerminal.cpp

        delete[] info->RxBuffer;

Likewise, if your application is handling events from the library asynchronously.

Revision:
3:5e805b567124
Parent:
2:6385bf37bfe7
Child:
9:ebf682e616d0
--- a/README.txt	Wed Jun 24 17:16:30 2015 -0500
+++ b/README.txt	Wed Jun 24 17:21:14 2015 -0500
@@ -68,8 +68,9 @@
 
     // attempt to join the network
     printf("joining network\r\n");
-    if ((ret = dot->joinNetwork()) != mDot::MDOT_OK) {
+    while ((ret = dot->joinNetwork()) != mDot::MDOT_OK) {
         log_error(dot, "failed to join network", ret);
+        wait(2);
     }
 
     // format data for sending to the gateway