SlideShare a Scribd company logo
1 of 13
Download to read offline
Trifork iBeacon Demo
Mobile Lunch 05.05.2014
Bluetooth Low Energy (BLE)
iBeacons
• iBeacon is a BLE profile
specification formalised by
Apple. It is not a standard.
• It can work on all devices
that support Bluetooth LE,
not just iOS.
• 2 primary use cases:
Proximity and Ranging.
• Works indoors.
What is iBeacons
Bluetooth LE Support
• Requires a Bluetooth LE chip. Only newer phones/
tablets has it.
• Windows: Phone 8.1 (?%), Lumia 520, 620, 625,
720
• iOS: 7.0+ (87%), iPhone 4s+, iPad 3rd generation+
• Android: 4.3 (14%), Samsung Galaxy S3+, Nexus
4+
iBeacon protocol
• Advertisement bluetooth
package.
• Mac-address is spoofed on
iOS.
• Proximity UUID: 16 byte UUID
• Major: 0 - 65.535
• Minor: 0 - 65.535
• TxPower: Signal Strength at
1m from iBeacon.
Detecting a iBeacon
• Can make drive-by-detection hard. Battery matters on both
ends.
• Devices do not talk to each other. Phone simply listens to
heartbeats from iBeacon.
• Scan time and intervals should be non-regular numbers,
eg. scan period of 1.1s. instead of 1s.
Detecting proximity
• Just check for existence of the
right combination of
<Proximity UUID, Major,
Minor>
• No guarantee that iBeacon is
unique.
Detecting range
• Hard problem. Many scientific papers
on the subject.
• Water blocks bluetooth signals. Guess
what humans are mostly made of?
• Algorithm not known on iOS.
• Thus only rough estimates ->
Immediate, Near, Far.
• Recommendation is to use relative
range instead of absolute.
• “You know if you are close to an
iBeacon, otherwise you don’t know
anything”.
Code/SDK’s
• Android doesn’t not provide a common API. Each
app must implement it.
• Androids Geofencing API doesn’t support
iBeacons (yet).
• SDK’s exist that make it easy: Estimote, Radius
Network, Gimbal (soon?).
• Demo app: https://github.com/cmelchior/trifork-
ibeacon-demo
Keynote now has animated GIF Support :)
Lessons learned
• Android Bluetooth stack is flawed. Crashes when it has
seen 2000 MAC’s: https://code.google.com/p/android/
issues/detail?id=67272
• When monitoring, battery impact is small. It is still
noticeable over a day however. Scan intervals
matters!!!
• Ranging is very unprecise.
• Exit/Entry into a region can happen very frequently due
to scans missing the iBeacon.
Links
• http://en.wikipedia.org/wiki/IBeacon
• http://www.warski.org/blog/2014/01/how-ibeacons-work/
• http://stackoverflow.com/questions/18906988/what-is-the-ibeacon-
bluetooth-profile
• http://stackoverflow.com/questions/20416218/understanding-
ibeacon-distancing
• http://localz.co/blog/ibeacon-ble-hardware-commercial-comparison/
• https://github.com/RadiusNetworks/android-ibeacon-service
• https://github.com/Estimote/Android-SDK

More Related Content

What's hot

Social Zombies Gone Wild: Totally Exposed and Uncensored
Social Zombies Gone Wild: Totally Exposed and UncensoredSocial Zombies Gone Wild: Totally Exposed and Uncensored
Social Zombies Gone Wild: Totally Exposed and Uncensored
Tom Eston
 
I phone presentation
I phone presentationI phone presentation
I phone presentation
rosenbe_jenn
 

What's hot (20)

The Hardware to Web Commerce Revolution
The Hardware to Web Commerce RevolutionThe Hardware to Web Commerce Revolution
The Hardware to Web Commerce Revolution
 
Mobile Beacons 101
Mobile Beacons 101Mobile Beacons 101
Mobile Beacons 101
 
iBeacon Workshop by Reque.st
iBeacon Workshop by Reque.stiBeacon Workshop by Reque.st
iBeacon Workshop by Reque.st
 
Distance communication and AAC
Distance communication and AACDistance communication and AAC
Distance communication and AAC
 
Android vs iOS
Android vs iOSAndroid vs iOS
Android vs iOS
 
Technology management
Technology managementTechnology management
Technology management
 
What is iBeacon in iOS?
What is iBeacon in iOS?What is iBeacon in iOS?
What is iBeacon in iOS?
 
iBeacon Indoor Proximity System
iBeacon Indoor Proximity SystemiBeacon Indoor Proximity System
iBeacon Indoor Proximity System
 
I beacons 101
I beacons 101I beacons 101
I beacons 101
 
Indoor location in mobile applications using iBeacons
Indoor location in mobile applications using iBeaconsIndoor location in mobile applications using iBeacons
Indoor location in mobile applications using iBeacons
 
