Two way data over LoRaWAN using Multitech mDot

Dependencies:   libmDot-mbed5

This is example firmware for the Multitech mDot. It demonstrates how to:

  • Do two-way data.
  • Sleep aggressively and only wake up when the wake-up pin is triggered.
  • Handle errors, retries and duty cycle errors.
  • Cache data in non-volatile storage.

Based on mbed OS 5.1, hard faults against mbed OS 5.3 unfortunately. Can be compiled with GCC and ARMCC (but not IAR).

To do a new transmission, short pin D6 / PA_1.

Revision:
3:ac5101a47080
Parent:
2:ff17ce021cfb
Child:
4:0fd5e5e121ea
--- a/main.cpp	Tue Jan 03 16:05:47 2017 +0000
+++ b/main.cpp	Tue Jan 03 17:25:01 2017 +0000
@@ -11,7 +11,7 @@
 #define BUILTIN_LED_OFF         1
 
 static const char APP_EUI[] = "BE7A000000000393";
-static const char APP_KEY[] = "CF977DE56163FB1055A530CF7B82A56A";
+static const char APP_KEY[] = "3FE0040E234141A08A583D5F508B5781";
 
 static mDot* dot;