Beacons Past, Present and Future

Bluetooth beacons have evolved considerably over the last twelve years. Occasionally, we see Twitter comments such as ‘Remember iBeacon’ or ‘Beacons are dead’. Beacons aren’t dead. They are used in many situations and have, in some cases, evolved such that you don’t even know they are being used.

Bluetooth 4.0 devices started with the Bluetooth 4.0 specification in December 2010. The iPhone 4S and many Android devices were the first iOS device to use this new wireless protocol. Interoperability with smartphones is one the main reasons Bluetooth LE and beacons have become so popular.

While there were a few early, custom, Bluetooth LE devices that just advertised, the popularity of beacons was boosted by the announcement of the iBeacon protocol at the Apple Worldwide Developers Conference in 2013.

The First iBeacons

The iBeacon protocol actually didn’t add that much because it just used the standard Bluetooth 4.0 protocol with the data being interpreted in a particular way to uniquely identify the beacon. The important part was that iPhones would have CoreLocation APIs to detect these kinds of Bluetooth 4.0 devices.

Apple’s example usecases were mainly marketing, retail and consumer driven and this led to lots of startups creating new iBeacon platforms often with re-badged iBeacons with locked-in Software as a Service.

Google didn’t want to loose out but and their ambitions were wider in that they wanted to create what they called a Physical Web where smartphones could find and control devices using Bluetooth. The Eddystone profile was released by Google in July 2015 which, again, was a thin layer on top of the standard Bluetooth 4.0 protocol. Again, the important part was the software, provided by Google, that allowed Eddystone to trigger events in the Android Chrome and Android itself via the Play Services component.

A key part of Eddystone was Eddystone-URL that allowed the advertising of a shortened web address. However, the triggering mechanism was totally controlled by a Google server that had it’s own opaque rules and was frustrating because it didn’t always work.

Many more startups adapted their software and hardware designs to use Eddystone-URL. However, the spammy side of the marketing community took hold and by 25 October 2018, Google discontinued support for Android Bluetooth Nearby Notifications. This caused the end of a large number of startups based on beacon marketing.

During the ‘Eddystone age’ of 2015-2018 something longer lasting was happening. Some manufacturers adapted their beacons to become sensors for things like movement, temperature, humidity, air pressure, light, on/off, proximity, fall detection, smoke, natural gas and water leak. At the same time, manufacturers created gateways that sensed beacons and were able to send the Bluetooth advertising to a server via WiFi or Ethernet. Beacons started being used in industry for real time locating (RTLS) and IoT.

Bluetooth Mesh was adopted by the Bluetooth SIG in July 2017. This allowed beacons, or indeed any Bluetooth devices, to talk to each other such that a very large area can be covered with only one gateway at the edge. It’s now five years later and, apart from a few products related to lighting, Bluetooth Mesh hasn’t been popular.

Bluetooth Mesh

The main problem is that the Bluetooth Mesh standard was, for some reason, designed for usecases such as lighting that are low latency, low throughput and are mains powered. Bluetooth Mesh in beacons uses significant battery power and the throughput is too small for most IoT mesh applications having larger numbers of sensors.

Bluetooth Direction Finding was introduced with Bluetooth 5.1 in January 2019. The Angle of Arrival (AoA) variant works by having a beacon send out special advertising that is picked up by a multi-antenna locator.

Locator with multiple antennas

It’s now two and half years since the Bluetooth 5.1 release and some products have come to the market. However, most are evaluation boards that are not suitable for use in production. The software required to analyse the AoA radio data is very complex and performance-critical which has held back quick adoption.

LocationEngine™ Spectrum Analysis

Today, beacons are used in a vary large number of situations. For example, our customers use beacons for warehouse pallet tracking, factory job tracking, train company asset tracking, locating 2-way radios, healthcare asset tracking, tracking the elderly patients, man down SOS, lone working, evidence-based policing, smart offices, location-based gaming, car driving logging, facilities maintenance tracking, cargo temperature monitoring, student attendance monitoring and general IoT sensing. There are also a few consumer-facing uses but these tend to aid rather than spam consumers. Examples include restaurant table locating, museums and galleries.

