𝔖 Scriptorium
✦   LIBER   ✦

📁

Building Bluetooth Low Energy Systems

✍ Scribed by Muhammad Usama bin Aftab


Publisher
Packt
Year
2017
Tongue
English
Leaves
232
Edition
1
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Table of Contents


Cover
Copyright
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Table of Contents
Preface
Chapter 1: BLE and the Internet of Things
Internet of Things
Modern day IoT
Real life examples of the Internet of Things
Wearables
The fitness tracker
Smart home devices
Amazon Echo
Wireless bulbs
Smart refrigerators
Television and online media
Google Chromecast
Apple TV
Automotive industry
Technologies in the Internet of Things
Wireless Local Area Network (WLAN)
Wireless Ad-hoc Networks
ZigBee
Bluetooth Low Energy
Bluetooth versions
Bluetooth Low Energy Key Concepts
Attribute Protocol (ATT) and Generic Attribute Profile (GATT)
GATT Server and GATT Client
Universally Unique Identifiers (UUIDs)
GATT-based Bluetooth Profile Hierarchy
Service
Characteristic
Generic Access Profile (GAP)
Broadcaster
Observer
Central
Peripheral
Bluetooth Low Energy Security
Key Generation
Association Models in Pairing
Numeric Comparison
Just Works
Out of Band (OOB)
Passkey Entry
Signing the Data
Privacy
Bluetooth Low Energy for the Internet of Things
Applications of BLE in IoT
Bluetooth Low Energy Beacons
Bluetooth Low Energy Beacon use-case
Communication model of BLE Beacons
Bluetooth mesh networks
Summary
Chapter 2: BLE Hardware, Software, and Debugging Tools
Bluetooth Low Energy hardware
Development kits
Nordic semiconductor nRF51 development kit
S110 SoftDevice
S120 SoftDevice
S130 SoftDevice
Adafruit Bluefruit LE on nRF8001 Bluetooth Low Energy IC
Coin Arduino BLE hardware
Bluetooth Low Energy software
Bluetooth Developer Studio by Special Interest Group
Nordic Semiconductor tools
nRF Connect for Mobile (Android and iOS)
nRF UART (Android and iOS)
nRF Logger (Android)
nRF Beacon for Eddystone (Android and iOS)
nRF BLE Joiner (Android)
Google Beacon tools (Android)
Physical web (Android)
Summary
Chapter 3: Building a BLE Central and Peripheral Communication System
Bluetooth Low Energy central and peripheral
Examples of Bluetooth central peripheral communication
Smartphone – smartwatch communication
Smartphone – smart LED strip communication
Android Bluetooth Low Energy
An introduction to Android
Bluetooth Low Energy in API level 24
Bluetooth Low Energy permissions
Bluetooth Low Energy interfaces
BluetoothAdapter.LeScanCallback
BluetoothProfile.ServiceListener
Bluetooth Low Energy classes
BluetoothAdapter
BluetoothGatt
BluetoothGattCallback
BluetoothGattService
BluetoothGattCharacteristic
Building an Android app to list Bluetooth devices in the proximity
Conventions
Permissions in AndroidManifest.xml
Runtime permissions
Bluetooth scanning process
Custom list adapter and ListView
Android app - heart rate monitor application
Deploying the GATT server using Nordic Connect
Writing central-side Android apps
Writing data on the characteristic
Bluetooth Over-The-Air device firmware update
Adding Android DFU library using Gradle
DFUService
FirmwareUpdateActivity
Summary
Chapter 4: Bluetooth Low Energy Beacons
Introduction to Bluetooth Low Energy Beacons
Applications of Bluetooth Low Energy Beacons
Beginner applications
Advanced applications
Beacon protocols
Google Eddystone
Eddystone-UID
Eddystone-EID
Eddystone-URL
Apple iBeacon
Estimote beacons
Estimote SDK for Android
Getting started
Background monitoring and ranging
Estimote SDK for iOS
Physical web using Estimote
Estimote cloud interface
Summary
Chapter 5: BLE Indoor Navigation Using Estimote Beacons
Introducing indoor navigation
Estimote Location Beacons and triangulation
Estimote Location Beacons
Triangulation for indoor navigation
Indoor location using the Estimote Location Beacons
Setting up an indoor location using the iOS app
Estimote Location SDK on Swift
EILIndoorLocationManager
EILLocation
EILLocationBuilder
EILOrientedPoint
EILPositionedBeacon
EILRequestAddLocation
EILRequestFetchLocation
EILRequestModifyLocation and EILRequestRemoveLocation
Implementing indoor navigation using the Estimote Location SDK on Swift
Summary
Chapter 6: Bluetooth Mesh Technology
Introduction to mesh networking
Advantages of mesh networking
Mesh networking in wireless technologies
Wireless mesh networks
Mesh networking in ZigBee
Mesh networking in Bluetooth Low Energy
Security complications in BLE mesh
CSRMesh
Setting up the CSRMesh development kit
The Android CSRMesh control application
Step 1 - connect  to the network
Step 2 - set up a mesh network
Step 3 - associate new devices with your network
Step 4 -  authorize connected devices
Additional step - controlling light and thermostat
Additional step - configuring your devices
Additional step - grouping your devices
CSRMesh library for Android
Getting started with the CSRMesh Android library
Using MeshService
Mesh handler
Mesh controlling using Model classes
Summary
Chapter 7: Implementing a Bluetooth Gateway Using the Raspberry Pi 3
Introducing the Raspberry Pi
Raspberry Pi 3 Model B
 Applications of the Raspberry Pi in the Internet of Things
