Staring at the P-51 Mustang, you ponder its history…. Dangerous missions escorting bombers, dogfights, battles with the Luftwaffe…. Turning your head, you see a Curtis P-40 across the way. As you walk over to take a closer look, you hear an unsettling whistle followed by the roar of a radial engine. Looking up you see a gull winged Corsair hanging in mid-dive. Feeling a thump on your wrist, you read “Air driving across the engine air inlets at high speed produced an eerie whistle. The Corsair was nicknamed “whistling death”. Whether in a dog fight or bombing run, this eerie whistle followed by the roar of the radial engine was the telltale sign that a Corsair was in the air.” Wow, what a cool aviation museum! Planes hanging from the ceiling, sound effects, and information about exhibits popping up on your smart phone or watch.

This is just one example of how beacons, Bluetooth 5, and well-designed apps are redefining user experiences. ABI estimates that by 2021, there will be over 565 million Bluetooth® beacons shipped per year. That’s a lot of beacons!

Bluetooth 5 is redefining developer’s toolkits with four times the range, two times speed, and eight times broadcast messaging capacity! So how is Bluetooth accomplishing this? Let’s take a closer look.

Bluetooth 5 provides three low energy PHYs:

  • LE 1M PHY –1M/s bit rate; uncoded (each bit maps to single radio symbol). Same PHY used in Bluetooth 4.0.
  • LE Coded PHY (new) – Supports 1M/s symbol rate with error correction coding. Used for Bluetooth 5’s “four times the range”.
  • LE 2M PHY (new) –2M/S symbol rate; uncoded. Used for Bluetooth 5’s “2 times the speed”.

So with two new PHYs, we gain 4 times the range and 2 times the speed, but what about the additional messaging capability for beacons?

Recall in Bluetooth 4.0, the advertising payload was a maximum of 31 octets. In Bluetooth 5, we’ve increased the payload to 255 octets by adding additional advertising channels and new advertising PDUs.

Additional Advertising Channels

In Bluetooth® 4.0, all advertising was done on 3 of the 40 – 2.4GHz ISM band channels. With Bluetooth 5 there are now two sets of advertising channels: primary and secondary.

The primary advertising channels are the original 3 of the 40 advertising channels defined in Bluetooth 4. While the secondary advertising channels use the 37 fixed channels previously reserved for data.

Whether using legacy advertising PDUs or the new extended advertising PDUs, these events begin on the primary channel. We’ll focus on exactly how the channels work in a future blog.

For now, let’s look at the new PDUs.

New Extended Advertising PDUs

To support increased messaging, we’ve added extended advertising PDUs. These PDUs are broadcast only events (like electronic beacons):

  • ADV_EXT_IND
    • Supports unconnectable (broadcast only) and scannable directed events
    • Examples:
      • Unconnectable: Standard beacon defining proximity of museum guest to overhead Corsair exhibit. Enabling user experience of Corsair “in flight sound” and aircraft history pop up.
      • Scannable directed: Museum bathroom beacon broadcasting directly to the museum’s central controller, stating a bathroom needs maintenance. Using a scan request the museum controller may request additional information regarding maintenance needs (empty soap/towel dispensers, etc.).
  • AUX_ADV_IND
    • Used for first fragment of advertising data sent on the secondary advertising channel (unconnectable and scannable directed).
  • AUX_SYNC_IND
    • Used for Periodic Advertising where unidirectional data is sent at fixed intervals (we’ll explore this more in a future blog).
    • Example: Museum bus stop beacon broadcasting when the next bus will arrive and depart for an auxiliary building.
  • AUX_CHAIN_IND
    • Sends remaining data from incomplete auxiliary PDU advertising events.

Okay, cool. We have secondary advertising channels and new PDUs, but we developers have written a really cool app. An app that measures proximity; triggers an audio file to users in range of an aircraft; and provides a link with aircraft specs and history. How do we get the extra data sent out? Let’s take a look.

New Packet Format

