Okundu Omeni
/
wifi-https-ble-sm-uart-atcmd-5-13-1
this is using the mbed os version 5-13-1
Diff: source/ATCmdManager.cpp
- Revision:
- 80:e8f0e92e3ac9
- Parent:
- 79:a2187bbfa407
- Child:
- 81:637a87eb8170
--- a/source/ATCmdManager.cpp Wed Mar 20 21:02:47 2019 +0000 +++ b/source/ATCmdManager.cpp Thu Mar 21 22:17:28 2019 +0000 @@ -6,16 +6,33 @@ ATCmdManager::ATCmdManager(PinName tx, PinName rx, SMDevicePeripheral *blePeripheral, events::EventQueue &event_queue, WiFiManager *wifi, MemoryPool<wifi_cmd_message_t, 16> *aT2WiFimPool, - Queue<wifi_cmd_message_t, 16> *aT2WiFiCmdQueue, + Queue<wifi_cmd_message_t, 16> *aT2WiFiCmdQueue, + MemoryPool<wifi_cmd_message_t, 16> *wiFi2ATmPool, + Queue<wifi_cmd_message_t, 16> *wiFi2ATCmdQueue, + MemoryPool<wifi_data_msg_t, 4> *aT2WiFiDatamPool, + Queue<wifi_data_msg_t, 4> *aT2WiFiDataQueue, + MemoryPool<wifi_data_msg_t, 4> *wiFi2ATDatamPool, + Queue<wifi_data_msg_t, 4> *wiFi2ATDataQueue, bool debug) : _serial(tx, rx, DEFAULT_BAUD_RATE), - _parser(&_serial), blePeripheral(blePeripheral), _event_queue(event_queue), wiFiManager(wiFiManager), _aT2WiFimPool(aT2WiFimPool), - _aT2WiFiCmdQueue(aT2WiFiCmdQueue) + _aT2WiFiCmdQueue(aT2WiFiCmdQueue), + + _wiFi2ATmPool(wiFi2ATmPool), + _wiFi2ATCmdQueue(wiFi2ATCmdQueue), + + _aT2WiFiDatamPool(aT2WiFiDatamPool), + _aT2WiFiDataQueue(aT2WiFiDataQueue), + + _wiFi2ATDatamPool(wiFi2ATDatamPool), + _wiFi2ATDataQueue(wiFi2ATDataQueue), + + _parser(&_serial) + { // constructor