Two way data over LoRaWAN using Multitech mDot
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.
Diff: README.md
- Revision:
- 3:ac5101a47080
- Parent:
- 1:b604a2d6c54d
- Child:
- 4:0fd5e5e121ea
--- a/README.md Tue Jan 03 16:05:47 2017 +0000 +++ b/README.md Tue Jan 03 17:25:01 2017 +0000 @@ -37,7 +37,7 @@ ```js { "led/0/value": function (v) { - return { port: 2, data: [ v ? 0x1 : 0x0 ] }; + return { port: 2, data: [ Number(v) ? 0x1 : 0x0 ] }; } } ```