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:
8:b08ec94d9e9f
Parent:
6:713b4cbf1a7d
Child:
11:e6602513730f
--- a/main.cpp	Mon Jul 11 22:05:34 2016 +0000
+++ b/main.cpp	Mon Jul 11 22:13:28 2016 +0000
@@ -246,12 +246,12 @@
 static Flow_datapoint_t  FLOW_DATAPOINT =
 {
     .URL_start     = FLOW_CALLBACK_URL_START,
-    .URL_end       = FLOW_CALLBACK_URL_END,
-    .Device_ID     = FLOW_DEVICE_ID
+    .URL_end       = FLOW_CALLBACK_URL_END
 };
 void GenerateModemString(char * modem_string)
 {
-    sprintf(modem_string, "%s?deviceID=%s&temp=%s&humidity=%s %s", FLOW_DATAPOINT.URL_start, FLOW_DATAPOINT.Device_ID, SENSOR_DATA.Temperature, SENSOR_DATA.Humidity, FLOW_DATAPOINT.URL_end);
+    //sprintf(modem_string, "%s?deviceID=%s&temp=%s&humidity=%s %s", FLOW_DATAPOINT.URL_start, FLOW_DATAPOINT.Device_ID, SENSOR_DATA.Temperature, SENSOR_DATA.Humidity, FLOW_DATAPOINT.URL_end);
+    sprintf(modem_string, "%s?serial=vstarterkit001&temp=%s&humidity=%s %s", FLOW_DATAPOINT.URL_start, SENSOR_DATA.Temperature, SENSOR_DATA.Humidity, FLOW_DATAPOINT.URL_end);
 } //GenerateModemString