Building apps with iBeacons. How do you build an app using Apple's iBeacons. Why would you want to? What are the challenges and the issues with beacons? Why should we support open beacon HW and SW.
physical places • Context matters • People need access to data simply photo credit: Let Ideas Compete (http://www.flickr.com/photos/question_everything/3251369226/)
physical places • Context matters • People need access to data simply • Place is very important to people photo credit: Let Ideas Compete (http://www.flickr.com/photos/question_everything/3251369226/)
physical places • Context matters • People need access to data simply • Place is very important to people • Where determines when photo credit: Let Ideas Compete (http://www.flickr.com/photos/question_everything/3251369226/)
physical places • Context matters • People need access to data simply • Place is very important to people • Where determines when • Beacons can tie identity (and data) to location photo credit: Let Ideas Compete (http://www.flickr.com/photos/question_everything/3251369226/)
physical places • Context matters • People need access to data simply • Place is very important to people • Where determines when • Beacons can tie identity (and data) to location • Beacons can tie identity (and data) to things photo credit: Let Ideas Compete (http://www.flickr.com/photos/question_everything/3251369226/)
physical places • Context matters • People need access to data simply • Place is very important to people • Where determines when • Beacons can tie identity (and data) to location • Beacons can tie identity (and data) to things • Beacons bring physical context to a digital experience photo credit: Let Ideas Compete (http://www.flickr.com/photos/question_everything/3251369226/)
is crowded, but advertising is open… …but not once all Wi-Fi channels are considered There’s also IEEE 802.15.4 (aka ZigBee) Did I mention cordless phones, microwaves, video, and car alarms!
Apple proprietary • 10 Hz broadcast rate • UUID, major, minor • Broadcast power • Extension of Core Location • Power friendly • Supports all newer devices
• minor • Beacon Range • proximity • accuracy • rssi Unique Identifier for Beacon group Most significant unique for beacon Least significant unique for beacon
• minor • Beacon Range • proximity • accuracy • rssi Unique Identifier for Beacon group Most significant unique for beacon Least significant unique for beacon General proximity to beacon
• minor • Beacon Range • proximity • accuracy • rssi Unique Identifier for Beacon group Most significant unique for beacon Least significant unique for beacon General proximity to beacon 1σ horizontal accuracy
• minor • Beacon Range • proximity • accuracy • rssi Unique Identifier for Beacon group Most significant unique for beacon Least significant unique for beacon General proximity to beacon 1σ horizontal accuracy Average RSSI of received samples (dB)
Represents the current proximity of an entity. * */ typedef NS_ENUM(NSInteger, CLProximity) { CLProximityUnknown, CLProximityImmediate, CLProximityNear, CLProximityFar } NS_ENUM_AVAILABLE_IOS(7_0); You can use the accuracy property to determine which beacon is closest within a proximity
Subscribe to onEntry/ onExit events 3. After entry to the region, start ranging beacons 4. Your app logic here 5. After region exit, stop ranging beacons photo credit: InSapphoWeTrust (http://www.flickr.com/photos/skinnylawyer/7331523378)
don’t notify on app restart • CLBeacon is a composite of a number of samples • Accuracy is highly influenced by RF interference • Proximity may be last known value, check accuracy too • Not all iBeacons advertise at 10Hz • Best experience requires user participation • Can’t compare CLBeacons directly • CLBeacons change between delegate calls • Managing beacons and beacon regions is harder than it should be • iOS Only There is help! KCSIBeacon (and others) photo credit: odolphie http://www.flickr.com/photos/odolphie/2849889847/
Beacons spoofing requires user interaction Not reliable enough to make it seamless Expect this in the future photo credit: Nortis (http://www.flickr.com/photos/blomstereng/224657301/)
win when users want to use beacon technology Most importantly, remember to have fun and build cool things! photo credit: sk8geek (http://www.flickr.com/photos/sk8geek/10543248844/)