SlideShare a Scribd company logo
1 of 31
Download to read offline
integrating iBeacons
into your
project
J Carter / Glimworm IT BV
and.. Glimworm Beacons
12th Feb 2014
Appsterdam Lunchtime Lecture
Friday, 14 February 14
Concepts
•Monitoring
•Ranging
•Advertising

Friday, 14 February 14
Monitoring

Friday, 14 February 14
Monitoring
Inside
Inside

Inside
Inside

Friday, 14 February 14

Inside

Inside

Inside
Monitoring

Friday, 14 February 14
Friday, 14 February 14
#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
@interface glimbeaconViewController : UIViewController
<CLLocationManagerDelegate>
@end

Friday, 14 February 14
@implementation glimbeaconViewController
{
NSMutableDictionary *_beacons;
CLLocationManager *_locationManager;
NSMutableArray *_rangedRegions;
CLBeaconRegion *_region;
}
...
- (void)viewDidLoad
{
[super viewDidLoad];
_locationManager = [[CLLocationManager alloc] init];
_locationManager.delegate = self;
}
- (void) locationManager:(CLLocationManager *)manager didRangeBeacons:
(NSArray *)beacons inRegion:(CLBeaconRegion *)region
{
if ([beacons count] > 0) {
// Handle your found beacons here
CLBeacon *beacon = [beacons objectAtIndex:0];
NSString *_cnt = [[NSString alloc] initWithFormat:@"Number of
beacons is : %lu and the first one is %f away from you",(unsigned long)
[beacons count],beacon.accuracy];
NSLog(_cnt);
} else {
NSLog(@"there are no beacons in range");
}
}
-(void)viewDidAppear:(BOOL)animated
{
NSUUID *proximityUUID = [[NSUUID alloc] initWithUUIDString:@"74278bdab644-4520-8f0c-720eaf059935"];
_region = [[CLBeaconRegion alloc] initWithProximityUUID:proximityUUID
identifier:@"Glimworm iBeacon"];
[_locationManager startRangingBeaconsInRegion:_region];
}
-(void) viewDidDisappear:(BOOL)animated
{
[_locationManager stopRangingBeaconsInRegion:_region];
}

Friday, 14 February 14
-(void)viewDidAppear:(BOOL)animated
{
NSUUID *proximityUUID = [[NSUUID alloc]
initWithUUIDString:@"74278bda-b644-4520-8f0c-720eaf059935"];
_region = [[CLBeaconRegion alloc]
initWithProximityUUID:proximityUUID identifier:@"Glimworm iBeacon"];
[_locationManager startMonitoringForRegion:_region];
}
- (void) locationManager:(CLLocationManager *)manager
didStartMonitoringForRegion:(CLRegion *)region
{
[_locationManager requestStateForRegion:region];
}
- (void) locationManager:(CLLocationManager *)manager didDetermineState:
(CLRegionState)state forRegion:(CLRegion *)region
{
switch (state) {
case CLRegionStateInside:
/* it would be smart to start ranging beacons here */
break;
case CLRegionStateOutside:
case CLRegionStateUnknown:
default:
/* beacons will typically be on a low refresh */
/* so they will probably flip flop a bit when you are in
range */
/* I would advise to stop ranging on a timer */
NSLog(@"Region unknown");
}
}

Friday, 14 February 14
Inside
Inside

Outside

Inside
Inside

Friday, 14 February 14

Inside

Inside

Inside
Ranging

Friday, 14 February 14
Hyper Local Content
Friday, 14 February 14
Near

Far

low = 5m , default = 50m, high = 100m
Friday, 14 February 14
Friday, 14 February 14
Friday, 14 February 14
From Monitoring
{
identifier : “......”,
regionState : “inside”
}

From Ranging
{
beacons : [ {
UUID : “0000-0000-0000-0000”,
major : 1,
minor : 1,
accuracy : 20.4,
proximity : ‘near’
},{ ...}]
}

Friday, 14 February 14
Topology

Friday, 14 February 14
UUID : “A”
major : 1
minor : 1

UUID : “A”
major : 1
minor : 2

UUID : “A”
major : 2
minor : 1
Friday, 14 February 14

UUID : “A”
major : 1
minor : 3
UUID : “B”
major : 1
UUID : “A”
minor : 1
major : 2
minor : 2
UUID : “A”
major : 1
minor : 1

UUID : “A”
major : 1
minor : 2

UUID : “A”
major : 2
minor : 1
Friday, 14 February 14

UUID : “A”
major : 1
minor : 3
UUID : “B”
major : 1
UUID : “A”
minor : 1
major : 2
minor : 2
On a Glimworm Beacon you
can set:
UUID: “0000-0000-000-0000”
major : 0 - 63335
minor : 0 - 65535
power : 5m / 50m / 100m
Interval : 100ms, 1.2s , 2.4s
Pincode : 000000

Friday, 14 February 14
Over the air configuration

Friday, 14 February 14
USP

Friday, 14 February 14
USP

Friday, 14 February 14
Android

Friday, 14 February 14
Radius Networks

