Learning iBeacon

Build proximity applications for iOS using Apple's groundbreaking iBeacon technology

Learning iBeacon

Learning
Craig Gilchrist

Build proximity applications for iOS using Apple's groundbreaking iBeacon technology
$17.99
$29.99
RRP $17.99
RRP $29.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Preview in Mapt

Book Details

ISBN 139781784397128
Paperback196 pages

Book Description

Starting with an introduction to iBeacon, you will learn all about simple beacon detection. You will learn how to use Apple's CoreBluetooth, CoreLocation, and PassKit libraries, and how to broadcast different values through the power of transmission power.

You will learn how to allow your apps to detect beacons, determine their distance, and even turn your iPhone or iPad into a Bluetooth iBeacon by building a simple treasure-hunting app. We will also be discussing two of the most popular beacons (Estimote and ROXIMITY). Don't worry if you haven't got any beacons; this book includes a companion app that lets your Mac or MacBook act as a beacon to allow you to jump straight into learning this incredible technology.

By the end of this book, you will have learned how to build apps that interact with the world around them using Bluetooth beacons.

Table of Contents

Chapter 1: Welcome to iBeacon
Introducing iBeacon
Hey, 'sup
Understanding a range using RSSI
Compatible devices
Commercial applications of iBeacon
So many vendors, so little time
The companion OS X application and website
Hello world
Testing our code
Summary
Chapter 2: Detecting Beacons – Showing an Advert
Uses of the UUID/major/minor broadcasting triplet
Understanding Core Location
Creating a CLLocationManager class
Understanding iBeacon permissions
Building the tutorial app
Summary
Chapter 3: Broadcasting Advertisements – Sending Offers
Introducing the Core Bluetooth framework
Obtaining broadcast values from CLBeaconRegion
Summary
Chapter 4: Ranging Beacons – Hunting for Treasure
There be treasure nearby
Understanding distance
Our application
Getting started with building our app
Completing the code
Summary
Chapter 5: Detecting Beacons in the Background – Location Dating
Real-life use cases
Handing over responsibility
The CLBeaconRegion options
Passbook integration
Our tutorial app
Testing your application
Summary
Chapter 6: Leaving Regions – Don't Forget Your Stuff
Raspberry Pi
Ninja Blocks
Nest
Phillips Hue
Belkin WeMo
iBeacon and home automation
Beacon stickers
Our tutorial
Building our app
Testing your app
Summary
Chapter 7: Vendor SDKs – Buying and Configuring Beacons
Estimote motes and SDK
ROXIMITY implementation
Choosing the best platform for your requirements
AltBeacon – the open beacon specification
Using Estimote API 2.1
Let's get building
Testing your application
Summary
Chapter 8: Advanced Tutorial – iBeacon Museum
Our exhibitions
The museum map
Our app structure
The supporting website
Our app design
Building the application
Time to test
Summary
Chapter 9: iBeacon Security – Understanding the Risks
Beacon spoofing
Beacon hacking
Dispelling security myths
Overcoming users' fears with good UX
Summary

What You Will Learn

  • Detect beacons in range and read the values they broadcast
  • Understand beacon regions and use Core Location framework to determine when you enter or exit a beacon region
  • Use beacon broadcast values to identify the beacon and determine the purpose of it
  • Utilize the CoreBluetooth library to turn your iOS device into an iBeacon
  • Build a functionality that understands the world around it within a few inches by determining beacon distance
  • Notify users that they've entered a region while the app's running in the background and use beacons to show Apple Passbook passes when in range
  • Build a comprehensive museum app that informs the visitor about the exhibits that they're closest to as they walk around the museum
  • Understand Bluetooth low energy and the technology behind iBeacon

Authors

Table of Contents

Chapter 1: Welcome to iBeacon
Introducing iBeacon
Hey, 'sup
Understanding a range using RSSI
Compatible devices
Commercial applications of iBeacon
So many vendors, so little time
The companion OS X application and website
Hello world
Testing our code
Summary
Chapter 2: Detecting Beacons – Showing an Advert
Uses of the UUID/major/minor broadcasting triplet
Understanding Core Location
Creating a CLLocationManager class
Understanding iBeacon permissions
Building the tutorial app
Summary
Chapter 3: Broadcasting Advertisements – Sending Offers
Introducing the Core Bluetooth framework
Obtaining broadcast values from CLBeaconRegion
Summary
Chapter 4: Ranging Beacons – Hunting for Treasure
There be treasure nearby
Understanding distance
Our application
Getting started with building our app
Completing the code
Summary
Chapter 5: Detecting Beacons in the Background – Location Dating
Real-life use cases
Handing over responsibility
The CLBeaconRegion options
Passbook integration
Our tutorial app
Testing your application
Summary
Chapter 6: Leaving Regions – Don't Forget Your Stuff
Raspberry Pi
Ninja Blocks
Nest
Phillips Hue
Belkin WeMo
iBeacon and home automation
Beacon stickers
Our tutorial
Building our app
Testing your app
Summary
Chapter 7: Vendor SDKs – Buying and Configuring Beacons
Estimote motes and SDK
ROXIMITY implementation
Choosing the best platform for your requirements
AltBeacon – the open beacon specification
Using Estimote API 2.1
Let's get building
Testing your application
Summary
Chapter 8: Advanced Tutorial – iBeacon Museum
Our exhibitions
The museum map
Our app structure
The supporting website
Our app design
Building the application
Time to test
Summary
Chapter 9: iBeacon Security – Understanding the Risks
Beacon spoofing
Beacon hacking
Dispelling security myths
Overcoming users' fears with good UX
Summary

Book Details

ISBN 139781784397128
Paperback196 pages
Read More

Read More Reviews