Sample code to figure out how iBeacons work...