更新时间:2021-08-05 17:17:07
封面
版权页
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
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
Chapter 3. Broadcasting Advertisements – Sending Offers
Introducing the Core Bluetooth framework
Obtaining broadcast values from CLBeaconRegion
Chapter 4. Ranging Beacons – Hunting for Treasure
There be treasure nearby
Understanding distance
Our application
Getting started with building our app
Completing the code
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
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
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
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
Chapter 9. iBeacon Security – Understanding the Risks
Beacon spoofing
Beacon hacking
Dispelling security myths
Overcoming users' fears with good UX
Index