According to the ABI report Installed Base of IoT Devices by Connectivity Technology, published in 2020, Bluetooth® technology is used in 38 percent of all Internet of Things (IoT) devices, while Wi-Fi is in 32 percent, and Cellular communications technology is used in 19 percent. It’s fair to say that Bluetooth technology is one of the key enablers of the IoT.

But how exactly can Bluetooth devices be integrated with the internet and so be part of an IoT solution? The answer involves a key component of any Bluetooth IoT solution architecture known as a Bluetooth internet gateway.

A Bluetooth internet gateway supports Bluetooth technology and one or more TCP/IP-based protocols. It can translate requests received over TCP/IP from the internet into corresponding Bluetooth interactions and vice versa. A gateway is usually classified as middleware because it sits in between two other tiers of a multi-tiered architecture, providing services to the components on either side of it.

Solution Architects, Developers, and Operations Personnel

Gateways can be complicated entities. They handle multiple communications protocols, are able to translate between otherwise incompatible technologies, and consist of many component parts, both hardware and software. There are no standards governing Bluetooth® internet gateways and project teams requiring one have a choice of either buying a ready-made commercial product or creating a gateway based on custom requirements.

Solution architects need to understand the subject of Bluetooth internet gateways, either to inform commercial product evaluation or the architecture of bespoke solutions.

Software developers need to understand Bluetooth internet gateways to be able to develop components of custom gateways or to be able to develop applications which use a gateway or both.

And in many cases, operations personnel need to understand how a Bluetooth internet gateway is secured and how it can be scaled.

There’s something for everyone on this subject.

The Bluetooth® Internet Gateway Study Guide

The Bluetooth Special Interest Group (SIG) is committed to providing educational resources for people in technical product and solution development roles such as software engineers and architects. We have a series of resources known as study guides, which are designed for self-paced study and typically include one or more hands-on projects to help consolidate theoretical knowledge and to reveal and explore practical issues and techniques.

Our collection of study guides includes the Bluetooth® Internet Gateway Study Guide. Version 2.0 has just been released and adds a new module which explains and explores internet gateways for Bluetooth mesh networks.

In summary, V2.0 of this study guide:

  • Illustrates the options for accommodating different types of Bluetooth Low Energy (LE) devices in an internet gateway solution
  • Includes a hands-on project to design and build a working prototype Bluetooth internet gateway for Bluetooth LE peripherals
  • Includes a hands-on project to design and build a working prototype Bluetooth internet gateway for Bluetooth mesh networks
  • Explains and explores the following topics throughout:
    • Logical and physical architectures
    • Component selection, development, and integration
    • Gateway adapter code development and testing
    • Security
    • Scalability
  • Includes a working prototype gateway web application which acts as a general-purpose Bluetooth LE device explorer and acts as an example for review and self-study
  • Includes incomplete gateway web applications for use with connected LE Peripheral devices or devices in a mesh network which you will finish by writing missing gateway interaction code
  • Explores and explains the issues and options for creating a scalable Bluetooth internet gateway solution

The hands-on projects are particularly useful. In the first of several, you will create a working prototype Bluetooth internet gateway which runs on a Raspberry Pi and provides access to Bluetooth LE peripheral devices which are in range. This will involve using a combination of off-the-shelf software components and the integration of custom-developed software adapters which you will code, with guidance given all the way.

Figure 1 – Gateway adapter code

You will go on to use and learn from a sample web application which uses the gateway called Explore Blue and then complete the code for a second web application which allows you to remote control a BBC micro:bit from a web browser.

Figure 2 – The micro:bit controller gateway web application

Version 2.0 of this study guide also includes hands-on projects which guide you through the process of designing and developing a gateway for mesh networks and a web application that uses the gateway.

Figure 3 – A web application for controlling lights and sensors in a mesh network via an internet gateway

For each of the types of gateway, the study guide illustrates examples of the types of security issue that gateway implementation should address. It also provides hands-on experience in some of the ways in which the main issues might be resolved.

Download the Bluetooth Internet Gateway Study Guide Today

The Bluetooth® Internet Gateway Study Guide should be a BIG help (get it?) in getting you up to speed with this important IoT subject and is available for download.

FEATURED DOWNLOAD

Designing and Developing Bluetooth Internet Gateways

This self-study education resource for software developers and technical architects explains Bluetooth® Internet Gateways, middleware which interfaces Bluetooth Low Energy (LE) devices with the internet.

INSTANT DOWNLOAD

An Introduction to the Bluetooth LE Security Study Guide

My house has locking doors and windows, an alarm system, and several security cameras.…

Why Bluetooth Technology is the Developer’s Swiss Army Knife

Members of the Bluetooth® community are continuously innovating. Over the last two decades, members have…

Updates to the Bluetooth Internet Gateway Study Guide

According to the ABI report Installed Base of IoT Devices by Connectivity Technology, published…

In Case You Missed It: What’s New With Blue This Summer

The Bluetooth® developer community is always pushing the technology forward, and this summer has…

New Core Specification v5.3 Feature Enhancements

One of the key reasons why Bluetooth® technology has emerged as the global wireless…

Bluetooth® Core Specification Version 5.3 Feature Enhancements

Bluetooth® Core Specification version 5.3 includes several feature enhancements with the potential to improve…

Connect: Car Access Demo

In this demo, Texas Instruments will discuss and demonstrate Bluetooth 5.1 and its cutting…

Wireless Connectivity Options for IoT Applications - Commercial Lighting

Industry 4.0 is no longer a thing of the future. The term describes the…

4 Essential Tools for Every Bluetooth Low Energy Developer

One of the biggest challenges of learning any new technology is knowing which tools…

Designing and Developing Bluetooth® Internet Gateways

Learn about Bluetooth internet gateways, how to make them secure and scalable, and design and implement your own working prototype gateway and web application for use with either Bluetooth LE Peripherals or with Bluetooth mesh networks.

An Introduction to Bluetooth Low Energy for Swift Developers

All smartphones support Bluetooth® Low Energy (LE) and it is used in all manner…

Building a Sensor-Driven Lighting Control System Based on Bluetooth® Mesh

A technical examination of which Bluetooth mesh models to use in different types of…

How Bluetooth Low Energy Works: 21 Interesting Facts

Whether you’re a beginner or an expert in Bluetooth Low Energy development, it’s always…

Advanced Bluetooth for Android Developers

Android developers can take this guided tour of the most recent features and interesting…

How to Deploy BlueZ on a Raspberry Pi Board as a Bluetooth Mesh Provisioner

This step-by-step study guide will teach you: How to rebuild the kernel on a…

The Bluetooth LE Security Study Guide

Learn about fundamental security concepts, the security features of Bluetooth Low Energy, and gain some hands-on experience using those features in device code.

How Bluetooth 5 Increases the Achievable Range of a Bluetooth Low Energy Connection

Texas Instruments offers their theory on how to achieve long range with a Bluetooth…

Testing Long Range (Coded PHY) with Nordic Solution (It Simply Works)

There has been a lot of discussion and confusion about testing the long range…

 Get Help