@@ -191,11 +191,9 @@ bool espNowProcessRxPairedMessage() {return true;}
191
191
esp_err_t espNowRemovePeer (const uint8_t *peerMac) {return ESP_OK;}
192
192
esp_err_t espNowSendPairMessage (const uint8_t *sendToMac) {return ESP_OK;}
193
193
bool espNowSetChannel (uint8_t channelNumber) {return false ;}
194
- bool espNowStart () {return false ;}
195
- #define ESPNOW_START () false
194
+ bool espNowStart () {return true ;}
196
195
void espNowStaticPairing () {}
197
196
bool espNowStop () {return true ;}
198
- #define ESPNOW_STOP () true
199
197
void espNowUpdate () {}
200
198
201
199
#endif // COMPILE_ESPNOW
@@ -206,29 +204,22 @@ void espNowUpdate() {}
206
204
207
205
#ifndef COMPILE_WIFI
208
206
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**" );}
212
208
void wifiDisplayNetworkData () {}
213
209
void wifiDisplaySoftApStatus () {}
214
210
bool wifiEspNowOff (const char * fileName, uint32_t lineNumber) {return true ;}
215
211
bool wifiEspNowOn (const char * fileName, uint32_t lineNumber) {return false ;}
216
212
void 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 " " ; }
222
218
bool wifiSoftApOff (const char * fileName, uint32_t lineNumber) {return true ;}
223
219
bool wifiSoftApOn (const char * fileName, uint32_t lineNumber) {return false ;}
224
220
bool wifiStationOff (const char * fileName, uint32_t lineNumber) {return true ;}
225
221
bool 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 () {}
230
222
void wifiStopAll () {}
231
- bool wifiUnavailable () {return true ;}
232
223
233
224
#endif // COMPILE_WIFI
234
225
0 commit comments