Rick McConney
/
stripReader
Proximity strip reader
Fork of StarterKit by
Diff: main.cpp
- Revision:
- 7:489835c87d95
- Parent:
- 5:3417b6a84ee3
diff -r 3417b6a84ee3 -r 489835c87d95 main.cpp --- a/main.cpp Mon Jul 11 21:34:31 2016 +0000 +++ b/main.cpp Mon Jul 11 22:07:19 2016 +0000 @@ -240,12 +240,13 @@ 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 + //.Device_ID = FLOW_DEVICE_ID }; 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