Search found 1 match

by FrankHald
Sun Mar 26, 2023 8:44 pm
Forum: ESP-IDF
Topic: wifi connect
Replies: 0
Views: 652

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...