add iBeacon code.

Signed-off-by: Edward Fung <edwardfung@redso.com.hk>