Digital jewellery
Digital jewelleryDigital jewellery
Digital jewellery
 
Social Zombies Gone Wild: Totally Exposed and Uncensored
Social Zombies Gone Wild: Totally Exposed and UncensoredSocial Zombies Gone Wild: Totally Exposed and Uncensored
Social Zombies Gone Wild: Totally Exposed and Uncensored
 
Smartphone
SmartphoneSmartphone
Smartphone
 
Apple watch
Apple watchApple watch
Apple watch
 
iPhone
iPhone iPhone
iPhone
 
Apple iphone 6 and iphone 6 plus Full Review
Apple iphone 6 and iphone 6 plus Full ReviewApple iphone 6 and iphone 6 plus Full Review
Apple iphone 6 and iphone 6 plus Full Review
 
I phone presentation
I phone presentationI phone presentation
I phone presentation
 
Location-Aware Salesforce1 Development with Beacons
Location-Aware Salesforce1 Development with BeaconsLocation-Aware Salesforce1 Development with Beacons
Location-Aware Salesforce1 Development with Beacons
 
The Personal Assistant
The Personal AssistantThe Personal Assistant
The Personal Assistant
 
Not another *$#@ app: How to avoid IoT fatigue
Not another *$#@ app: How to avoid IoT fatigueNot another *$#@ app: How to avoid IoT fatigue
Not another *$#@ app: How to avoid IoT fatigue
 

Similar to Trifork iBeacon Demo Lunch Talk

Phonegap for Engineers
Phonegap for EngineersPhonegap for Engineers
Phonegap for Engineers
Brian LeRoux
 
[CB16] BLE authentication design challenges on smartphone controlled IoT devi...
[CB16] BLE authentication design challenges on smartphone controlled IoT devi...[CB16] BLE authentication design challenges on smartphone controlled IoT devi...
[CB16] BLE authentication design challenges on smartphone controlled IoT devi...
CODE BLUE
 
Better With Friends: Android+NFC+Arduino
Better With Friends: Android+NFC+ArduinoBetter With Friends: Android+NFC+Arduino
Better With Friends: Android+NFC+Arduino
Pearl Chen
 

Similar to Trifork iBeacon Demo Lunch Talk (20)

IBeacons and Eddystone
IBeacons and EddystoneIBeacons and Eddystone
IBeacons and Eddystone
 
[CocoaHeads Tricity] Estimote Beacons - world most popular iBeacon implementa...
[CocoaHeads Tricity] Estimote Beacons - world most popular iBeacon implementa...[CocoaHeads Tricity] Estimote Beacons - world most popular iBeacon implementa...
[CocoaHeads Tricity] Estimote Beacons - world most popular iBeacon implementa...
 
LocalSocial O Reilly Webcast Slides - A Tour of the Beacosystem
LocalSocial O Reilly Webcast Slides - A Tour of the BeacosystemLocalSocial O Reilly Webcast Slides - A Tour of the Beacosystem
LocalSocial O Reilly Webcast Slides - A Tour of the Beacosystem
 
iOS Bootcamp: learning to create awesome apps on iOS using Swift (Lecture 7)
iOS Bootcamp: learning to create awesome apps on iOS using Swift (Lecture 7)iOS Bootcamp: learning to create awesome apps on iOS using Swift (Lecture 7)
iOS Bootcamp: learning to create awesome apps on iOS using Swift (Lecture 7)
 
ibeacons, Privacy & Customer Segmentation - StreetHawk
ibeacons, Privacy & Customer Segmentation - StreetHawkibeacons, Privacy & Customer Segmentation - StreetHawk
ibeacons, Privacy & Customer Segmentation - StreetHawk
 
PayPal Beacon and Apple iBeacon
PayPal Beacon and Apple iBeaconPayPal Beacon and Apple iBeacon
PayPal Beacon and Apple iBeacon
 
Phonegap for Engineers
Phonegap for EngineersPhonegap for Engineers
Phonegap for Engineers
 
Beacosystem Talk @ MongoDB User Group Dublin @sos100
Beacosystem Talk @ MongoDB User Group Dublin @sos100Beacosystem Talk @ MongoDB User Group Dublin @sos100
Beacosystem Talk @ MongoDB User Group Dublin @sos100
 
[CB16] BLE authentication design challenges on smartphone controlled IoT devi...
[CB16] BLE authentication design challenges on smartphone controlled IoT devi...[CB16] BLE authentication design challenges on smartphone controlled IoT devi...
[CB16] BLE authentication design challenges on smartphone controlled IoT devi...
 
Beacosystem Tour for GDG Dublin - Sean O Sullivan
Beacosystem Tour for GDG Dublin - Sean O Sullivan Beacosystem Tour for GDG Dublin - Sean O Sullivan
Beacosystem Tour for GDG Dublin - Sean O Sullivan
 
