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

Implementing indoor navigation using the Estimote Location SDK on Swift


The Estimote Indoor Location SDK is only available for iOS devices. Although it is not available for Android, it is possible to write your own SDK around Estimote Beacons that can use the Beacon parameters to approximate the location. Writing your own SDK is out of the context of book, which is why we will only focus on the Estimote SDK for iOS. In order to start with it, you need the following things:

  • Mac machine with Xcode 7
  • iPhone 4S (or newer)
  • Estimote account
  • At least four registered Estimote Location Beacons (refer to previous chapters for registering Estimote Beacons)

Once you fulfill all the prerequisites, make sure that you have already set up your room on Estimote Cloud (as described in the previous section). It is time to jump into the development environment and set up a project. Make a Single View Application in Xcode and name the project accordingly. For our purposes, we are calling the project BLESystemsIndoor...