Book Image

IoT Projects with Bluetooth Low Energy

By : Madhur Bhargava
Book Image

IoT Projects with Bluetooth Low Energy

By: Madhur Bhargava

Overview of this book

Bluetooth 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.
Table of Contents (15 chapters)
Title Page
Credits
Foreword
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Chapter 3. Building a Service Explorer App

I hear and I forget. I see and I remember. I do and I understand.

- Confucius

In the last chapter, we configured our systems so that we could build apps to gain a better understanding of Bluetooth Low Energy. In this chapter, we will build a Service Explorer app using which you can explore all kinds of Bluetooth Low Energy devices for their services. Also, as a bonus, we will simulate our very own homemade fitness tracker and explore its services and characteristics using the same app.

We hope that you remember our discussions regarding Bluetooth Low Energy architecture from the first chapter. Even if our deep discussions in the last chapter regarding the setup of our development environment has made it a little foggy, worry not, as we start with a refresher of the BLE architecture concepts in this chapter.

We will be creating a Service Explorer App by covering the following topics in this chapter:

  • Central Peripheral Architecture for BLE
  • Services and...