CoreBluetooth: How to get advertisement data and scan response?
Is there a way to get the BLE scan response when scanning for devices?
Is there a way to get advertisement data from surrounding BLE device?
ccc last edited by
Can you provide some code along with these questions? http://omz-software.com/pythonista/docs/ios/cb.html Seems to have great working examples that should show you what is possible.
From the documentation, I couldn't find any info about the scan response...
So I was wondering if there is another way to access the advertised data. Or if there is just no way?
My BLE device uses BLE advertising to give some info to the Central. And I was willing to use pythonista as a debug tool to troubleshot my device, but it seems it won't be possible...
JonB last edited by
If you are willing to delve into objc_util, you should be able to implement a central manager delegate, and implement centralManager_didDiscoverPeripheral_advertisementData_RSSI_, I think.. Haven't tried it though.
Thx for your reply JonB.
I might just go for a std ObjC app I would have to dig through the objc_util thing ^^
The thing I don't understand is why the cb module doesn't expose the advData and RSSI params from the CoreBluetooth API.