In the future we expect we might see AoA and it’s sister technology Angle of Departure (AoD) mature. We are seeing beacons being used more in AR and immersive experiences so they might even have application in metaverses to help bridge the physical and virtual. It’s difficult to say how inflation and recession will affect innovation using Bluetooth. On the one hand companies will be spending less but on the other companies are seeking ways to measure and automate to save costs as part of Industry 4.0. Whatever happens, expect to continue to see beacons being used as part of larger solutions rather than the original premise of them being a (marketing) solution.

Read about PrecisionRTLS™

Bluetooth AoA Direction Finding in the Cloud

We have had many enquiries from ISVs regarding the possibility of using AoA in the cloud. The idea is to use a location engine instance to allow their multiple customers to access AoA direction finding as a service.

Bluetooth AoA Direction finding works by having multiple locators that communicate with an on-site gateway that connects to the location engine. This is radio data so there’s lots of information sent very often. For large sites, there are multiple edge gateways. In most systems with more than a few assets, the gateway throughput becomes limited by the gateway hardware and the location engine processing input is limited mainly by the CPU capability.

The location engine has to do a lot of work. It implements computationally intensive radiogoniometry and anti-interference algorithms using data from multiple gateways.

In most cases, with large numbers of assets, the gateways and location engine are working near full capacity with the latency of the whole system being balanced against the number of assets.

While such a system can work in the cloud, the bandwidth and latency of the connection to the cloud means that it usually isn’t technically and financially viable. Sharing such a system across customers is even less viable. Instead, standalone systems have to be set up on-site to provide optimum performance.

Be aware that some ‘toy’ evaluation, as opposed to production, AoA systems perform the radiogoniometry and anti-interference algorithms at the gateway. While might work for a few assets, the gateway usually doesn’t have the processing power to scale to a production environment. Also, the gateway is only processing the radiogoniometry and anti-interference algorithms using data it has seen. Production grade radiogoniometry and anti-interference algorithms need to consider data from multiple gateways.

Read about PrecisionRTLS™

Match Use of Beacons to Organisations’ Goals

As we have previously mentioned, we believe too many companies chase the beacon retail marketing bandwagon when there are more compelling uses for beacons. These other uses also often have much less commercial competition. Think outside the current common usecases. Instead, invent new uses that better match organisations’ goals.

One such example is mentioned in the article Can Big Data Make for Better Exhibitions? Unlike the run of the mill, “let’s tag items and show information on them”, The Art Institute of Chicago used beacons to create heat maps, travel paths and derive dwell times to determine which parts of the museum people really want to see. The museum uses beacons for analytics. Promoting popular parts of the museum brought them an uplift in paid attendance from $14.8 million to $19.9 million. This success is based on concentrating on the museum’s real need of more income.

Start with your needs rather than the technology. Think in terms of your current challenges and work out how IT, in general, might be used to quantify the problem. Analytics will help you narrow in on specific areas that, in turn, can be improved and hence better achieve the organisation’s goals.

South Western Railway Trials Beacon App for Partially Sighted Passengers

South Western Railway in Southern England is using the myEyes app to guide partially sighted users to assistance boarding points at stations. The app provides audio directions to guide passengers from the station entrance to Assisted Boarding Points on platforms.

A confusing article on the South Western Railway site attempts to explain how it works. It says “the myEyes app uses Near Field Technology to guide customers with sight loss around stations”. This isn’t true because Near Field Technology (NFC) isn’t used. It uses a smartphone’s GPS to know the passenger has reached a station and then Bluetooth beacons within the station. The article says “Bluetooth beacons installed across the station track the device in question”. This also isn’t true because it’s the wrong way around. The smartphone detects the beacons to know a passenger’s location.

A video is available showing the app being used.

New F1 Beacon in Stock

We have the new, small KKM F1 beacon in stock. This beacon is different because it’s rechargeable, offering 4-6 months use per charge, based on 1 sec advertising.

It’s also waterproof to IP67 and has a button that can be used for SOS to send out different advertising. This beacon also has an accelerometer for motion triggered broadcasting.

It’s charged using a USB cable with a magnetic connector.

View all beacons

MQTT vs HTTP for Bluetooth WiFi Gateways?

Bluetooth WiFi gateways offer MQTT and/or HTTP for sending data to servers/cloud services. We are often asked which should be used. HTTP is what’s used by your web browser to fetch and send data to web servers. In very high level terms, MQTT accomplishes a similar thing but is better optimised for mobile devices and the Internet of Things.

