Hi Ondrej,
thank you for clarifying this, I wasn't sure whether the call to destroy would be sufficient to allow me to reuse.
So once I have done that, I should be able to initialise wifi (e.g. as per wifi_init_sta() in https://github.com/espressif/esp-idf/blob/v5.5.1/examples/wifi/getting_started ...
Search found 2 matches
- Mon Nov 03, 2025 8:58 am
- Forum: ESP-IDF
- Topic: Switching between Ethernet and Wifi without reboot
- Replies: 3
- Views: 3078
- Thu Oct 30, 2025 11:56 am
- Forum: ESP-IDF
- Topic: Switching between Ethernet and Wifi without reboot
- Replies: 3
- Views: 3078
Re: Switching between Ethernet and Wifi without reboot
Hi there,
I realise this is a very old post, but does anyone have any information on whether this is possible. I need to do the same thing - ideally testing for a "good" ethernet connection at startup, and if not present then switching to Wifi.
The library function esp_netif_deinit still says not ...
I realise this is a very old post, but does anyone have any information on whether this is possible. I need to do the same thing - ideally testing for a "good" ethernet connection at startup, and if not present then switching to Wifi.
The library function esp_netif_deinit still says not ...