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

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
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
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
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
 
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 productivityPrincipled Technologies
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
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 2024Rafal Los
 
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
 
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...Enterprise Knowledge
 
[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.pdfhans926745
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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.pdfsudhanshuwaghmare1
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
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...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
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
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 
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
 
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...
 
[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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

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