Getting Manufacturer Data for BLE devices

134 views
Skip to first unread message

Siddarth Gore

unread,
Oct 18, 2016, 1:38:27 AM10/18/16
to Chromium-Extensions-Announce
Hello,

I am developing an App for Chromebook (Asus Flip C100) which will connect to a BLE device. I need to access to the Manufacturer Specific Data that is present in the advertising beacons. I can see that data when I run info in the bt_console (see below) but there is no field in the device data structure from which I can get it. https://developer.chrome.com/apps/bluetooth#type-Device

Any idea how I can retrieve this data in my App?

-siddarth

[bluetooth]# info AC:BC:32:B9:08:E4
Device AC:BC:32:B9:08:E4
       Name: MacBook Pro
       Alias: MacBook Pro
       Class: 0x38010c
       Icon: computer
       Paired: no
       Trusted: no
       Blocked: no
       Connected: no
       LegacyPairing: no
       UUID: Serial Port               (00001101-0000-1000-8000-00805f9b34fb)
       UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
       UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
       UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
       UUID: GN                        (00001117-0000-1000-8000-00805f9b34fb)
       UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
       UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
       ManufacturerData Key: 0x004c
       ManufacturerData Value: 0x01
       ManufacturerData Value: 0x4d
       ManufacturerData Value: 0x61
       ManufacturerData Value: 0x63
       ManufacturerData Value: 0x42
       ManufacturerData Value: 0x6f
       ManufacturerData Value: 0x6f
       ManufacturerData Value: 0x6b
       ManufacturerData Value: 0x50
       ManufacturerData Value: 0x72
       ManufacturerData Value: 0x6f
       ManufacturerData Value: 0x31
       ManufacturerData Value: 0x32
       ManufacturerData Value: 0x2c
       ManufacturerData Value: 0x31
[bluetooth]#
Reply all
Reply to author
Forward
0 new messages