Proximity strip reader

Dependencies:   mbed sfh7779

Fork of StarterKit by Rick McConney

Revision:
39:3bbb3dbb531b
Parent:
38:532a0d929756
Child:
40:45e4636d20cc
diff -r 532a0d929756 -r 3bbb3dbb531b main.cpp
--- a/main.cpp	Mon Sep 26 18:02:16 2016 +0000
+++ b/main.cpp	Tue Sep 27 15:45:21 2016 +0000
@@ -429,7 +429,7 @@
         case PROXIMITY_ONLY:
         {
             char* data = proximityStrip.getDataStr();
-            sprintf(modem_string, "GET %s%s?serial=%s&data=[%s] %s%s\r\n\r\n", FLOW_BASE_URL, FLOW_INPUT_NAME, FLOW_DEVICE_NAME, data,  FLOW_URL_TYPE, MY_SERVER_URL);
+            sprintf(modem_string, "GET %s%s?serial=%s&data=%s %s%s\r\n\r\n", FLOW_BASE_URL, FLOW_INPUT_NAME, FLOW_DEVICE_NAME, data,  FLOW_URL_TYPE, MY_SERVER_URL);
             break;
         }
         case TEMP_HUMIDITY_ONLY: