Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Bluetooth Low Energy Systems

You're reading from   Building Bluetooth Low Energy Systems Take your first steps in IoT

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781786461087
Length 242 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Muhammad Usama bin Aftab Muhammad Usama bin Aftab
Author Profile Icon Muhammad Usama bin Aftab
Muhammad Usama bin Aftab
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. BLE and the Internet of Things FREE CHAPTER 2. BLE Hardware, Software, and Debugging Tools 3. Building a BLE Central and Peripheral Communication System 4. Bluetooth Low Energy Beacons 5. BLE Indoor Navigation Using Estimote Beacons 6. Bluetooth Mesh Technology 7. Implementing a Bluetooth Gateway Using the Raspberry Pi 3 8. The Future of Bluetooth Low Energy

Implementing a Bluetooth gateway on the Raspberry Pi


In this section, we will study the Bluetooth gateway server (as described in ~/Desktop/BluetoothGateway/gateway). We will study the RESTful services offered by the gateway and we will jump into the gateway code. The gateway server, as described in the previous section, is a web server that runs on Node.js and implements GAP, GATT, and RESTful web services. In order to get a recap of the Bluetooth GAP and GATT architecture, you can refer to Chapter 1, BLE and the Internet of Things. 

Note

The code for the gateway can be found in the gateway folder of the project source. The core API used by this project is developed by the Bluetooth SIG, and the detailed documentation, including whitepapers, can be found at https://www.bluetooth.com/develop-with-bluetooth/white-papers.

The architecture of a Bluetooth gateway consists of three main components:

  • Bluetooth nodes (or smart devices)
  • Bluetooth gateway/server (Raspberry Pi)
  • Internet-enabled client (such...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image