choose sta or eth whichever is available. But eth has priority

This commit is contained in:
Karl Osterseher
2025-01-29 22:27:09 +01:00
Unverified
parent 6bec0e9469
commit d50f4be399
3 changed files with 79 additions and 71 deletions

View File

@@ -21,6 +21,7 @@
extern char *ipv6_addr_types_to_str[6];
esp_netif_t *network_get_netif_from_desc(const char *desc);
const char *network_get_ifkey(esp_netif_t *esp_netif);
bool network_is_netif_up(esp_netif_t *esp_netif);
bool network_is_our_netif(const char *prefix, esp_netif_t *netif);
void network_init(void);