The link layer packet format for uncoded PHYs is almost identical to packet from Bluetooth® 4.0: preamble, access address, PDU, and CRC. (Figure 1.) The only difference is the size of the preamble. When using LE 1M PHY (Bluetooth 4.0 PHY), the preamble is 1 octet (just like Bluetooth 4.0), and when using LE 2M PHY (new to Bluetooth 5), the preamble is 2 octets. As in Bluetooth 4.0, the PDU field (figure 1) breaks into two elements: advertising header and advertising payload (figure 2).

Just like legacy advertising PDUs, the extended advertising PDU header defines the PDU Type (in the advertising header, figure 3) and Length (size of advertising Payload in octets – in the advertising header, figure 3).

The payload for Common Extended Advertising events, has 4 elements (figure 4):

  • Extended Header Length – Value between 0 -63 defining the length of Extended Header
  • AdvMode – Defines mode (non-connectable & non-scannable; connectable & non-scannable; or non-connectable & scannable)
  • Extended Header – Defines attributes of the extended advertising event
  • AdvData – Contains advertising data

So how much actual advertising data do we get? The maximum size of the AdvData depends on the size of the Extended Header and is calculated as follows:

Two new LE PHYs; secondary advertising channels; extended advertising PDUs; and an extended advertising payload… Whether designing a slick user experience for your favorite aviation museum or creating a unique and innovative solution for your customers, Bluetooth 5 provides new tools for developers.

In our next blog, we’ll take a more in depth look at Bluetooth 5’s extended advertising features. 

FEATURED DOWNLOAD

Bluetooth 5: Go Faster, Go Further

Download this comprehensive overview to discover how Bluetooth 5 significantly increases the range, speed, and broadcast messaging capacity of Bluetooth applications, making use cases in smart home automation, enterprise, and industrial markets a reality.

INSTANT DOWNLOAD

Bluetooth Developer Journey

As a leading player in the semiconductor industry committed to the development of cutting-edge…

Generic Health Sensor Design and Implementation Guide

The Generic Health Sensor (GHS) Design and Implementation Guide guides implementers of health sensor…

Doom running on Silicon Labs & Sparkfun Microcontrollers: A Quick Look

Doom has recently reached its 30th anniversary, yet it remains a masterpiece and a…

Auracast Simple Transmitter Best Practices Guide

This paper provides a set of clear, concise, and useful recommendations for product makers interested in building Auracast transmitter products.

5.7 km of Bluetooth® Range

40 km from Irvine, California gets you to beautiful Newport Beach Pier, and 5.7…

Synthesize and Transmit Audio Using LE Audio

The application is assembled as a sound-generating device, the synthesizer, and a receiving headphone.…

Unveiling the Truth: Debunking Bluetooth’s Biggest Myth

Bluetooth Low Energy was designed to considerably reduce power consumption and cost while maintaining…

Bluetooth® Mesh Feature Enhancements Summary

This paper summarizes the recent Bluetooth® Mesh feature enhancements and provides references to other…

The Latest in HADM with Bluetooth LE

HADM, or high accuracy distance measurement using Bluetooth does exactly what it says –…

Mr. Beacon Podcast: Snapdragon Sound with Mike Canevaro

This episode of the Mr. Beacon Podcast explores the revolutionary world of Bluetooth audio.…

Top 10 Auracast™ Resources

It’s been almost a year since the Bluetooth Special Interest Group (SIG) released Auracast™…

Features and Benefits of Bluetooth Mesh 1.1 for Wireless Mesh Networking

Commercial and industrial applications like lighting require large-scale, low-power device networks where thousands of…

The Bluetooth® Low Energy Primer

Are you new to Bluetooth Low Energy? Learn about its constituent parts, features, and how it works.

Bluetooth® Technology for Linux Developers

Learn how to use the interprocess communication system D-Bus and the BlueZ APIs to create Bluetooth applications for Linux computers.

Designing and Developing Bluetooth® Internet Gateways

Learn about Bluetooth® internet gateways, how to make them secure and scalable, and design and implement your own...

 Get Help