MultiTech / Mbed OS mDot_AT_firmware_CUSTOM

Dependencies:   libmDot-Custom MTS-Serial

Fork of mDot_AT_firmware_CUSTOM by Jason Reiss

To change channel plans replace AS923 with AU915, EU868, KR920 or US915 on line 15

#define CHANNEL_PLAN CP_AS923

See Supported Channel Plans

Revision:
21:eba22baae4fd
Parent:
19:5b812e1b8f3d
Child:
22:89a1202125bc
diff -r 5b812e1b8f3d -r eba22baae4fd main.cpp
--- a/main.cpp	Wed Sep 28 19:38:35 2016 +0000
+++ b/main.cpp	Mon Oct 24 16:45:54 2016 +0000
@@ -17,7 +17,7 @@
 
     mDot* dot = mDot::getInstance();
     
-    lora::ChannelPlan* plan = new lora::CustomChannelPlan_EU868(*dot->getRadio(), *dot->getSettings());
+    lora::ChannelPlan* plan = new lora::CustomChannelPlan_AS923(*dot->getRadio(), *dot->getSettings());
     dot->setChannelPlan(plan);
 
     // Seed the RNG