SlideShare uma empresa Scribd logo
1 de 13
Baixar para ler 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

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Semelhante a 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
 

Semelhante a 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!”
 

Último

Último (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

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