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:
4:0fd5e5e121ea
Parent:
3:ac5101a47080
--- a/README.md	Tue Jan 03 17:25:01 2017 +0000
+++ b/README.md	Wed Jan 04 13:45:49 2017 +0000
@@ -1,6 +1,6 @@
 # Two way data using Multitech mDot
 
-Only builds with ARMCC, not with GCC. Demonstrates two-way data over LoRaWAN using Multitech mDot.
+Demonstrates two-way data over LoRaWAN using Multitech mDot.
 
 1. Triggers transmission when D6 goes high - this is the special wake-up pin on the mDot. Short D6 to test quickly.
 2. The RX window is used to toggle D2. If 0x00 is received the pin goes high, if 0x01 is received the pin goes low (as the LEDs are inverted on the break-out board).