Complete example of using Bluez as an iBeacon