Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate.
- Provided a clear description of your suggestion.
- Included any relevant context or examples.
Issue or Suggestion Description
I've had this issue across both dev kits and custom boards now intermittently for ~8 months so I'm left to thinking its a firmware based issue and not environmental or hardware.
on an off I see an issue where I get a warning message of
"wifi: Haven't to connect to a suitable AP now"
I follow the function init calls of the mesh_lite example of local_control for the WiFi and the mesh so only able to configure the settings via the menuconfig
What I'm seeing is a repeat of the warning shown above and that going from previous parent and new parent nodes for what I can only assume is it searching for a parent node that has an IP or is able to see the access point
like the below
W (1343075) wifi:Haven't to connect to a suitable AP now!
I (1343076) [vendor_ie]: now parent node : bssid:e8:70:05:40:f3:70, rssi:0, level:-1
I (1343082) [vendor_ie]: update parent node: bssid:94:a9:90:12:ec:65, rssi:-25, level:2
W (1343091) wifi:Haven't to connect to a suitable AP now!
I (1347049) mqtt: Other event id:7
W (1350238) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2
I (1350240) [vendor_ie]: esp_mesh_lite_wifi_scan_start return ESP_OK
I (1353074) [vendor_ie]: Mesh-Lite Scan done
W (1353075) wifi:Haven't to connect to a suitable AP now!
I (1353076) [vendor_ie]: now parent node : bssid:e8:70:05:40:f3:70, rssi:0, level:-1
I (1353083) [vendor_ie]: update parent node: bssid:94:a9:90:12:ec:65, rssi:-23, level:2
...
W (1353103) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2
W (1353112) wifi:Haven't to connect to a suitable AP now!
This issue happens every so often and across both the example and my written code. I'm confused as to why this loop will occure and what actually causes it. After multiple erases of the flash and writing the same code to the esp32 I often see the error clear or it clear after a few days only for it to come back after what seems to be a random amount of time; often after a weeks.
anyone got any suggestions as to this bizarre issue?
Thanks in advance for anything
BR