Okundu Omeni
/
wifi-https-ble-sm-uart-atcmd-5-13-1
this is using the mbed os version 5-13-1
Diff: source/ATCmdManager.h
- Revision:
- 78:07bb86e3ce14
- Parent:
- 75:08eff6258e1b
- Child:
- 79:a2187bbfa407
--- a/source/ATCmdManager.h Fri Mar 15 23:25:30 2019 +0000 +++ b/source/ATCmdManager.h Sat Mar 16 13:05:52 2019 +0000 @@ -2,6 +2,8 @@ #define __ATCMD_MANAGER_H__ #include <mbed.h> #include "ATCmdParser.h" +#include "BleManager.h" +#include "WiFiManager.h" #define MAIN_LOOP_WAIT_TIME_MS 1000 // milliseconds #define NUM_UART_OPTIONS 6 @@ -12,7 +14,8 @@ class ATCmdManager { public: - ATCmdManager(PinName tx, PinName rx, bool debug = false); + ATCmdManager(PinName tx, PinName rx, SMDevicePeripheral *blePeripheral, + WiFiManager *wifi, bool debug = false); public: void runMain(); @@ -26,6 +29,8 @@ // AT Command Parser ATCmdParser _parser; + SMDevicePeripheral *blePeripheral; + WiFiManager *wifi; // OOB processing void _process_oob(uint32_t timeout, bool all); // OOB message handlers