understanding of ibeacons for ble projects

15
iBeacons

Upload: cumulations-technologies

Post on 21-Jan-2018

188 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Understanding of iBeacons for BLE Projects

iBeacons

Page 2: Understanding of iBeacons for BLE Projects

List of Things

-What are iBeacons?

-What beacons do?

-How to receive beacon data in app?

Page 3: Understanding of iBeacons for BLE Projects

iBeacon

- iBeacons are Apple’s Bluetooth based Beacon concepts

- Consist of 2 parts-Broadcaster(Beacon Device)-Receiver(Smartphone app)

Page 4: Understanding of iBeacons for BLE Projects

OLAS

Page 5: Understanding of iBeacons for BLE Projects

OLAS

Page 6: Understanding of iBeacons for BLE Projects

OLAS

Page 7: Understanding of iBeacons for BLE Projects

iBeacon Structure

Page 8: Understanding of iBeacons for BLE Projects

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.

Page 9: Understanding of iBeacons for BLE Projects

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.

Page 10: Understanding of iBeacons for BLE Projects

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

Page 11: Understanding of iBeacons for BLE Projects

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

Page 12: Understanding of iBeacons for BLE Projects

Start Ranging BeaconsinRegion

Page 13: Understanding of iBeacons for BLE Projects

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-//**

Page 14: Understanding of iBeacons for BLE Projects

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))

Page 15: Understanding of iBeacons for BLE Projects

Thank You