improv-wifi / sdk-ble-js

JavaScript SDK to add Improv Wi-Fi over BLE to your website.
https://www.improv-wifi.com
Apache License 2.0
44 stars 8 forks source link

Unable to establish a connection: NotFoundError..... #22

Open goofy2k opened 3 years ago

goofy2k commented 3 years ago

Hi, I want to test Improv on a ESP32 NodeMCU board. I added the component to the firmware. Selected 'none' for authorization. The code compiles OK and the logs show that the BLE serve is up. I want to test using the Connect device to Wi-Fi button on your imrov-wifi.com site. I access the site on my mobile phone with BT on.

I see an icon that measures signal strength from my ESP32 device. When I press the button to connect a popup apperears, telling:

An error ocurred. Unable to establish a connection: NotFoundError: No Services matching UUID 00467768-6228-2272-4663-277478268000 found in Device.

As there are no other required settings involved, I would expect that trying to connect from any device and any site (including yours) would be OK.

Am I wrong? Do you have any suggestions on how to proceed?

goofy2k commented 3 years ago

After enabling web bluetooth in the browser

(see: https://reelyactive.github.io/pareto-anywhere/enable-web-bluetooth-scanning/ ) the error message remains unchanged.

balloob commented 3 years ago

I'm assuming this is Android.

We haven't been able to get WebBluetooth on Android working reliably yet.

goofy2k commented 3 years ago

OK, thanks ! If it isn't Chrome on Android, where should I use it preferably?

Op za 26 jun. 2021 00:24 schreef Paulus Schoutsen @.***

:

I'm assuming this is Android.

We haven't been able to get WebBluetooth on Android working reliably yet.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/improv-wifi/sdk-js/issues/22#issuecomment-868862771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGII3TXJLO6RS6AVC7NTZOLTUT63JANCNFSM47KPZEQA .

goofy2k commented 3 years ago

@balloob, to prevent misunderstandings: I used Chrome on my Android mobile. So I use the JS solution (SDK-js) . For my own understanding: is it right that iffff all things worked like you have intended, would it be possible when I did not run my own web page running the code but any page? Such as now, that I used the button on your page in the documentation?

ssbrewco commented 2 years ago

We haven't been able to get WebBluetooth on Android working reliably yet.

@balloob Curious if there's been any progress getting Improv to play nicely with Android WebBluetooth?

balloob commented 2 years ago

Nope