Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Building Bluetooth Low Energy Systems
  • Toc
  • feedback
Building Bluetooth Low Energy Systems

Building Bluetooth Low Energy Systems

By : Usama bin Aftab
3.7 (3)
close
Building Bluetooth Low Energy Systems

Building Bluetooth Low Energy Systems

3.7 (3)
By: Usama bin Aftab

Overview of this book

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.
Table of Contents (9 chapters)
close

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...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete