Search found 1 match
- Sun Mar 26, 2023 8:44 pm
- Forum: ESP-IDF
- Topic: wifi connect
- Replies: 0
- Views: 874
wifi connect
Can anyone explain, why I can not connect with this code as is, but I can, if I comment out the lines int idx_best = wifi_scan(networks, 3); ESP_LOGI(TAG, "Best AP: %d", idx_best); and dont do a scan before connecting. The scan works fine and returns the index of the AP in my struct array with the b...