Media center using Raspberry Pi
Cloud storage using Raspberry Pi
Tracker using Raspberry Pi
Web server using Raspberry Pi
Gateway for Bluetooth devices using Raspberry Pi
Set up your Raspberry Pi with Raspbian
Deploying a Bluetooth gateway on your Raspberry Pi
Step 1 - Update and upgrade the Pi
Step 2 - Installing Bluetooth and Node.js
Step 3 - Getting the project folder 
Step 4 - Running the web server
Implementing a Bluetooth gateway on the Raspberry Pi
Bluetooth SIG GATT server API
RESTful services offered by the RESTful smart server API
Important libraries and their usage
Important JavaScript in the gateway project
Implementing the Bluetooth gateway explorer v2 
Important libraries used in the web application
Important JavaScript used in the web application
Summary
Chapter 8: The Future of Bluetooth Low Energy
The Internet of Things and the role of Bluetooth Low Energy
History and its motion
The future of technology and the Internet of Things
Bluetooth Low Energy in the future of IoT
Use of IoT in smart cities and the automobile industry
Technical challenges
Financial challenges
Potential research in Bluetooth Low Energy
Enhancing meshes in Bluetooth
Enhancing security in Bluetooth
Summary
Index


📜 SIMILAR VOLUMES


Inside bluetooth low energy
✍ Gupta, Naresh 📂 Library 📅 2016 🏛 Artech House 🌐 English

This updated and expanded second edition of the Artech House bestseller, Inside Bluetooth Low Energy, presents the recent developments within the Bluetooth Core Specifications 4.1 and 4.2. This new edition explores both Internet of Things (IoT) and Bluetooth Low Energy (LE) in one single flow and de

Building Applications with iBeacon: Prox
✍ Matthew S. Gast 📂 Library 📅 2014 🏛 O'Reilly Media 🌐 English

<div><p>High-precision location information is increasingly useful for mobile application developers, since it allows devices to interact with the world around them. This practical book shows you how to achieve arm’s reach accuracy with iBeacons, simple transmitters that enable your applications to

Building Applications with iBeacon: Prox
✍ Matthew S. Gast 📂 Library 📅 2014 🏛 O'Reilly Media 🌐 English

High-precision location information is increasingly useful for mobile application developers, since it allows devices to interact with the world around them. This practical book shows you how to achieve arm's reach accuracy with iBeacons, simple transmitters that enable your applications to react to

Unlocking Energy Innovation: How America
✍ Richard K. Lester, David M. Hart 📂 Library 📅 2011 🏛 The MIT Press 🌐 English

Energy innovation offers us our best chance to solve the three urgent and interrelated problems of climate change, worldwide insecurity over energy supplies, and rapidly growing energy demand. But if we are to achieve a timely transition to reliable