Rev 1.0 4/26/2016 Paul Jaeger - Multitech, Brian Huey - Sprint Changed post interval to 2000ms added temp, analoguv and pressure to http post added alias: TEMP ANALOG-UV PRESSURE concatenated http post, to post all within the same routine and check for error after the post confirmed that data is published to Exosite

Dependencies:   MbedJSONValue mbed mtsas

Fork of UUU_MultiTech_Dragonfly_Sprint by Paul Jaeger

Revision:
7:dd550a829ece
Parent:
6:7946b5c2376a
Child:
8:e78dcfad254b
diff -r 7946b5c2376a -r dd550a829ece main.cpp
--- a/main.cpp	Wed Dec 09 21:35:00 2015 +0000
+++ b/main.cpp	Fri Dec 11 16:00:08 2015 +0000
@@ -78,7 +78,7 @@
 // APN associated with SIM card
 // this APN should work for the AT&T SIM that came with your Dragonfly
 //static const std::string apn = "";
-static const std::string apn = "broadband";
+static const std::string apn = "";
 
 // Phone number to send SMS messages to
 // just change the x digits - the 1 needs to stay!
@@ -134,8 +134,8 @@
 #define COLOR       //BH1745
 #define KX022       //KX022, Accel Only
 #define Pressure    //BM1383
-#define SMS         //allow SMS messaging
-#define Web         //allow M2X communication
+//#define SMS         //allow SMS messaging
+//#define Web         //allow M2X communication
 
 
 //Define Pins for I2C Interface
@@ -732,7 +732,7 @@
     printf(" Blue  = %d ADC Counts\r\n",BH1745[2]);
 
     printf(" ALS = %0.2f lx\r\n", RPR0521_ALS[0]);
-    printf(" PROX= %u ADC Counts\r\n", RPR0521_ALS[1]);     //defined as a float but is an unsigned.
+    printf(" PROX= %u ADC Counts\r\n", RPR0521_ALS[1]);     //defined as a float but is an unsigned, bad coding on my part.
 
     printf("KMX62 Accel+Mag Sensor Data:\r\n");
     printf(" AccX= %0.2f g\r\n", MEMS_Accel[0]);