this is using the mbed os version 5-13-1
Diff: source/ATCmdManager.h
- Branch:
- PassingRegression
- Revision:
- 117:8fd05113efc1
- Parent:
- 114:b11bb96c09f3
- Child:
- 118:8df0e9c2ee3f
--- a/source/ATCmdManager.h Sun May 19 13:09:27 2019 +0000
+++ b/source/ATCmdManager.h Sun May 19 16:22:59 2019 +0000
@@ -20,7 +20,7 @@
//extern void blinkLEDs();
class ATCmdManager {
public:
- ATCmdManager(PinName tx, PinName rx, SMDevicePeripheral *blePeripheral,
+ 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,
@@ -38,6 +38,7 @@
private:
// UART settings
+ uart_config_t *uart_config;
UARTSerial _serial;
Mutex _smutex; // Protect serial port access
Mutex _rmutex; // Reset protection