gatt-python
gatt-python copied to clipboard
Report all data from advertisement during discovery
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.
Good point! If you have time, we welcome your pull request!
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.