IanHarvey / bluepy

Python interface to Bluetooth LE on Linux
Other
1.58k stars 490 forks source link

How to get PDU Type? #484

Open B03901108 opened 2 years ago

B03901108 commented 2 years ago

Hi, is it possible to get a received advertising packet's PDU Type (ADV_IND, ADV_SCAN_IND, ADV_NONCONN_IND, SAN_RSP, etc.) using bluepy? I know we can get "connectable" from a ScanEntry object, but I don't think a Boolean is enough is show (at least) 4 possibilities.