this is using the mbed os version 5-13-1

Dependencies:   mbed-http

Revision:
87:99b37d26ff2a
Parent:
84:7c7add00f4bf
Child:
88:7ffa053be662
--- a/source/WiFiManager.h	Thu Mar 28 23:41:10 2019 +0000
+++ b/source/WiFiManager.h	Fri Mar 29 22:18:33 2019 +0000
@@ -16,7 +16,7 @@
 #include "https_certificates.h"
 #include "common_types.h"
 
-
+extern void print_memory_info();
 class WiFiManager {
 public:
     WiFiManager(wifi_config_t wifi_config, WiFiInterface *wifi, 
@@ -24,10 +24,10 @@
                 Queue<wifi_cmd_message_t, 16> *aT2WiFiCmdQueue, 
                 MemoryPool<at_resp_message_t, 16> *wiFi2ATmPool, 
                 Queue<at_resp_message_t, 16> *wiFi2ATCmdQueue, 
-                MemoryPool<wifi_data_msg_t, 4> *aT2WiFiDatamPool, 
-                Queue<wifi_data_msg_t, 4> *aT2WiFiDataQueue, 
-                MemoryPool<at_data_msg_t, 4> *wiFi2ATDatamPool, 
-                Queue<at_data_msg_t, 4> *wiFi2ATDataQueue); 
+                MemoryPool<wifi_data_msg_t, PQDSZ> *aT2WiFiDatamPool, 
+                Queue<wifi_data_msg_t, PQDSZ> *aT2WiFiDataQueue, 
+                MemoryPool<at_data_msg_t, PQDSZ> *wiFi2ATDatamPool, 
+                Queue<at_data_msg_t, PQDSZ> *wiFi2ATDataQueue); 
     ~WiFiManager();
     void                  runMain();
     void                  status_callback(nsapi_event_t status, intptr_t param);
@@ -55,13 +55,13 @@
     Queue<at_resp_message_t, 16> *_wiFi2ATCmdQueue;
     
     /*  Queue and memory pool for AT to WiFi data */
-    MemoryPool<wifi_data_msg_t, 4> *_aT2WiFiDatamPool;
-    Queue<wifi_data_msg_t, 4> *_aT2WiFiDataQueue;
+    MemoryPool<wifi_data_msg_t, PQDSZ> *_aT2WiFiDatamPool;
+    Queue<wifi_data_msg_t, PQDSZ> *_aT2WiFiDataQueue;
     wifi_data_msg_t *data_msg;
     
     /*  Queue and memory pool for WiFi to AT data */
-    MemoryPool<at_data_msg_t, 4> *_wiFi2ATDatamPool;
-    Queue<at_data_msg_t, 4> *_wiFi2ATDataQueue;
+    MemoryPool<at_data_msg_t, PQDSZ> *_wiFi2ATDatamPool;
+    Queue<at_data_msg_t, PQDSZ> *_wiFi2ATDataQueue;
 
     bool is_connected;