gatt-python icon indicating copy to clipboard operation
gatt-python copied to clipboard

Report all data from advertisement during discovery

Open harbaum opened this issue 7 years ago • 2 comments

From the examples it seems that only the device name and the MAC address are reported during a discovery. This was ok for classic bluetooth. But BLE can also deliver UUIDs during the undirected advertisement which is very useful for device discovery.

E.g. the Lego WeDo-2.0 hub is otherwise impossible to identify as the user is allowed to change the device name and the OID is from Texas Instruments. Thus the UUID from the undirected advertisement is needed to detect the device.

harbaum avatar Jul 06 '17 08:07 harbaum

Good point! If you have time, we welcome your pull request!

larsblumberg avatar Jul 06 '17 10:07 larsblumberg

I'm also interested in obtaining more information (like RSSI and custom data) from advertisement data. If we will choose for gatt-python I will definitely have a look into this.

Snevzor avatar Jan 09 '18 15:01 Snevzor