HTTP is very ‘chatty’ which means it’s more complex, code wise, to implement at the sending end and wastes a lot of data and processing power getting information from sender to receiver. You can think of HTTP as wrapping the data within lots other data that gets sent backwards and forwards. MQ Telemetry Transport Protocol (MQTT) came out of IBM, is now an ISO standard and uses lightweight publish/subscribe messaging. It requires a smaller code footprint at the sender and uses less network bandwidth. This matters most when you are trying to get the maximum transactions per second or are being billed for data use.

Bluetooth WiFi gateways are powered via USB and have reasonably powerful microcontrollers so MQTT’s efficient processing doesn’t matter that much. The more efficient processing is more applicable to apps running on mobile devices. For example, Facebook uses MQTT which saves battery life.

However, being lightweight, MQTT offers faster response times and lower data use than HTTP that, while not necessarily being of much of an advantantage for the BLE WiFi gateway, benefits the communications medium and server side. The communications medium, that can sometimes be cellular or be data constrained, uses (and possibly bills) less data. More crucially, the server can process more requests in less time. MQTT tends to be better when connectivity is intermittent, bandwidth is at a premium and throughput is critical.

In summary, MQTT has lower latency and is more efficient. Whether these are required advantages depends on your actual project. If you need more help, consider our development services.

Nordic Wireless Q Magazine

Nordic Semiconductor, the manufacturer of the System on a Chip (SoC) in many beacons, has published the latest online issue of Wireless Quarter Magazine. It showcases the many uses of Nordic SoCs.

The latest issue of the magazine highlights the use of the SoC in the following Bluetooth solutions:

  • A smart animal tracking and management system.
  • A handheld device used by students to answer test questions, record their attendance, answer surveys and provide class feedback.

There are also some interesting articles on:

  • How Bluetooth IoT sensors are enabling insurers to manage risks and mitigate claims by advancing accident prediction and prevention.
  • An explanation of the global chip shortage, manufacturing challenges and mitigations.
  • How IoT data can be used with AI machine learning to improve decision-making.

Read Nordic Semiconductor Wireless Quarter

Implementing Bluetooth AoA Using Software Defined Radio (SDR)

There’s new research from Poznan University of Technology, Poland on Angle of arrival estimation in a multi-antenna software defined radio system: impact of hardware and radio environment.

The researchers implemented Software Defined Radio (SDR), on an inexpensive USRP B210, using the Root Multiple Signal Classification (Root-MUSIC) algorithm to provide Bluetooth AoA. Consideration was given to errors caused by the hardware and the radio environment.

Hardware errors were mainly synchronization errors. The accuracy of the AoA was affected by the degree of multipath propagation and filtering was found to improved accuracy. An implementation with two antennas and the Root-MUSIC AoA algorithm was able to achieve less than 10m estimation error in most environments.

Read about PrecisionRTLS™

Using Bluetooth LE with React Native

There’s a useful new article at Stormotion on how to use Bluetooth LE with React Native. The article explains the difference between Bluetooth LE and Classic Bluetooth and details the differences between the two main libraries when integrating Bluetooth LE into React Native apps.

The article also provides information on what apps to use to test Bluetooth LE and has insights on how to avoid the common problems.

Detecting Malicious Bluetooth Trackers

There’s new research from University of Washington on BLE-Doubt: Smartphone-Based Detection of Malicious Bluetooth Trackers University of Washington (PDF).

Stalkers can hide Bluetooth beacons on targets’ clothing or in vehicles so as to monitor their locations. The researchers created an open-source method of detecting maliciously deployed Bluetooth beacons.

The algorithm detects malicious devices within a few minutes. The software scans for Bluetooth advertisements and stores a history so that an alert can be created if a beacon is following the same route as the user.

iBeacon, Altbeacon, Eddystone, Tile, Chipolo, Spot, and AirTag are all detected with AirTags the greatest challenge due to rotation of their MAC addresses between every two hours and once a day and their erratic and unpredictable advertising.

The app doing the scanning causes heavy smartphone battery use. The smartphone lost between 5% and 10% of its battery per hour during active scanning.

View Tracker Beacons