Friday, 14 February 14
Friday, 14 February 14
Friday, 14 February 14
Friday, 14 February 14
Friday, 14 February 14
Radius Networks

Friday, 14 February 14
It’s the end
of the world
as we know it

Friday, 14 February 14

More Related Content

More from Jonathan Carter

J Carter presentation at Amsterdam Ibeacon Living Lab launch event
J Carter presentation at Amsterdam Ibeacon Living Lab launch event J Carter presentation at Amsterdam Ibeacon Living Lab launch event
J Carter presentation at Amsterdam Ibeacon Living Lab launch event Jonathan Carter
 
Beacon platforms for appcelerator meetup
Beacon platforms for appcelerator meetupBeacon platforms for appcelerator meetup
Beacon platforms for appcelerator meetupJonathan Carter
 
Glimworm beacos i beacon workshop ticonf amsterdam j carter.pdf
Glimworm beacos i beacon workshop ticonf amsterdam   j carter.pdfGlimworm beacos i beacon workshop ticonf amsterdam   j carter.pdf
Glimworm beacos i beacon workshop ticonf amsterdam j carter.pdfJonathan Carter
 
Integrating iBeacons into your appcelerator project using Glimworm Beacons
Integrating iBeacons into your appcelerator project using Glimworm BeaconsIntegrating iBeacons into your appcelerator project using Glimworm Beacons
Integrating iBeacons into your appcelerator project using Glimworm BeaconsJonathan Carter
 
The Internet of Things, the Maker movement and a call for a Makers telecom ne...
The Internet of Things, the Maker movement and a call for a Makers telecom ne...The Internet of Things, the Maker movement and a call for a Makers telecom ne...
The Internet of Things, the Maker movement and a call for a Makers telecom ne...Jonathan Carter
 
Apps 4-antwerp-dec-2012-j-carter-parkshark-and-parkshark-api-antwerp
Apps 4-antwerp-dec-2012-j-carter-parkshark-and-parkshark-api-antwerpApps 4-antwerp-dec-2012-j-carter-parkshark-and-parkshark-api-antwerp
Apps 4-antwerp-dec-2012-j-carter-parkshark-and-parkshark-api-antwerpJonathan Carter
 
Parkshark end of year report 2012
Parkshark end of year report 2012Parkshark end of year report 2012
Parkshark end of year report 2012Jonathan Carter
 
Presentation appsterdam-lunch-april-2012-beyond-the-competition
Presentation appsterdam-lunch-april-2012-beyond-the-competitionPresentation appsterdam-lunch-april-2012-beyond-the-competition
Presentation appsterdam-lunch-april-2012-beyond-the-competitionJonathan Carter
 

More from Jonathan Carter (8)

J Carter presentation at Amsterdam Ibeacon Living Lab launch event
J Carter presentation at Amsterdam Ibeacon Living Lab launch event J Carter presentation at Amsterdam Ibeacon Living Lab launch event
J Carter presentation at Amsterdam Ibeacon Living Lab launch event
 
Beacon platforms for appcelerator meetup
Beacon platforms for appcelerator meetupBeacon platforms for appcelerator meetup
Beacon platforms for appcelerator meetup
 
Glimworm beacos i beacon workshop ticonf amsterdam j carter.pdf
Glimworm beacos i beacon workshop ticonf amsterdam   j carter.pdfGlimworm beacos i beacon workshop ticonf amsterdam   j carter.pdf
Glimworm beacos i beacon workshop ticonf amsterdam j carter.pdf
 
Integrating iBeacons into your appcelerator project using Glimworm Beacons
Integrating iBeacons into your appcelerator project using Glimworm BeaconsIntegrating iBeacons into your appcelerator project using Glimworm Beacons
Integrating iBeacons into your appcelerator project using Glimworm Beacons
 
The Internet of Things, the Maker movement and a call for a Makers telecom ne...
The Internet of Things, the Maker movement and a call for a Makers telecom ne...The Internet of Things, the Maker movement and a call for a Makers telecom ne...
The Internet of Things, the Maker movement and a call for a Makers telecom ne...
 
Apps 4-antwerp-dec-2012-j-carter-parkshark-and-parkshark-api-antwerp
Apps 4-antwerp-dec-2012-j-carter-parkshark-and-parkshark-api-antwerpApps 4-antwerp-dec-2012-j-carter-parkshark-and-parkshark-api-antwerp
Apps 4-antwerp-dec-2012-j-carter-parkshark-and-parkshark-api-antwerp
 
Parkshark end of year report 2012
Parkshark end of year report 2012Parkshark end of year report 2012
Parkshark end of year report 2012
 
Presentation appsterdam-lunch-april-2012-beyond-the-competition
Presentation appsterdam-lunch-april-2012-beyond-the-competitionPresentation appsterdam-lunch-april-2012-beyond-the-competition
Presentation appsterdam-lunch-april-2012-beyond-the-competition
 

Recently uploaded

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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.pptxHampshireHUG
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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 Processorsdebabhi2
 
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 Scriptwesley chun
 
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.pdfEnterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
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...Neo4j
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Recently uploaded (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
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
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

Integrating i beacons into your project appsterdam lunchtime lecture 12 feb 2014