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

Dependencies:   mbed-http

Branch:
PassingRegression
Revision:
117:8fd05113efc1
Parent:
114:b11bb96c09f3
Child:
118:8df0e9c2ee3f
--- a/source/ATCmdManager.cpp	Sun May 19 13:09:27 2019 +0000
+++ b/source/ATCmdManager.cpp	Sun May 19 16:22:59 2019 +0000
@@ -8,7 +8,7 @@
 //#include "mbed_memory_status.h"
 #define FILE_CODE       "atcmd"
 
-ATCmdManager::ATCmdManager(PinName tx, PinName rx, SMDevicePeripheral *blePeripheral, 
+ATCmdManager::ATCmdManager(PinName tx, PinName rx, uart_config_t *uart_config, 
                            events::EventQueue &event_queue, WiFiManager *wifi, 
                            MemoryPool<wifi_cmd_message_t, 16> *aT2WiFimPool, 
                            Queue<wifi_cmd_message_t, 16>      *aT2WiFiCmdQueue, 
@@ -21,7 +21,7 @@
                            bool debug)
     :
     _serial(tx, rx, DEFAULT_BAUD_RATE),
-    blePeripheral(blePeripheral),
+    uart_config(uart_config),
     _event_queue(event_queue),
     wiFiManager(wiFiManager),
     _aT2WiFimPool(aT2WiFimPool),
@@ -41,7 +41,7 @@
 
 { 
 // constructor
-    _serial.set_baud(2*DEFAULT_BAUD_RATE);
+    _serial.set_baud(uart_config->baudrate);
     //Flow flowCtrl = Flow::Disabled;
     //_serial.set_flow_control(mbed::SerialBase::Disabled);
     _parser.debug_on(debug);