esp_wifi_internal_reg_rxcb ret=0x3014
micropython: ESP-IDF v3.x GENERICv1.12
Can't Connect WiFi,REPL:
E (1999968) event: system_event_sta_disconnected_handle_default 294 esp_wifi_internal_reg_rxcb ret=0x3014
E (1999968) wifi: esp_wifi_connect 1134 wifi not start
Resolve #3913: Missing esp32 status() implementation
Resubmit with cleaner rebase and diff'ing. (GitHub
closed the old one automatically)
Implements the default method (no args) which provides the link status for the STA_IF on ESP32 devices.
Implementation is inspired and consistent with ESP8266, success codes are named similarly, as are most error names. Error codes and names for wifi disconnect are otherwise taken (returned directly) from what the ESP-IDF gives us but are defined in the const dictionary where appropriate.
Success codes are number from 1000 upwards so as not to clash with the 8-bit error codes from ESP-IDF.
Tested connection. failure and success on Wemos R32 device, it seems to return as expected.
wifi_log.txt
Log attached