| 120 | } // namespace |
| 121 | |
| 122 | void init() |
| 123 | { |
| 124 | Serial.begin(SERIAL_BAUD_RATE); |
| 125 | Serial.systemDebugOutput(true); // Allow debug print to serial |
| 126 | Serial.println(F("Ready for SSL tests")); |
| 127 | |
| 128 | #ifdef ENABLE_MALLOC_COUNT |
| 129 | MallocCount::enableLogging(true); |
| 130 | #endif |
| 131 | |
| 132 | heapTimer.initializeMs<5000>(printHeap).start(); |
| 133 | |
| 134 | // Setup the WIFI connection |
| 135 | WifiStation.enable(true); |
| 136 | WifiStation.config(WIFI_SSID, WIFI_PWD); // Put your SSID and password here |
| 137 | |
| 138 | WifiEvents.onStationGotIP(gotIP); |
| 139 | WifiEvents.onStationDisconnect(connectFail); |
| 140 | } |
nothing calls this directly
no test coverage detected