Added function deleteLocations to delete the location history.

Dependents:   WNCInterface_M2Xdemo ATT_WNCInterface_Info WNCInterface_HTTP_example Public_IoT_M2X_Cellular_Demo

Fork of M2XStreamClient by AT&T M2X Team

Revision:
19:4dfa28d37b8f
Parent:
18:510895884768
Child:
21:6878944d2ce2
--- a/M2XStreamClient.h	Mon Dec 28 14:30:33 2015 +0000
+++ b/M2XStreamClient.h	Fri Jan 01 15:48:18 2016 +0000
@@ -127,6 +127,20 @@
                         const char* names[], const int counts[],
                         const char* ats[], T values[]);
 
+  // Post multiple values of a single device at once.
+  // +deviceId+ - id of the device to post values
+  // +streamNum+ - Number of streams to post
+  // +names+ - Array of stream names, the length of the array should
+  // be exactly +streamNum+
+  // +values+ - Array of values to post, the length of the array should
+  // be exactly +streamNum+. Notice that the array of +values+ should
+  // match the array of +names+, and that the ith value in +values+ is
+  // exactly the value to post for the ith stream name in +names+
+  template <class T>
+  int postSingleDeviceUpdate(const char* deviceId, int streamNum,
+                             const char* names[], T values[],
+                             const char* at = NULL);
+
   // Fetch values for a particular data stream. Since memory is
   // very limited on an Arduino, we cannot parse and get all the
   // data points in memory. Instead, we use callbacks here: whenever