I've been struggling a lot with Bluetooth LE for a while, I could successfully turn a Raspberry Pi into an iBeacon following one of the many tutorials online that involves using Bluez stack.
However I noticed, when testing the iBeacon with iOS apps available in the App Store, that I could connect to the iBeacons and request their services (or at least that's what some apps intended).
My intention is to broadcast a message, let's say 'Hello World', so I can see it in a custom iOS app; however since iBeacons advertise only location data based on a UUID profile I got stuck.
Based on the behaviour from the iBeacon apps mentioned above, they seem to try to read the iBeacon's services, I was thinking that maybe I can make a service in my iBeacon that can contain the message I want to broadcast so when the iOS app reads the service's description/characteristics there could be the message.
I don't know if what I'm saying it's a complete nonsense, but if it's actually possible I would like to know how to make said services in my Raspberry Pi.