sdk-ble-js icon indicating copy to clipboard operation
sdk-ble-js copied to clipboard

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

Open goofy2k opened this issue 4 years ago • 6 comments

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 avatar Jun 25 '21 20:06 goofy2k

After enabling web bluetooth in the browser

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

goofy2k avatar Jun 25 '21 20:06 goofy2k

I'm assuming this is Android.

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

balloob avatar Jun 25 '21 22:06 balloob

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 avatar Jun 25 '21 23:06 goofy2k

@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?

goofy2k avatar Jun 26 '21 08:06 goofy2k

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?

ssbrewco avatar Feb 04 '22 21:02 ssbrewco

Nope

balloob avatar Feb 04 '22 22:02 balloob