esp_wifi_deinit fails with error 0x3014
Posted: Thu Jun 20, 2024 7:42 pm
I have some code that has a weird error after it couldn't establish a connection. It gets error 0x3014 when trying to deinit. So far I have only seen this error with the ESP32S3.
The error code reference seems to indicate that this error is "Returned when WiFi is stopping". However, the documentation for esp_wifi_deinit doesn't mention this error as a possible return value: https://docs.espressif.com/projects/esp ... fi_deinitv
What's the correct way to proceed in this case? Can I assume that the WiFi was correctly uninitialized? If not, can I force the deinit?
Code: Select all
E (3697) wifi_init: Failed to deinit Wi-Fi driver (0x3014)
What's the correct way to proceed in this case? Can I assume that the WiFi was correctly uninitialized? If not, can I force the deinit?