Published on November 20, 2013
Geofences & iBeacons Alejandro Rupérez Programmer Analyst (Research & Development) email@example.com
Geofence • A geofence is a virtual perimeter or barrier for real-world geographic areas. • A geofence could be dynamically generated as in a radius around a point location.
Geofence • When the location-aware device of a location-based service (LBS) user enters or exits a geofence, the device receives a generated notiﬁcation.
iBeacon • "A new class of low-powered, low-cost transmitters that can notify nearby iOS 7 devices of their presence." - Apple Inc.
iBeacon • Works on Low Energy Bluetooth (BLE), also known as Bluetooth 4.0 or Bluetooth Smart. • iBeacons has endless possibilities like indoor positioning systems or social media check-ins.
Example • When the user enters in the shopping center’s geofence, the application is set to hear the iBeacons with their ProximityUUID (Universally unique identiﬁer).
Example • We can detect and triangulate the user's position within the shopping center placing several iBeacons with the same identiﬁer ProximityUUID and a major identiﬁer for each store.
Example • We can also detect and triangulate the user's position within the store placing several iBeacons with the same identiﬁer ProximityUUID, the store’s major identiﬁer and minor identiﬁers for each section.
Example • We can detect when the user approaches or moves away from a section for advertising or offers. • We can generate a payment area where you can pay with the phone without having to put the phone close to a NFC device.
How to implement this on iOS devices?
iOS Implementation • Add the CoreLocation.framework • Implement the protocol CLLocationManagerDelegate. • Create a CLLocationManager instance and set the delegate.
iOS Implementation • CLRegion *region = [[CLRegion alloc] initCircularRegionWithCenter:CLLocation Coordinate2DMake(40.44699, -3.58719) radius:150 identiﬁer:@"Shopping Center Geofence"];
iOS Implementation • [locationManager startMonitoringForRegion:region];
iOS Implementation • - (void)locationManager: (CLLocationManager *)manager didEnterRegion:(CLRegion *)region • - (void)locationManager: (CLLocationManager *)manager didExitRegion:(CLRegion *)region
iOS Implementation • CLBeaconRegion *beaconRegion = [[CLBeaconRegion alloc] initWithProximityUUID:[[NSUUID alloc] initWithUUIDString:@"01234567-89ABCDEF-FEDC-BA9876543210"] identiﬁer:@"Shopping Center iBeacons"];
iOS Implementation • [locationManager startRangingBeaconsInRegion: beaconRegion];
iOS Implementation • - (void)locationManager: (CLLocationManager *)manager didRangeBeacons:(NSArray *)beacons inRegion:(CLBeaconRegion *)region • The beacons NSArray contains detected iBeacons in CLBeacon objects.
• iOS Implementation CLBeacon Class Reference: • • • • proximityUUID • accuracy (The accuracy of the proximity value, measured in meters from the beacon.) • rssi (The received signal strength of the beacon, measured in decibels.) major minor proximity (The relative distance to the beacon: Immediate, Near, Far or Unknown.)
Geofences & iBeacons Keynote at Gigigo by Alejandro Rupérez - Programmer Analyst - Research & Development.
cut together iBeacons video for presentation. ... Gigigo Keynote - Geofences & iBeacons - Duration: 30:01. Alejandro Rupérez 1,698 views. 30:01
View 3684 Ibeacons posts, presentations, experts, and more. Get the professional knowledge you need on LinkedIn.
View 284 Geofences posts, presentations, experts, and more. Get the professional knowledge you need on LinkedIn.
Building Cross-Platform iBeacon Apps ... Radius Networks offers backend services for configuring geofences and iBeacons, ... aankondigingen uit de keynote;
Nach Apples gestriger Keynote zu den neuen iPhones, ... Ähnlich wie mit GPS und Geofences, ... Da diese iBeacons aber über Bluetooth funktionieren, ...