Bluetooth LE device connection issues

900 views
Skip to first unread message

Preetham Varghese

unread,
Jul 17, 2013, 8:16:19 PM7/17/13
to chromi...@chromium.org
Environment:
Win 7
Chrome: 30.0.1566.2 dev-m
BLE Chipset: Broadcom BCM20702

I am attempting to connect to a BLE device using the following steps:
- startDiscovery : To look for devices.
- On finding a device I check if the device is the one I want based on the hardware address
- Once I find the device I call stopDiscovery to stop discovery
- On the stop discovery callback I attempt to connect to the device

When I try this I receive an "Invalid device" error. Is there a way for me to find out in a little bit more detail about why this error is occurring? I did see the error message in Chromium source, so I am pretty sure I am not getting this from the device, but I could be wrong. 

Is this a problem with my environment? Does BLE work with windows or is it currently feature complete only on ChromeOS?

Any help would be great!

Thank you!
Message has been deleted

Preetham Varghese

unread,
Jul 24, 2013, 7:04:32 PM7/24/13
to chromi...@chromium.org
Adding a few more details on my attempts to make this work:

I upgraded my Win 7 machine to Win 8, because of native BLE support in Windows 8. I had to uninstall the Broadcom driver I was using because it was not compatible with Win 8. I removed the dongle, upgraded, and plugged it back in. It was detected and it appears that native Win 8 drivers have gotten installed. In the device manager I see a Microsoft Bluetooth LE Enumerator along with a Microsoft Bluetooth Enumerator.

My scans however do not detect BLE devices anymore. I only see 2.1 devices show up. I am not sure if this was because of my upgrade or if something changed in the Chrome Beta release over the past week.

Brian Thorne

unread,
Jul 24, 2013, 7:48:45 PM7/24/13
to Preetham Varghese, chromi...@chromium.org
Hi all,
I've also been tinkering with Bluetooth on Chrome v30 running on Windows 7.

I have just been trying to connect to simple devices - offering serial profiles but haven't had much luck yet. I can discover devices just fine, and get the callbacks when found but I am getting errors when trying to connect from those callbacks. Messages about the profile UUID being invalid.

Have you made sure that non BLE devices work fine on your setup? Is your code open source by any chance? I've made a toy repository to try connect the serial profile on bitbucket if you're interested:  https://bitbucket.org/hardbyte/iracer/src/tip/js/main.js

Cheers,
Brian


--
You received this message because you are subscribed to a topic in the Google Groups "Chromium Apps" group.
To unsubscribe from this topic, visit https://groups.google.com/a/chromium.org/d/topic/chromium-apps/QqwHRH3BpYA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chromium-app...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-apps/.
For more options, visit https://groups.google.com/a/chromium.org/groups/opt_out.
 
 

Preetham Varghese

unread,
Jul 25, 2013, 3:56:11 PM7/25/13
to chromi...@chromium.org, Preetham Varghese
I have not tried connecting to a serial 2.1 device, but I probably should. Will try it out next! What device are you using as your BT server? I will probably put together something on Android to see if the connection is being made. I have not posted my code, but I will put it up on a repo and share it here. Will post here if I am able to make the serial connection over BT.
Message has been deleted

gareth mason

unread,
Aug 5, 2013, 8:16:31 AM8/5/13
to chromi...@chromium.org
vodafone mobile

Song Qin

unread,
Mar 11, 2014, 8:05:15 PM3/11/14
to chromi...@chromium.org, Preetham Varghese
You may want to put the following code in your manifest.json.
  "bluetooth": {
    "profiles":["00000000-0000-1000-7000-00805f00000", //uuid
                ]

Olivia Lewis

unread,
May 16, 2015, 5:46:18 AM5/16/15
to chromi...@chromium.org
Have you checked your bluetooth drivers from the Device Manager? Is there a yellow exclamation mark on the bluetooth device? If so, you may need to fix the driver so that to use your bluetooth.
Reply all
Reply to author
Forward
0 new messages