Hello, I have developed a chrome app that uses the Bluetooth API. It works great on Mac, but does not connect on Windows 10. This seems to be something specific to the BGX13P, since it can connect to other Bluetooth devices. The module is at v1.2.2045.0
An easy way to replicate this issue is to test the web bluetooth samples on Google chrome:
I've preloaded the sample with the service UUID and Characteristic for notifications. With BGX13 GPIO0 pin set for Connection Active, you should see this toggle once connected:
gfu 0 con_active
gdi 0 olo pp
Just click "Start Notifications", should see a pop-up, then pair to the BGX13P device. Again, must be on Google chrome for this.
So now I'm wondering if there's some settings in the BGX that are now allowing Windows to connect? Maybe something with security? Also, I only have access to a fairly old Windows 10 machine, so it is possible that is the issue. There's no error messages or anything, so no idea what's going on here.
I have WIN 10 Lenovo P1 workstation with win version 1809 that is update to almost the update and was able to connect and pair. Not sure what we need to share to see what's different between your WIN PC and mine
I must confess that I did not look in detail at the soruce of your example and an not very familar with Chrome apps like this -
for example where do I find the log
and what can I do once connected.
A good thing to be able to do would be to see all the services and characteristics available on a device you find
It looks like I spoke too soon. I think I'm getting the same results as you
On my chrome window I get
Requesting Bluetooth Device... Connecting to GATT Server... Getting Service... Getting Characteristic... > Notifications started
I'm connected using the simplicity studio in terminal mode - I then put this is STR = stream model and type - that is putting what I typw through the UART - and nothing happens on the Chrome side. If I understand you I should get something. and like you the connected LED does not come on
I went back to the Commander Android app and it worked , including the connect LED coming on
Make sure the variable BLE Encryption Pairing mode is set to "any". You can use the command "set bl e p any" to do this. Windows 10 will not pair with the BGX if this variable is set to "secure".
thanks - yea had the security setting to "any", but still no luck... but then I tried something different... I added the bluetooth device separately within windows:
Clicked the little bluetooth icon down in task bar >> click “add a bluetooth device” >> click “add bluetooth or other device” >> then “Bluetooth” >>paired with BGX
Then relaunched chrome and tested - it works! I did have bonding enables, but not sure if that is needed or not. Not really the cleanest solution here, but I think this might just be a Windows and/or Chrome Bluetooth issue.