A simple LoRaWAN temperature sensor based on Multitech mDot module.

Dependencies:   DS1820 libmDot mbed-rtos mbed

Revision:
6:9b53147a345f
Parent:
5:dd77f0401170
Child:
7:62174a8286a2
--- a/main.cpp	Wed Nov 18 21:07:12 2015 +0000
+++ b/main.cpp	Tue Mar 01 23:14:23 2016 +0000
@@ -71,6 +71,7 @@
 
     pc.baud(115200);
     pc.printf("Private LoRaWAN Temperature sensor\n\r");
+    pc.printf("Test\n\r");
 
     // get a mDot handle
     dot = mDot::getInstance();
@@ -95,7 +96,7 @@
 
         // Set byte order - AEP less than 1.0.30 needs LSB
 //        dot->setJoinByteOrder(mDot::LSB);
-        dot->setJoinByteOrder(mDot::MSB);       // This is default for > 1.0.30 Conduit
+//        dot->setJoinByteOrder(mDot::MSB);       // This is default for > 1.0.30 Conduit
 
         dot->setPublicNetwork(true);
         logInfo("setting Join mode");