Closed TrainzLuvr closed 1 year ago
Another snippet from your log showing uplink starting too early:
[SoftAP] MAC Address: XX:XX:XX:XX:XX:XX
[SoftAP] Setting ESP32 hostname to "esp32cs_05010101xx00".
[httpd] Starting DNS listener
[httpd] Starting HTTP listener on port 80
[dnsd] Listening on port 53, fd 49, using 192.168.4.1 for local IP
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0x103 (ESP_ERR_INVALID_STATE) at 0x40087edf
0x40087edf: _esp_error_check_failed_without_abort at C:/espressif/esp-idf/components/esp_common/src/esp_err.c:40
file: "../components/OpenMRNLite/src/freertos_drivers/esp32/Esp32WiFiManager.cpp" line 1740
func: int mdns_lookup(const char*, addrinfo*, addrinfo**)
expression: mdns_query_ptr(service_name.c_str(), protocol_name.c_str(), MDNS_QUERY_TIMEOUT, MDNS_MAX_RESULTS, &results)
Listening on port 80, fd 50
Allocating new alias 0A1 for node 05010101xx00
This looks like a bit of a race condition where the SoftAP is UP but the Station connection is still in-progress. In the case of SoftAP+Station it needs to wait until both are UP before starting the uplink process.
I'm not 100% certain on the proper behavior for SoftAP only mode.