
- 278 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
IoT Projects with Bluetooth Low Energy
About this book
Use the power of BLE to create exciting IoT applicationsAbout This Book• Build hands-on IoT projects using Bluetooth Low Energy and learn about Bluetooth 5 and its features.• Build a health tracking system, and indoor navigation and warehouse weather monitoring projects using smart devices.• Build on a theoretical foundation and create a practice-based understanding of Bluetooth Low Energy.Who This Book Is ForIf you're an application developer, a hardware enthusiast, or just curious about the Internet of Things and how to convert it into hands-on projects, then this book is for you. Having some knowledge of writing mobile applications will be advantageous.What You Will Learn• Learn about the architecture and IoT uses of BLE, and in which domains it is being used the most• Set up and learn about various development platforms (Android, iOS, Firebase, Raspberry Pi, Beacons, and GitHub)• Create an Explorer App (Android/iOS) to diagnose a Fitness Tracker• Design a Beacon with the Raspberry Pi and write an app to detect the Beacon• Write a mobile app to periodically poll the BLE tracking sensor• Compose an app to read data periodically from temperature and humidity sensors• Explore more applications of BLE with IoT• Design projects for both Android and iOS mobile platformsIn DetailBluetooth Low Energy, or Bluetooth Smart, is Wireless Personal Area networking aimed at smart devices and IoT applications. BLE has been increasingly adopted by application developers and IoT enthusiasts to establish connections between smart devices.This book initially covers all the required aspects of BLE, before you start working on IoT projects. In the initial stages of the book, you will learn about the basic aspects of Bluetooth Low Energy—such as discovering devices, services, and characteristics—that will be helpful for advanced-level projects. This book will guide you through building hands-on projects using BLE and IoT. These projects include tracking health data, using a mobile App, and making this data available for health practitioners; Indoor navigation; creating beacons using the Raspberry Pi; and warehouse weather Monitoring. This book also covers aspects of Bluetooth 5 (the latest release) and its effect on each of these projects.By the end of this book, you will have hands-on experience of using Bluetooth Low Energy to integrate with smart devices and IoT projects.Style and approachA practical guide that will help you promote yourself into an expert by building and exploring practical applications of Bluetooth Low Energy.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Building a Service Explorer App
- Central Peripheral Architecture for BLE
- Services and Characteristics
- Creating a Service Explorer App
Central Peripheral Architecture for BLE

- A fitness tracker
- A mobile app, which will simulate a heart rate tracking device
- Initiating a connection
- Establishing a connection
- Retrieving information from the peripheral (Discover Services, Characteristics, Descriptors and finally read the data)
- Terminating a connection

- Advertising
- Connected

- As per the Bluetooth Low Energy specifications, any GAP broadcast must contain flags that tell the device about the type of advertisement that is being sent. The structure of these flags uses three bytes in total: one for data length, one for data type, and one for the data itself. Hence, we have 28 bytes left.
- Now, finally we can package our own data but it also needs an indication of length and type (two bytes in total). So we have 26 bytes left to package the actual data.
Services and Characteristics
Table of contents
- Title Page
- Copyright
- Credits
- Foreword
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Preface
- What is Bluetooth Low Energy?
- Setting Up
- Building a Service Explorer App
- Designing a Personal Tracking System
- Beacons with Raspberry Pi
- Weather Monitoring Using BLE in Warehouses
- Going Further
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app