Book Image

Building Bluetooth Low Energy Systems

By : Muhammad Usama bin Aftab
Book Image

Building Bluetooth Low Energy Systems

By: Muhammad 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 (14 chapters)
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Introduction to mesh networking


Self-configuring networks in which the nodes are connected in a mesh topology are called mesh networks. In a mesh topology, each node acts as a router to transmit traffic between peers if the destination node is not directly connected to the source node. This formation of nodes is reliable because each node is connected to other nodes, providing alternate routes to any possible incoming packet. These networks are also self organized, so if a node leaves the network, the network will reconfigure itself for potential new routes for forwarding packets. The change of topology will occur when a node leaves or joins a mesh network. This phenomenon can happen rapidly in a situation where nodes are highly mobile. 

In order to understand the basic mesh mechanism, consider three wireless devices: Device 1, Device 2, and Device 3. As shown in the following diagram, Device 1 is not in the range of Device 3 but is in the range of Device 2. On the other hand, Device 3 is...