Hey there hoovdan630, my apologies I forgot to hit publish in the CLI to make the library public. Should be taken care of now. Let me know if you have further trouble getting it into your project!
Hello everyone! Just curious @Dan-Kouba did you test this out yourself to switch to another wifi ssid?
I am having a bit of problems yet… ill explain,
i got my argon and set it up with the app, got it connected to our wifi
I used the web ide and I installed the ble wifi manger library and uploaded the example automatic mode sketch
and then to test it out i went on Web BLE Argon Setup Example webpage and connected to my argon over Bluetooth (did this on chrome on my pc and my android phone)
when i scanned for networks they came up and i thought now its time for a real test, seems to be working!
to do the real world example, i unplugged argon then i logged into my wifi router and changed the name
i plugged the argon back in and the green light blinked like expected, then i connected to it over Bluetooth
here is where i ran up against, when i scanned for networks no networks were found…
i knew that the wifi named changed and was working because i could connect to it with my phone
@hoovdan630 The library works fine for me, including in the situation you are describing. Please change your logging level to ALL for the BLEWiFiSetupManager logger and post the logs.
Additionally, make sure you don’t have other code blocking the loop function that the library needs, otherwise it won’t process the callbacks from the WiFi scan response and send them to your browser.
Ah, actually it looks like I removed the logging code from the SSID scan. To see if the scan is returning data, just throw a Log.trace() in at line 90 to dump out the tmp_buf line to the terminal.