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

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
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 interpreternaman860154
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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 MenDelhi Call girls
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
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
 
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
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 

Recently uploaded (20)

Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony 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
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
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
 
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
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 

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