You can try using Bluetooth LE (CoreBluetooth) instead of iBeacon if your main goal is to send data between two devices.
You can see how this is done in this sample project: SimpleShare: Easy Bluetooth LE Sharing for iOS
This method is designed to advertise your Service application via Bluetooth LE, and then, when another device detects your phone and connects, your phone starts updating the Characteristic value to send longer text strings in small fragments corresponding to Bluetooth LE data size limits . SimpleShare uses this technique to send an array of strings from one phone to another, which can be used to send yes / no between phones, but also to send object or user identifiers between phones, which can then be used to download more information about this user ID from the web service.
CoreBluetooth also has the advantage over iBeacon that it can continue to work when the application is in the background, so if knowing the specifics of each distance by phone is less important to you than exchanging text between phones, this may be the best structure to use for your application .
Hope this helps!
Laura source share