Here it is ...

Dependencies:   libxDot-mbed5 TSL2561

Fork of Dot-Examples by MultiTech

Revision:
34:fbdd22159585
Parent:
33:79e4c812d91d
Child:
35:b51d482e9731
--- a/examples/src/ota_example.cpp	Thu Jul 19 10:48:47 2018 -0400
+++ b/examples/src/ota_example.cpp	Sun Jul 22 17:25:10 2018 +0000
@@ -138,9 +138,14 @@
   }
   
   uint8_t counter = 0;
+  std::vector<uint8_t> tx_data;
+  
   while (true) {
 
-    std::vector<uint8_t> tx_data;
+	//******** perhaps I'm double decaling and the compiler isn't catching it *********
+	// try moving this up with the counter, y a ver como se comporta
+	// not dealocating just erasing/resizing buffer bc it's stack based???
+    //std::vector<uint8_t> tx_data;
 
     
     // join network if not joined