Can I make an iPhone / iPad broadcast as an Eddystone beacon?

We can get iOS devices to act as an iBeacon transmitter, and we can find the nearest iBeacons if we find out their proximity UUIDs.

With the Google Proximity Beacon API, you can configure and register the real Beacon equipment, and we can find them using the Messaging Messaging API.

But is it possible for iOS devices to broadcast as Eddystone Beacons signals? And this should be available for detection by applications that scan Eddystone beacons.

Thanks in advance.

+5
source share
1 answer

Unfortunately this is not possible. . Although iOS devices can advertise Bluetooth LE advertisements (which are the type of advertisements used by Eddystone) using the CoreBluetooth API, you cannot attach the required data. This is because CBAdvertisementDataServiceDataKey , which associates service data with ads, is read-only in iOS. You cannot set the data.

So, for now, you want the iOS device to advertise something like this in order to pass the Eddystone-UID:

0201060303aafe1516aafe00e72f234454f4911ba9ffa6000000000001

You end up advertising something like this:

0201060303aafe0316aafe

This excludes code like Eddystone-UID (00), calibrated power (e7), namespace identifier (2f234454f4911ba9ffa6), and instance ID (000000000001). As a result, it will not be recognized as an Eddystone-UID frame.

+11
source

Source: https://habr.com/ru/post/1242188/


All Articles