Proximity strip reader

Dependencies:   mbed sfh7779

Fork of StarterKit by Rick McConney

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