Hello,
is it possible to access the LE Limited/General Discoverable flags on iOS?
Thanks!
Hello,
is it possible to access the LE Limited/General Discoverable flags on iOS?
Thanks!
Hi michael! Could you please elaborate on what you want to achieve? Do you want to use your phone to see what advertising flag is set on your BLE device?
Hi, yes in fact we would like to know if the BLE device is in Limited or General Discoverable mode. It is easy on Android. However, we haven't been able to figure out a way to do this on iOS.
Hi Michael!
As this is more of an apple development case, you might find more relevant information on other forums.
However, if you take a look at this site:
When the central manager object discovers a peripheral, it calls the centralManager(_:didDiscover:advertisementData:rssi:) method of its delegate object.
When following the link above we find that the advertisement data can be accessed through the keys listed in Advertisement Data Retrieval Keys. The way I interpret the keys, the flags is not available on iOS, and the RAW advertisement data is hidden.
You can look at this forum-post discussing a similar topic:
Hope that helps.
Best regards,
Joakim.