-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Provisioning example fails to scan networks #7748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @edg2411 , could you please send a link to an exact example? |
Hi thank you for replying https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFiProv/examples/WiFiProv/WiFiProv.ino |
I changed the compiler option to verbose and now its scanning and showing the networks [ 91][D][WiFiGeneric.cpp:931] _eventCallback(): Arduino Event: 0 - WIFI_READY [ 26955][V][WiFiGeneric.cpp:407] _arduino_event_cb(): AP Station Connected: MAC: c6:0f:b1:7b:4e:c7, AID: 1 [ 27429][V][WiFiGeneric.cpp:421] _arduino_event_cb(): AP Station IP Assigned:192.168.4.2 [ 89831][V][WiFiGeneric.cpp:383] _arduino_event_cb(): SCAN Done: ID: 129, Status: 0, Results: 40 I dont understand what its going on but it is working.. |
Hello, I can confirm that the Arduino version is not working while the IDF does. |
Heh, the error might be funnier then I previously thaught - it is a case size problem :D The IDF example is using upper case: While the Arduino is using lower case (only the first letter is upper case):
You can try those 2 things:
I will change the example to match the default in the app, and add a few more things. |
The PR is merged, so I'm closing this issue. |
Board
esp32 wroom
Device Description
it is a custom board but uses the esp32 wroom 32e
Hardware Configuration
nothing strange
Version
latest master (checkout manually)
IDE Name
platformio
Operating System
windows 10
Flash frequency
40mhz
PSRAM enabled
yes
Upload speed
115200
Description
the provisioning example provided in the arduino libraries dont find networks by scanning or not scanning at all i dont know. The esp-idf version of the example works just fine im using the android provisioning app.
I see other issues but no one seems to help me
Sketch
it is the example without modifications, im using softap but same problem happens with bt
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: