| 118 | } // namespace |
| 119 | |
| 120 | void init() |
| 121 | { |
| 122 | Serial.begin(SERIAL_BAUD_RATE); // 115200 by default |
| 123 | Serial.systemDebugOutput(true); // Debug output to serial |
| 124 | |
| 125 | WifiStation.config(WIFI_SSID, WIFI_PWD); |
| 126 | WifiStation.enable(true); |
| 127 | |
| 128 | // Run our method when station was connected to AP (or not connected) |
| 129 | WifiEvents.onStationGotIP(onConnected); |
| 130 | } |
nothing calls this directly
no test coverage detected