mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-25 07:43:04 +05:00
feat: merge master Ethernet support into dev
Adapt W5500 to the native network event queue and select STA or ETH from NetworkSettings. Preserve the existing dev network settings and add a separate C6 Ethernet build without BLE to fit the OTA slot. Validate with S3 and C6 Ethernet firmware builds, the shared LittleFS image, binary layout checks and targeted network transition checks.
This commit is contained in:
commit
4e71915222
21 files changed
+1007
-158
No files matched your search
@@ -144,6 +144,13 @@ void onNetworkEvent(NetworkEventCallback callback);
|
||||
void onNetworkStateChange(NetworkStateCallback callback);
|
||||
NetworkState getNetworkState(NetworkMode mode = NetworkMode::STA);
|
||||
NetworkMode getNetworkMode();
|
||||
const char* getNetworkConnectionType();
|
||||
IPAddress getNetworkIp();
|
||||
IPAddress getNetworkSubnet();
|
||||
IPAddress getNetworkGateway();
|
||||
IPAddress getNetworkDns();
|
||||
String getNetworkMac();
|
||||
bool isEthernetConfigured(const NetworkSettings& config = networkSettings);
|
||||
bool isNetworkInterfaceStarted(NetworkMode mode);
|
||||
// Last state published by the system worker, including during event callbacks.
|
||||
bool isNetworkConnected();
|
||||
|
||||
Reference in new issue
Block a user