99// Ethernet
1010// ----------------------------------------
1111
12+ bool ethernetLinkUp () {return false ;}
1213void menuEthernet () {systemPrintln (" **Ethernet not compiled**" );}
1314
1415bool ntpLogIncreasing = false ;
@@ -33,8 +34,9 @@ void ntpServerStop() {}
3334
3435void menuTcpUdp () {systemPrint (" **Network not compiled**" );}
3536void networkBegin () {}
36- uint8_t networkConsumers () {return (0 );}
37- uint16_t networkGetConsumerTypes () {return (0 );}
37+ void networkConsumerAdd (NETCONSUMER_t consumer, NetIndex_t network, const char * fileName, uint32_t lineNumber) {}
38+ bool networkConsumerIsConnected (NETCONSUMER_t consumer) {return false ;}
39+ void networkConsumerRemove (NETCONSUMER_t consumer, NetIndex_t network, const char * fileName, uint32_t lineNumber) {}
3840IPAddress networkGetIpAddress () {return (" 0.0.0.0" );}
3941const uint8_t * networkGetMacAddress ()
4042{
@@ -44,7 +46,8 @@ const uint8_t * networkGetMacAddress()
4446 return btMACAddress;
4547#endif
4648 return zero;
47- }
49+ }
50+ NetPriority_t networkGetPriority () {return 0 ;}
4851bool networkHasInternet () {return false ;}
4952bool networkHasInternet (NetIndex_t index) {return false ;}
5053bool networkInterfaceHasInternet (NetIndex_t index) {return false ;}
@@ -54,6 +57,8 @@ void networkMarkHasInternet(NetIndex_t index) {}
5457void networkSequenceBoot (NetIndex_t index) {}
5558void networkSequenceNextEntry (NetIndex_t index, bool debug) {}
5659void networkUpdate () {}
60+ void networkUserAdd (NETCONSUMER_t consumer, const char * fileName, uint32_t lineNumber) {}
61+ void networkUserRemove (NETCONSUMER_t consumer, const char * fileName, uint32_t lineNumber) {}
5762void networkValidateIndex (NetIndex_t index) {}
5863void networkVerifyTables () {}
5964
@@ -83,30 +88,30 @@ bool ntripServerIsCasting(int serverIndex) {
8388// TCP client
8489// ----------------------------------------
8590
91+ void tcpClientDiscardBytes (RING_BUFFER_OFFSET previousTail, RING_BUFFER_OFFSET newTail) {}
8692int32_t tcpClientSendData (uint16_t dataHead) {return 0 ;}
8793void tcpClientUpdate () {}
8894void tcpClientValidateTables () {}
8995void tcpClientZeroTail () {}
90- void discardTcpClientBytes (RING_BUFFER_OFFSET previousTail, RING_BUFFER_OFFSET newTail) {}
9196
9297// ----------------------------------------
9398// TCP server
9499// ----------------------------------------
95100
101+ void tcpServerDiscardBytes (RING_BUFFER_OFFSET previousTail, RING_BUFFER_OFFSET newTail) {}
96102int32_t tcpServerSendData (uint16_t dataHead) {return 0 ;}
97103void tcpServerZeroTail () {}
98104void tcpServerValidateTables () {}
99- void discardTcpServerBytes (RING_BUFFER_OFFSET previousTail, RING_BUFFER_OFFSET newTail) {}
100105
101106// ----------------------------------------
102107// UDP server
103108// ----------------------------------------
104109
110+ void udpServerDiscardBytes (RING_BUFFER_OFFSET previousTail, RING_BUFFER_OFFSET newTail) {}
105111int32_t udpServerSendData (uint16_t dataHead) {return 0 ;}
106112void udpServerStop () {}
107113void udpServerUpdate () {}
108114void udpServerZeroTail () {}
109- void discardUdpServerBytes (RING_BUFFER_OFFSET previousTail, RING_BUFFER_OFFSET newTail) {}
110115
111116#endif // COMPILE_NETWORK
112117
@@ -117,7 +122,9 @@ void discardUdpServerBytes(RING_BUFFER_OFFSET previousTail, RING_BUFFER_OFFSET n
117122#ifndef COMPILE_OTA_AUTO
118123
119124void otaAutoUpdate () {}
120- bool otaNeedsNetwork () {return false ;}
125+ bool otaCheckVersion (char *versionAvailable, uint8_t versionAvailableLength) {return false ;}
126+ void otaMenuDisplay (char * currentVersion) {}
127+ bool otaMenuProcessInput (byte incoming) {return false ;}
121128void otaUpdate () {}
122129void otaUpdateStop () {}
123130void otaVerifyTables () {}
@@ -131,9 +138,9 @@ void otaVerifyTables() {}
131138#ifndef COMPILE_MQTT_CLIENT
132139
133140bool mqttClientIsConnected () {return false ;}
134- bool mqttClientNeedsNetwork () {return false ;}
135141void mqttClientPrintStatus () {}
136142void mqttClientRestart () {}
143+ void mqttClientStartEnabled () {}
137144void mqttClientUpdate () {}
138145void mqttClientValidateTables () {}
139146
@@ -165,7 +172,6 @@ bool webServerStart(int httpPort = 80)
165172bool parseIncomingSettings () {return false ;}
166173void sendStringToWebsocket (const char * stringToSend) {}
167174void stopWebServer () {}
168- bool webServerNeedsNetwork () {return false ;}
169175void webServerStop () {}
170176void webServerUpdate () {}
171177void webServerVerifyTables () {}
@@ -178,18 +184,17 @@ void webServerVerifyTables() {}
178184
179185#ifndef COMPILE_ESPNOW
180186
181- bool espnowGetState () {return ESPNOW_OFF;}
182- bool espnowIsPaired () {return false ;}
183- void espnowProcessRTCM (byte incoming) {}
184- esp_err_t espnowRemovePeer ( uint8_t *peerMac ) {return ESP_OK ;}
185- esp_err_t espnowSendPairMessage ( uint8_t *sendToMac) {return ESP_OK;}
186- bool espnowSetChannel ( uint8_t channelNumber) {return false ;}
187- bool espNowStart () {return false ;}
188- # define ESPNOW_START () false
189- void espnowStaticPairing () {}
187+ bool espNowGetState () {return ESPNOW_OFF;}
188+ bool espNowIsPaired () {return false ;}
189+ void espNowProcessRTCM (byte incoming) {}
190+ bool espNowProcessRxPairedMessage ( ) {return true ;}
191+ esp_err_t espNowRemovePeer ( const uint8_t *peerMac) {return ESP_OK;}
192+ esp_err_t espNowSendPairMessage ( const uint8_t *sendToMac) {return ESP_OK ;}
193+ bool espNowSetChannel ( uint8_t channelNumber) {return false ;}
194+ bool espNowStart () { return true ;}
195+ void espNowStaticPairing () {}
190196bool espNowStop () {return true ;}
191- #define ESPNOW_STOP () true
192- void updateEspnow () {}
197+ void espNowUpdate () {}
193198
194199#endif // COMPILE_ESPNOW
195200
@@ -199,19 +204,22 @@ void updateEspnow() {}
199204
200205#ifndef COMPILE_WIFI
201206
202- void menuWiFi () {systemPrintln (" **WiFi not compiled**" );}
203- bool wifiApIsRunning () {return false ;}
204- bool wifiConnect (bool startWiFiStation, bool startWiFiAP, unsigned long timeout) {return false ;}
205- uint32_t wifiGetStartTimeout () {return 0 ;}
206- #define WIFI_IS_RUNNING () 0
207- int wifiNetworkCount () {return 0 ;}
208- void wifiResetThrottleTimeout () {}
209- void wifiResetTimeout () {}
210- #define WIFI_SOFT_AP_RUNNING () false
211- bool wifiStart () {return false ;}
212- bool wifiStationIsRunning () {return false ;}
213- #define WIFI_STOP () {}
214- bool wifiUnavailable () {return true ;}
207+ void menuWiFi () {systemPrintln (" **WiFi not compiled**" );}
208+ void wifiDisplayNetworkData () {}
209+ void wifiDisplaySoftApStatus () {}
210+ bool wifiEspNowOff (const char * fileName, uint32_t lineNumber) {return true ;}
211+ bool wifiEspNowOn (const char * fileName, uint32_t lineNumber) {return false ;}
212+ void wifiEspNowSetChannel (WIFI_CHANNEL_t channel) {}
213+ uint32_t wifiGetStartTimeout () {return 0 ;}
214+ int wifiNetworkCount () {return 0 ;}
215+ void wifiResetThrottleTimeout () {}
216+ void wifiResetTimeout () {}
217+ const char * wifiSoftApGetSsid () {return " " ;}
218+ bool wifiSoftApOff (const char * fileName, uint32_t lineNumber) {return true ;}
219+ bool wifiSoftApOn (const char * fileName, uint32_t lineNumber) {return false ;}
220+ bool wifiStationOff (const char * fileName, uint32_t lineNumber) {return true ;}
221+ bool wifiStationOn (const char * fileName, uint32_t lineNumber) {return false ;}
222+ void wifiStopAll () {}
215223
216224#endif // COMPILE_WIFI
217225
0 commit comments