Feb-09-2022, 08:30 AM
Hello,
I'm missing something very simple
I'm reading BLE data using https://github.com/IanHarvey/bluepy
on this part I want to know all the information I can get from the scanning , so I'm trying to prinr "dev"
how can I know what kind of informaton there is in the dev object?
I know there is rssi,addr -
but what else?
*** this quesiton is not just gor the ble scan - it's something bigger I'm missing
Thanks ,
I'm missing something very simple
I'm reading BLE data using https://github.com/IanHarvey/bluepy
on this part I want to know all the information I can get from the scanning , so I'm trying to prinr "dev"
scanner = Scanner().withDelegate(ScanDelegate()) devices = scanner.scan(10.0) for dev in devices: print(dev) print ("Device %s (%s), RSSI=%d dB " % (dev.addr, dev.addrType, dev.rssi, ))I get this
2022-02-09 10:22:31,117 <bluepy.btle.ScanEntry object at 0xb64c6210> 2022-02-09 10:22:31,124 <bluepy.btle.ScanEntry object at 0xb64c6070> 2022-02-09 10:22:31,132 <bluepy.btle.ScanEntry object at 0xb64c61f0> 2022-02-09 10:22:31,149 <bluepy.btle.ScanEntry object at 0xb64c62f0> 2022-02-09 10:22:31,155 <bluepy.btle.ScanEntry object at 0xb64c6190> 2022-02-09 10:22:31,159 <bluepy.btle.ScanEntry object at 0xb64c6250>my question is
how can I know what kind of informaton there is in the dev object?
I know there is rssi,addr -
but what else?
*** this quesiton is not just gor the ble scan - it's something bigger I'm missing
Thanks ,