Non-connectable devices #1391
-
I'm looking for an example how to get started when listening to data from non-connectable devices. I managed to get the discovery example working using Something like an infinte loop that prints the payload in hex would help a lot. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If the devices are non-connectable, I would expect that you cannot connect to them so BleakClient isn't going to be useful in this case. You can use the detection callback of BleakScanner to operate on the advertising data. There is an example in the examples folder here. |
Beta Was this translation helpful? Give feedback.
If the devices are non-connectable, I would expect that you cannot connect to them so BleakClient isn't going to be useful in this case. You can use the detection callback of BleakScanner to operate on the advertising data. There is an example in the examples folder here.