Bluetooth Low Energy
Bluetooth Low Energy is a wireless personal area network technology designed and marketed by the Bluetooth Special Interest Group aimed at novel applications in the healthcare, fitness, beacons, security, and home entertainment industries. It is independent of Bluetooth BR/EDR and has no compatibility, but BR/EDR and LE can coexist. The original specification was developed by Nokia in 2006 under the name Wibree, which was integrated into Bluetooth 4.0 in December 2009 as Bluetooth Low Energy.
Compared to Classic Bluetooth, Bluetooth Low Energy is intended to provide considerably reduced power consumption and cost while maintaining a [|similar communication range]. Mobile operating systems including iOS, Android, Windows Phone and BlackBerry, as well as macOS, Linux, Windows 8 and Windows 10, natively support Bluetooth Low Energy.
Compatibility
Bluetooth Low Energy is distinct from the previous Bluetooth Basic Rate/Enhanced Data Rate protocol, but the two protocols can both be supported by one device: the Bluetooth 4.0 specification permits devices to implement either or both of the LE and BR/EDR systems.Bluetooth Low Energy uses the same 2.4 GHz radio frequencies as classic Bluetooth, which allows dual-mode devices to share a single radio antenna, but uses a simpler modulation system.
Branding
In 2011, the Bluetooth SIG announced the Bluetooth Smart logo so as to clarify compatibility between the new low energy devices and other Bluetooth devices.- Bluetooth Smart Ready indicates a dual-mode device compatible with both classic and low energy peripherals.
- Bluetooth Smart indicates a low energy-only device which requires either a Smart Ready or another Smart device in order to function.
Target market
The Bluetooth SIG identifies a number of markets for low energy technology, particularly in the smart home, health, sport and fitness sectors. Cited advantages include:- low power requirements, operating for "months or years" on a button cell
- small size and low cost
- compatibility with a large installed base of mobile phones, tablets and computers
History
After further development with partners, in particular Logitech and within the European project MIMOSA, and actively promoted and supported by STMicroelectronics since its early stage, the technology was released to the public in October 2006 with the brand name Wibree. After negotiations with Bluetooth SIG members, an agreement was reached in June 2007 to include Wibree in a future Bluetooth specification as a Bluetooth ultra low power technology.
The technology was marketed as Bluetooth Smart and integration into version 4.0 of the Core Specification was completed in early 2010. The first smartphone to implement the 4.0 specification was the iPhone 4S, released in October 2011. A number of other manufacturers released Bluetooth Low Energy Ready devices in 2012.
The Bluetooth SIG officially unveiled Bluetooth 5 on 16 June 2016 during a media event in London. One change on the marketing side is that the point number was dropped, so it now just called Bluetooth 5. This decision was made to "simplifying marketing, and communicating user benefits more effectively". On the technical side, Bluetooth 5 will quadruple the range by using increased transmit power or coded physical layer, double the speed by using optional half of the symbol time compared to Bluetooth 4.x, and provide an eight-fold increase in data broadcasting capacity by increasing the advertising data length of low energy Bluetooth transmissions compared to Bluetooth 4.x, which could be important for IoT applications where nodes are connected throughout a whole house.
The Bluetooth SIG released Mesh Profile and Mesh Model specifications officially on 18 July 2017. Mesh specification enables using Bluetooth Low Energy for many-to-many device communications for home automation, sensor networks and other applications.
Applications
Borrowing from the original Bluetooth specification, the Bluetooth SIG defines several profiles — specifications for how a device works in a particular application — for low energy devices. Manufacturers are expected to implement the appropriate specifications for their device in order to ensure compatibility. A device may contain implementations of multiple profiles.The majority of current low energy application profiles are based on the Generic Attribute Profile, a general specification for sending and receiving short pieces of data, known as attributes, over a low energy link. The Bluetooth mesh profile is an exception to this rule, being based on the General Access Profile.
Mesh profiles
Bluetooth mesh profiles use Bluetooth Low Energy to communicate with other Bluetooth Low Energy devices in the network. Each device can pass the information forward to other Bluetooth Low Energy devices creating a "mesh" effect. For example, switching off an entire building of lights from a single smartphone.- MESH — for base mesh networking.
- MMDL — for application layer definitions. Term "model" is used in mesh specifications instead of "profile" to avoid ambiguities.
Health care profiles
- BLP — for blood pressure measurement.
- HTP — for medical temperature measurement devices.
- GLP — for blood glucose monitors.
- CGMP
Sports and fitness profiles
- BCS
- CSCP — for sensors attached to a bicycle or exercise bike to measure cadence and wheel speed.
- CPP
- HRP — for devices which measure heart rate
- LNP
- RSCP
- WSP
Internet connectivity
- IPSP
Generic sensors
- ESP
- UDS
HID connectivity
- HOGP allowing Bluetooth LE-enabled Wireless mice, keyboards and other devices offering long-lasting battery life.
Proximity sensing
Relevant application profiles include:
- FMP — the "find me" profile — allows one device to issue an alert on a second misplaced device.
- PXP — the proximity profile — allows a proximity monitor to detect whether a proximity reporter is within a close range. Physical proximity can be estimated using the radio receiver's RSSI value, although this does not have absolute calibration of distances. Typically, an alarm may be sounded when the distance between the devices exceeds a set threshold.
Alerts and time profiles
- The phone alert status profile and alert notification profile allow a client device to receive notifications such as incoming call alerts from another device.
- The time profile allows current time and time zone information on a client device to be set from a server device, such as between a wristwatch and a mobile phone's network time.
Battery
- The Battery Service exposes the Battery State and Battery Level of a single battery or set of batteries in a device.
Audio
Contact tracing
See Contact tracing.Implementation
Chip
Starting in late 2009, Bluetooth Low Energy integrated circuits were announced by a number of manufacturers. These ICs commonly use software radio so updates to the specification can be accommodated through a firmware upgrade.Hardware
Current mobile devices are commonly released with hardware and software support for both classic Bluetooth and the Bluetooth Low Energy.Operating systems
- iOS 5 and later
- Windows Phone 8.1
- Windows 8 and later
- Android 4.3 and later
- BlackBerry 10
- Linux 3.4 and later through BlueZ 5.0
- Unison OS 5.2
- macOS 10.10
Technical details
Radio interface
Bluetooth Low Energy technology operates in the same spectrum range as classic Bluetooth technology, but uses a different set of channels. Instead of the classic Bluetooth seventy-nine 1-MHz channels, Bluetooth Low Energy has forty 2-MHz channels. Within a channel, data is transmitted using Gaussian frequency shift modulation, similar to classic Bluetooth's Basic Rate scheme. The bit rate is 1 Mbit/s, and the maximum transmit power is 10 mW. Further details are given in Volume 6 Part A of the .Bluetooth Low Energy uses frequency hopping to counteract narrowband interference problems. Classic Bluetooth also uses frequency hopping but the details are different; as a result, while both FCC and ETSI classify Bluetooth technology as an FHSS scheme, Bluetooth Low Energy is classified as a system using digital modulation techniques or a direct-sequence spread spectrum.
Technical specification | Bluetooth Basic Rate/Enhanced Data Rate technology | Bluetooth Low Energy technology |
Distance/range | <100 m | |
Over the air data rate | 1–3 Mbit/s | 125 kbit/s – 1 Mbit/s – 2 Mbit/s |
Application throughput | 0.7–2.1 Mbit/s | 0.27-1.37 Mbit/s |
Active slaves | 7 | Not defined; implementation dependent |
Security | 56/128-bit and application layer user defined | 128-bit AES in CCM mode and application layer user defined |
Robustness | Adaptive fast frequency hopping, FEC, fast ACK | Adaptive frequency hopping, Lazy Acknowledgement, 24-bit CRC, 32-bit Message Integrity Check |
Latency | Typically 100 ms | 6 ms |
Minimum total time to send data | 0.625 ms | 3 ms |
Voice capable | Yes | No |
Network topology | Scatternet | Scatternet |
Power consumption | 1 W as the reference | 0.01–0.50 W |
Peak current consumption | <30 mA | <15 mA |
Service discovery | Yes | Yes |
Profile concept | Yes | Yes |
Primary use cases | Mobile phones, gaming, headsets, stereo audio streaming, smart homes, wearables, automotive, PCs, security, proximity, healthcare, sports & fitness, etc. | Mobile phones, gaming, smart homes, wearables, automotive, PCs, security, proximity, healthcare, sports & fitness, Industrial, etc. |
More technical details may be obtained from official specification as published by the Bluetooth SIG. Note that power consumption is not part of the Bluetooth specification.
Advertising and discovery
BLE devices are detected through a procedure based on broadcasting advertising packets. This is done using 3 separate channels, in order to reduce interference. The advertising device sends a packet on at least one of these three channels, with a repetition period called the advertising interval. For reducing the chance of multiple consecutive collisions, a random delay of up to 10 milliseconds is added to each advertising interval. The scanner listens to the channel for a duration called the scan window, which is periodically repeated every scan interval.The discovery latency is therefore determined by a probabilistic process and depends on the three parameters. The discovery scheme of BLE adopts a periodic-interval based technique, for which upper bounds on the discovery latency can be inferred for most parametrizations. While the discovery latencies of BLE can be approximated by models for purely periodic interval-based protocols, the random delay added to each advertising interval and the three-channel discovery can cause deviations from these predictions, or potentially lead to unbounded latencies for certain parametrizations.
Security
Bluetooth LE comes with very low, and in many cases broken security. BTLE or Bluetooth Smart, is a new modulation mode and link layer packet format targeting low powered devices and is found in recent high-end smart phones, sports devices, sensors, and will soon appear in many medical devices. Unfortunately the security implementation is broken with the encryption of any Bluetooth LE Energy link easily being rendered useless. This flaw in security can allow any device nearby to eavesdrop on Bluetooth Low Energy conversations. This includes packets being intercepted and reassembled into connection streams, as well as injection attacks.Software model
All Bluetooth Low Energy devices use the Generic Attribute Profile. The application programming interface offered by a Bluetooth Low Energy aware operating system will typically be based around GATT concepts. GATT has the following terminology:;Client
;Server
;Characteristic
;Service
;Descriptor
Some service and characteristic values are used for administrative purposes – for instance, the model name and serial number can be read as standard characteristics within the Generic Access service. Services may also include other services as sub-functions; the main functions of the device are so-called primary services, and the auxiliary functions they refer to are secondary services.
Identifiers
Services, characteristics, and descriptors are collectively referred to as attributes, and identified by UUIDs. Any implementer may pick a random or pseudorandom UUID for proprietary uses, but the Bluetooth SIG have reserved a range of UUIDs for standard attributes. For efficiency, these identifiers are represented as 16-bit or 32-bit values in the protocol, rather than the 128 bits required for a full UUID. For example, the Device Information service has the short code 0x180A, rather than.... The full list is kept in the document online.GATT operations
The GATT protocol provides a number of commands for the client to discover information about the server. These include:- Discover UUIDs for all primary services
- Find a service with a given UUID
- Find secondary services for a given primary service
- Discover all characteristics for a given service
- Find characteristics matching a given UUID
- Read all descriptors for a particular characteristic
- A value may be read either by specifying the characteristic's UUID, or by a handle value.
- Write operations always identify the characteristic by handle, but have a choice of whether or not a response from the server is required.
- 'Long read' and 'Long write' operations can be used when the length of the characteristic's data exceeds the MTU of the radio link.
An indication is similar to a notification, except that it requires a response from the client, as confirmation that it has received the message.
Battery impact
Bluetooth Low Energy is designed to enable devices to have very low power consumption. Several chipmakers including Cambridge Silicon Radio, Dialog Semiconductor, Nordic Semiconductor, STMicroelectronics, Cypress Semiconductor, Silicon Labs and Texas Instruments had introduced Bluetooth Low Energy optimized chipsets by 2014. Devices with peripheral and central roles have different power requirements. A study by beacon software company Aislelabs reported that peripherals such as proximity beacons usually function for 1–2 years powered by a 1,000mAh coin cell battery. This is possible because of the power efficiency of Bluetooth Low Energy protocol, which only transmits small packets as compared to Bluetooth Classic which is also suitable for audio and high bandwidth data.In contrast, a continuous scan for the same beacons in central role can consume 1,000 mAh in a few hours. Android and iOS devices also have very different battery impact depending on type of scans and the number of Bluetooth Low Energy devices in the vicinity. With newer chipsets and advances in software, by 2014 both Android and iOS phones had negligible power consumption in real-life Bluetooth Low Energy use.
2M PHY
Bluetooth 5 has introduced a new transmission mode with a doubled symbol rate. Bluetooth LE has been traditionally transmitting 1 bit per symbol so that theoretically the data rate doubles as well. However the new mode doubles the bandwidth from about 1 MHz to about 2 MHz which makes for more interferences on the edge regions. The partitioning of the ISM frequency band has not changed being still 40 channels spaced at a distance of 2 MHz. This is an essential differences over Bluetooth 2 EDR which did also double the data rate but it is doing that by employing a π/4-DQPSK or 8-DPSK phase modulation on a 1 MhZ channel while Bluetooth 5 continues to use just frequency shift keying.The traditional transmission of 1 Mbit in the Bluetooth Basic Rate was renamed 1M PHY in Bluetooth 5. The new mode at a doubled symbol speed was introduced as the 2M PHY. In Bluetooth Low Energy every transmission starts on the 1M PHY leaving it to the application to initiate a switch to the 2M PHY. In that case both sender and receiver will switch to the 2M PHY for transmissions. This is designed to facilitate firmware updates where the application can switch back to a traditional 1M PHY in case of errors. In reality the target device should be close to the programming station.
LE Coded
Bluetooth 5 has introduced two new modes with lower data rate. The symbol rate of the new "Coded PHY" is the same as the Base Rate 1M PHY but in mode S=2 there are two symbols transmitted per data bit. In mode S=2 only a simple Pattern Mapping P=1 is used which simply produces the same stuffing bit for each input data bit. In mode S=8 there are eight symbols per data bit with a Pattern Mapping P=4 producing contrasting symbol sequences - a 0 bit is encoded as binary 0011 and a 1 bit is encoded as binary 1100. In mode S=2 using P=1 the range doubles approximately, while in mode S=8 using P=4 it does quadruple.The "LE Coded" transmissions have not only changed the error correction scheme but it uses a fundamentally new packet format. Each "LE Coded" burst consists of three blocks. The switch block is transmitted on the LE 1M PHY but it only consists of 10 times a binary '00111100' pattern. These 80 bits are not FEC encoded as usual but they are sent directly to the radio channel. It is followed by a header block which is always transmitted in S=8 mode. The header block only contains the destination address and an encoding flag. The Coding Indicator defines the Pattern Mapping used for the following payload block where S=2 is possible.
The new packet format of Bluetooth 5 allows transmitting from 2 up to 256 bytes as the payload in a single burst. This is a lot more than the maximum of 31 bytes in Bluetooth 4. Along with reach measurements this should allow for localisation functions. As a whole the quadrupled range - at the same transmission power - is achieved at the expense of a lower data being at an eighth with 125 kBit. The old transmission packet format, as it continues to be used in the 1M PHY and 2M PHY modes, has been named "Uncoded" in Bluetooth 5. The intermediate "LE Coded" S=2 mode allows for a 500 kBit data rate in the payload which is both beneficial for shorter latencies as well lower power consumption as the burst time itself is shorter.