Search code examples
iosiphonebluetoothreverse-engineeringibeacon

Building an iBeacon using CBPeripheralManager


I'm trying to create an iBeacon with CBPeripheralManager (so it can run in the background).

Tried to discover the CBService and CBCharacteristics of both Estimotes beacons and an iPad acting as an iBeacon (CBBeacon) but with little luck so far.

I wonder if someone has already done this or faced such a scenario. I would really appreciate it a lot If someone has already discovered CBPeripheral - CBService - CBCharacteristic structure.

Thanks a lot in advance!


Solution

  • The iBeacon profile is different to the GATT profile that is supported by CoreBluetooth, so you cannot build an iBeacon advertisement using CoreBluetooth.

    For information on the iBeacon profile refer to this answer - What is the iBeacon Bluetooth Profile