@@ -191,11 +191,9 @@ bool espNowProcessRxPairedMessage() {return true;}
191191esp_err_t espNowRemovePeer (const uint8_t *peerMac) {return ESP_OK;}
192192esp_err_t espNowSendPairMessage (const uint8_t *sendToMac) {return ESP_OK;}
193193bool espNowSetChannel (uint8_t channelNumber) {return false ;}
194- bool espNowStart () {return false ;}
195- #define ESPNOW_START () false
194+ bool espNowStart () {return true ;}
196195void espNowStaticPairing () {}
197196bool espNowStop () {return true ;}
198- #define ESPNOW_STOP () true
199197void espNowUpdate () {}
200198
201199#endif // COMPILE_ESPNOW
@@ -206,29 +204,22 @@ void espNowUpdate() {}
206204
207205#ifndef COMPILE_WIFI
208206
209- void menuWiFi () {systemPrintln (" **WiFi not compiled**" );}
210- bool wifiApIsRunning () {return false ;}
211- bool wifiConnect (bool startWiFiStation, bool startWiFiAP, unsigned long timeout) {return false ;}
207+ void menuWiFi () {systemPrintln (" **WiFi not compiled**" );}
212208void wifiDisplayNetworkData () {}
213209void wifiDisplaySoftApStatus () {}
214210bool wifiEspNowOff (const char * fileName, uint32_t lineNumber) {return true ;}
215211bool wifiEspNowOn (const char * fileName, uint32_t lineNumber) {return false ;}
216212void wifiEspNowSetChannel (WIFI_CHANNEL_t channel) {}
217- uint32_t wifiGetStartTimeout () {return 0 ;}
218- # define WIFI_IS_RUNNING () 0
219- int wifiNetworkCount () { return 0 ; }
220- void wifiResetThrottleTimeout () {}
221- void wifiResetTimeout () { }
213+ uint32_t wifiGetStartTimeout () {return 0 ;}
214+ int wifiNetworkCount () { return 0 ;}
215+ void wifiResetThrottleTimeout () { }
216+ void wifiResetTimeout () {}
217+ const char * wifiSoftApGetSsid () { return " " ; }
222218bool wifiSoftApOff (const char * fileName, uint32_t lineNumber) {return true ;}
223219bool wifiSoftApOn (const char * fileName, uint32_t lineNumber) {return false ;}
224220bool wifiStationOff (const char * fileName, uint32_t lineNumber) {return true ;}
225221bool wifiStationOn (const char * fileName, uint32_t lineNumber) {return false ;}
226- #define WIFI_SOFT_AP_RUNNING () false
227- bool wifiStart () {return false ;}
228- bool wifiStationIsRunning () {return false ;}
229- #define WIFI_STOP () {}
230222void wifiStopAll () {}
231- bool wifiUnavailable () {return true ;}
232223
233224#endif // COMPILE_WIFI
234225
0 commit comments