demo how to using ble scan to detect ibeacon
this app is won the 3rd prize in Battle Hack 2015 :) this is just the client of all system but you can view the scan algorithm that I made. I just do a simple scan with using median of distance to better accuracy.
this demo is also integrated with BrainTree and Paypal.