Reputation: 87
I'm trying to retrieve the mac address from an Eddystone-uid packet on ios. Android allows me access to it easily. I know that on ios, the CoreBluetooth library obfuscates pretty much all received ibeacon data values. Eddystone is much more open on ios, but I'm not sure how to retrieve the mac address data, or if it's available at all.
Upvotes: 1
Views: 1137
Reputation: 64916
Scanning for Eddystone beacons on iOS uses CoreBluetooth APIs to access the Bluetooth LE service advertisements. You cannot access the raw MAC address of the beacon advertisement using these APIs (or any other public APIs) on iOS. Apple blocks access to the Bluetooth MACs out of privacy and anti-tracking concerns, CoreBluetooth will assign an auto-generated GUID to each unique Bluetooth device which correlates to the MAC, but does not have the same value.
Bottom line: while you can access the Bluetooth MAC on Android you cannot do it on iOS. Sorry.
Upvotes: 2