Why Streethawk re-wrote ibeacon handling on Android
Why Streethawk re-wrote ibeacon handling on AndroidWhy Streethawk re-wrote ibeacon handling on Android
Why Streethawk re-wrote ibeacon handling on Android
 
Internet of Things 101 - Part II
Internet of Things 101 - Part IIInternet of Things 101 - Part II
Internet of Things 101 - Part II
 
Development of a mobile app for Android
Development of a mobile app for AndroidDevelopment of a mobile app for Android
Development of a mobile app for Android
 
Internet of things - The Present & The Future
Internet of things - The Present & The FutureInternet of things - The Present & The Future
Internet of things - The Present & The Future
 
Introduction on iBeacons
Introduction on iBeaconsIntroduction on iBeacons
Introduction on iBeacons
 
Taller IoT en la Actualidad
Taller IoT en la ActualidadTaller IoT en la Actualidad
Taller IoT en la Actualidad
 
Better With Friends: Android+NFC+Arduino
Better With Friends: Android+NFC+ArduinoBetter With Friends: Android+NFC+Arduino
Better With Friends: Android+NFC+Arduino
 
160625 arduino101
160625 arduino101160625 arduino101
160625 arduino101
 
“Secure Hardware Architecture for Embedded Vision,” a Presentation from Neuro...
“Secure Hardware Architecture for Embedded Vision,” a Presentation from Neuro...“Secure Hardware Architecture for Embedded Vision,” a Presentation from Neuro...
“Secure Hardware Architecture for Embedded Vision,” a Presentation from Neuro...
 
Lviv MDDay 2014. Антон Голуб “Pebble and i os – notify me fully!”
Lviv MDDay 2014. Антон Голуб “Pebble and i os – notify me fully!”Lviv MDDay 2014. Антон Голуб “Pebble and i os – notify me fully!”
Lviv MDDay 2014. Антон Голуб “Pebble and i os – notify me fully!”
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Trifork iBeacon Demo Lunch Talk

  • 1. Trifork iBeacon Demo Mobile Lunch 05.05.2014
  • 3. iBeacons • iBeacon is a BLE profile specification formalised by Apple. It is not a standard. • It can work on all devices that support Bluetooth LE, not just iOS. • 2 primary use cases: Proximity and Ranging. • Works indoors.
  • 5. Bluetooth LE Support • Requires a Bluetooth LE chip. Only newer phones/ tablets has it. • Windows: Phone 8.1 (?%), Lumia 520, 620, 625, 720 • iOS: 7.0+ (87%), iPhone 4s+, iPad 3rd generation+ • Android: 4.3 (14%), Samsung Galaxy S3+, Nexus 4+
  • 6. iBeacon protocol • Advertisement bluetooth package. • Mac-address is spoofed on iOS. • Proximity UUID: 16 byte UUID • Major: 0 - 65.535 • Minor: 0 - 65.535 • TxPower: Signal Strength at 1m from iBeacon.
  • 7. Detecting a iBeacon • Can make drive-by-detection hard. Battery matters on both ends. • Devices do not talk to each other. Phone simply listens to heartbeats from iBeacon. • Scan time and intervals should be non-regular numbers, eg. scan period of 1.1s. instead of 1s.
  • 8. Detecting proximity • Just check for existence of the right combination of <Proximity UUID, Major, Minor> • No guarantee that iBeacon is unique.
  • 9. Detecting range • Hard problem. Many scientific papers on the subject. • Water blocks bluetooth signals. Guess what humans are mostly made of? • Algorithm not known on iOS. • Thus only rough estimates -> Immediate, Near, Far. • Recommendation is to use relative range instead of absolute. • “You know if you are close to an iBeacon, otherwise you don’t know anything”.
  • 10. Code/SDK’s • Android doesn’t not provide a common API. Each app must implement it. • Androids Geofencing API doesn’t support iBeacons (yet). • SDK’s exist that make it easy: Estimote, Radius Network, Gimbal (soon?). • Demo app: https://github.com/cmelchior/trifork- ibeacon-demo
  • 11. Keynote now has animated GIF Support :)
  • 12. Lessons learned • Android Bluetooth stack is flawed. Crashes when it has seen 2000 MAC’s: https://code.google.com/p/android/ issues/detail?id=67272 • When monitoring, battery impact is small. It is still noticeable over a day however. Scan intervals matters!!! • Ranging is very unprecise. • Exit/Entry into a region can happen very frequently due to scans missing the iBeacon.
  • 13. Links • http://en.wikipedia.org/wiki/IBeacon • http://www.warski.org/blog/2014/01/how-ibeacons-work/ • http://stackoverflow.com/questions/18906988/what-is-the-ibeacon- bluetooth-profile • http://stackoverflow.com/questions/20416218/understanding- ibeacon-distancing • http://localz.co/blog/ibeacon-ble-hardware-commercial-comparison/ • https://github.com/RadiusNetworks/android-ibeacon-service • https://github.com/Estimote/Android-SDK