understanding of ibeacons for ble projects
TRANSCRIPT
iBeacons
List of Things
-What are iBeacons?
-What beacons do?
-How to receive beacon data in app?
iBeacon
- iBeacons are Apple’s Bluetooth based Beacon concepts
- Consist of 2 parts-Broadcaster(Beacon Device)-Receiver(Smartphone app)
OLAS
OLAS
OLAS
iBeacon Structure
iBeacon Structure Abbreviation
UUID:FDA50693-A4E2-4FB1-AFCF-C6EB07647825-
proximityUUID is a property which is unique to each company.
Major ID:28-:is used to group a related set of beacons.
iBeacon Structure Abbreviation
Minor ID:70 - is used to identify individual beacons.
Tx Power:TX power is the strength of the signal measured at 1 meter from the iBeacon.The value ranges between -40 dBm and +4 dBm.
How to receive beacons broadcasting data in app?
CoreLocation framework
CLBeaconRegion
What is CLBeaconRegion?-A region containing similar beacons
-To get the similar beacons we need to define a region
Form a beacon region with the UUID of beacon
Each Beacon manufacturing company has unique UUID.//**CLBeaconRegion *region= [[CLBeaconRegion alloc] initWithProximityUUID:@“FDA50693-A4E2-4FB1-AFCF-C6EB07647825”
identifier:@“your Own identifier”];**//
Start Ranging the beacon in region
Start Ranging BeaconsinRegion
Start Ranging BeaconsinRegion
Beacons will be available for that particular region with proximity.(proximity means range:immediate,Near,Far,Unknown)Based on the proximity perform actions
-//** (void)locationManager:(CLLocationManager*)manager didRangeBeacons:(NSArray *)beacons inRegion:(CLBeaconRegion *)region-//**
Start Ranging BeaconsinRegion
Beacons Array<__NSArrayM 0x174253260>(CLBeacon (uuid:FDA50693-A4E2-4FB1-AFCF-C6EB07647825, major:28, minor:70, proximity:2 +/- 0.25m, rssi:-59))
region:CLBeaconRegion (identifier:’your own identifier', uuid:FDA50693-A4E2-4FB1-AFCF-C6EB07647825, major:(null), minor:(null))
Thank You