Okundu Omeni
/
wifi-https-ble-sm-uart-atcmd-5-13-1
this is using the mbed os version 5-13-1
Diff: source/WiFiManager.h
- Branch:
- PassingRegression
- Revision:
- 116:2296cf274661
- Parent:
- 114:b11bb96c09f3
- Child:
- 118:8df0e9c2ee3f
--- a/source/WiFiManager.h Sun May 19 11:25:28 2019 +0000 +++ b/source/WiFiManager.h Sun May 19 13:09:27 2019 +0000 @@ -19,7 +19,8 @@ extern void print_memory_info(); class WiFiManager { public: - WiFiManager(wifi_config_t wifi_config, WiFiInterface *wifi, + WiFiManager(wifi_config_t *wifi_config, WiFiInterface *wifi, + internet_config_t *internet_config, events::EventQueue &event_queue, MemoryPool<wifi_cmd_message_t, 16> *aT2WiFimPool, Queue<wifi_cmd_message_t, 16> *aT2WiFiCmdQueue, @@ -36,8 +37,8 @@ private: Mutex _wmutex; // Protect wifi thread - wifi_config_t wifi_config; - internet_config_t internet_config; + wifi_config_t *wifi_config; + internet_config_t *internet_config; // define event queue events::EventQueue &_event_queue; WiFiInterface *network;