@@ -33,8 +33,10 @@ void ntpServerStop() {}
33
33
34
34
void menuTcpUdp () {systemPrint (" **Network not compiled**" );}
35
35
void networkBegin () {}
36
+ uint8_t networkConsumers () {return (0 );}
37
+ uint16_t networkGetConsumerTypes () {return (0 );}
36
38
IPAddress networkGetIpAddress () {return (" 0.0.0.0" );}
37
- const uint8_t * networkGetMacAddress ()
39
+ const uint8_t * networkGetMacAddress ()
38
40
{
39
41
static const uint8_t zero[6 ] = {0 , 0 , 0 , 0 , 0 , 0 };
40
42
#ifdef COMPILE_BT
@@ -49,10 +51,11 @@ bool networkInterfaceHasInternet(NetIndex_t index) {return false;}
49
51
bool networkIsInterfaceStarted (NetIndex_t index) {return false ;}
50
52
void networkMarkOffline (NetIndex_t index) {}
51
53
void networkMarkHasInternet (NetIndex_t index) {}
54
+ void networkSequenceBoot (NetIndex_t index) {}
55
+ void networkSequenceNextEntry (NetIndex_t index, bool debug) {}
52
56
void networkUpdate () {}
57
+ void networkValidateIndex (NetIndex_t index) {}
53
58
void networkVerifyTables () {}
54
- uint16_t networkGetConsumerTypes () {return (0 );}
55
- uint8_t networkConsumers () {return (0 );}
56
59
57
60
// ----------------------------------------
58
61
// NTRIP client
@@ -114,9 +117,10 @@ void discardUdpServerBytes(RING_BUFFER_OFFSET previousTail, RING_BUFFER_OFFSET n
114
117
#ifndef COMPILE_OTA_AUTO
115
118
116
119
void otaAutoUpdate () {}
120
+ bool otaNeedsNetwork () {return false ;}
121
+ void otaUpdate () {}
117
122
void otaUpdateStop () {}
118
123
void otaVerifyTables () {}
119
- void otaUpdate () {}
120
124
121
125
#endif // COMPILE_OTA_AUTO
122
126
@@ -127,6 +131,7 @@ void otaUpdate() {}
127
131
#ifndef COMPILE_MQTT_CLIENT
128
132
129
133
bool mqttClientIsConnected () {return false ;}
134
+ bool mqttClientNeedsNetwork () {return false ;}
130
135
void mqttClientPrintStatus () {}
131
136
void mqttClientRestart () {}
132
137
void mqttClientUpdate () {}
@@ -157,9 +162,12 @@ bool webServerStart(int httpPort = 80)
157
162
systemPrintln (" **AP not compiled**" );
158
163
return false ;
159
164
}
160
- void webServerStop () {}
161
165
bool parseIncomingSettings () {return false ;}
162
166
void sendStringToWebsocket (const char * stringToSend) {}
167
+ void stopWebServer () {}
168
+ bool webServerNeedsNetwork () {return false ;}
169
+ void webServerStop () {}
170
+ void webServerUpdate () {}
163
171
164
172
#endif // COMPILE_AP
165
173
@@ -188,14 +196,17 @@ void updateEspnow() {}
188
196
#ifndef COMPILE_WIFI
189
197
190
198
void menuWiFi () {systemPrintln (" **WiFi not compiled**" );}
199
+ bool wifiApIsRunning () {return false ;}
191
200
bool wifiConnect (bool startWiFiStation, bool startWiFiAP, unsigned long timeout) {return false ;}
192
- bool wifiStart () {return false ;}
201
+ uint32_t wifiGetStartTimeout () {return 0 ;}
202
+ bool wifiIsRunning () {return false ;}
193
203
int wifiNetworkCount () {return 0 ;}
204
+ void wifiResetThrottleTimeout () {}
205
+ void wifiResetTimeout () {}
206
+ bool wifiStart () {return false ;}
194
207
bool wifiStationIsRunning () {return false ;}
195
- bool wifiApIsRunning () {return false ;}
196
- bool wifiIsRunning () {return false ;}
197
- uint32_t wifiGetStartTimeout () {return 0 ;}
198
208
#define WIFI_STOP () {}
209
+ bool wifiUnavailable () {return true ;}
199
210
200
211
#endif // COMPILE_WIFI
201
212
0 commit comments