The Hiking Pal tracking device firmware. See full description on the detail page: https://www.hackster.io/bowenfeng/hiking-pal-v1-07c02d

Dependencies:   FXOS8700CQ MODSERIAL mbed

Fork of Avnet_ATT_Cellular_IOT by Avnet

Revision:
21:d0038d14ee7c
Parent:
20:27a4f27254d0
Child:
23:d6ceeb6d85ed
Child:
25:e7996d22a7e6
--- a/main.cpp	Wed Jul 13 17:57:14 2016 +0000
+++ b/main.cpp	Wed Jul 13 18:34:56 2016 +0000
@@ -275,6 +275,8 @@
     .Humidity_Si7020    = "0"
 };
 
+static int iSensorsToReport = TEMP_HUMIDITY_ONLY;
+
 void GenerateModemString(char * modem_string)
 {
     switch(iSensorsToReport)
@@ -516,12 +518,4 @@
             sockclose_mdm();
         } //bTimerExpiredFlag
     } //forever loop
-
-#if (0)
-    string * pStr;
-    while (1)
-    {
-       send_wnc_cmd("AT", &pStr, WNC_TIMEOUT_MS);
-    }
-#endif    
 }