UID:
almafu_9959234361402883
Format:
1 online resource (232 pages)
Edition:
1st edition
ISBN:
1-78646-183-8
Content:
Discover and implement a system of your choice using Bluetooth Low Energy. About This Book Learn the basics of Bluetooth Low Energy with its exciting new protocol stack and security. Build customized Bluetooth Low Energy projects that make your web or mobile apps smarter in terms of networking and communications. Using Android, iOS, and the Web, acquire key skills to harness the power of Bluetooth Low Energy in your IoT applications. Who This Book Is For The book is for developers and enthusiasts who are passionate about learning Bluetooth Low Energy technologies and want to add new features and services to their new or existing products. They should be familiar with programming languages such as Swift, Java, and JavaScript. Knowledge of debugging skills would be an advantage. What You Will Learn Bluetooth Low Energy in theory. Bluetooth Low Energy Hardware and Software Development Kits. Implement Bluetooth low energy communication (central and peripheral) using Android. Master BLE Beacons with examples implemented over Eddystone and iBeacons. Implement indoor navigation using Estimote Beacons on iOS. Implement Internet gateways to control BLE devices on a Wi-Fi network. Understand BLE security mechanisms with a special focus on Bluetooth pairing, bonding, and key exchange to cover encryption, privacy, and user data integrity. Implement Bluetooth Mesh using CSRMesh Technology. In Detail Bluetooth Low Energy (BLE) is a Wireless Personal Area network technology aimed at novel applications for smart devices. High-tech BLE profiles and services are being increasingly used by application developers and hardware enthusiasts to allow devices to interact with the surrounding world. This book will focus on a technical introduction to BLE and how it is reshaping small-distance communication. We will start with IoT, where many technologies such as BLE, Zigbee, and IEEE 802.15.4 Mesh will be introduced. The book will present BLE from an engineering perspective, from which the protocol stack, architecture, and layers are discussed. You will learn to implement customized projects for Peripheral/Central communication, BLE Beacons, indoor navigation using triangulation, and the Internet gateway for Bluetooth Low Energy Personal Network, all using various code samples and APIs on Android, iOS, and the Web. Finally, the book will conclude with a glimpse into future technologies destined to be prominent in years to come. Style and approach The book is a practica...
Note:
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.
Additional Edition:
ISBN 1-78646-108-0
Language:
English