Optimizing the Bluetooth Low-Energy Service Discovery Process

Bluetooth Low Energy (BLE), a short-range and low-power communication protocol, has gained a lot of popularity in recent years. A part of BLE is the Generic Attribute Profile (GATT) which defines the data communication between two devices. During the initial connection between two BLE devices a disc...

Full description

Bibliographic Details
Main Authors: Kristof T’Jonck, Bozheng Pang, Hans Hallez, Jeroen Boydens
Format: Article
Language:English
Published: MDPI AG 2021-05-01
Series:Sensors
Subjects:
Online Access:https://www.mdpi.com/1424-8220/21/11/3812
id doaj-e7ec04a64d824acd98c458f8b3e504a7
record_format Article
spelling doaj-e7ec04a64d824acd98c458f8b3e504a72021-06-01T01:47:41ZengMDPI AGSensors1424-82202021-05-01213812381210.3390/s21113812Optimizing the Bluetooth Low-Energy Service Discovery ProcessKristof T’Jonck0Bozheng Pang1Hans Hallez2Jeroen Boydens3M-Group, imec-DistriNet, Department of Computer Science, KU Leuven Bruges Campus, 8200 Bruges, BelgiumM-Group, imec-DistriNet, Department of Computer Science, KU Leuven Bruges Campus, 8200 Bruges, BelgiumM-Group, imec-DistriNet, Department of Computer Science, KU Leuven Bruges Campus, 8200 Bruges, BelgiumM-Group, imec-DistriNet, Department of Computer Science, KU Leuven Bruges Campus, 8200 Bruges, BelgiumBluetooth Low Energy (BLE), a short-range and low-power communication protocol, has gained a lot of popularity in recent years. A part of BLE is the Generic Attribute Profile (GATT) which defines the data communication between two devices. During the initial connection between two BLE devices a discovery of services, characteristics and descriptors is required for the GATT to operate. During this discovery phase, the device is unusable as it builds the foundation for further data transactions. When unoptimized, this discovery step can take up to a few seconds, leading to frustrations for the end user or delays in some applications. In this paper, we aim to find guidelines on how to optimize this discovery process. A simulation framework was developed, able to simulate and analyze the packet exchange of the service discovery, while taking link layer parameters into account. The results show that minimizing the connection interval and maximizing the data length leads to the lowest discovery times. Practical experiments in real environment, however, show that the theoretically calculated times are not reachable due to processing overhead and retransmissions. Theoretical results also show that the current BLE discovery process, even after optimizations, has a lot of overhead. To fix the problems with the current protocol, this paper proposes a new Rapid Service Discovery Protocol, which enables a fast and efficient service discovery.https://www.mdpi.com/1424-8220/21/11/3812bluetooth low-energyservice discoveryoptimization
collection DOAJ
language English
format Article
sources DOAJ
author Kristof T’Jonck
Bozheng Pang
Hans Hallez
Jeroen Boydens
spellingShingle Kristof T’Jonck
Bozheng Pang
Hans Hallez
Jeroen Boydens
Optimizing the Bluetooth Low-Energy Service Discovery Process
Sensors
bluetooth low-energy
service discovery
optimization
author_facet Kristof T’Jonck
Bozheng Pang
Hans Hallez
Jeroen Boydens
author_sort Kristof T’Jonck
title Optimizing the Bluetooth Low-Energy Service Discovery Process
title_short Optimizing the Bluetooth Low-Energy Service Discovery Process
title_full Optimizing the Bluetooth Low-Energy Service Discovery Process
title_fullStr Optimizing the Bluetooth Low-Energy Service Discovery Process
title_full_unstemmed Optimizing the Bluetooth Low-Energy Service Discovery Process
title_sort optimizing the bluetooth low-energy service discovery process
publisher MDPI AG
series Sensors
issn 1424-8220
publishDate 2021-05-01
description Bluetooth Low Energy (BLE), a short-range and low-power communication protocol, has gained a lot of popularity in recent years. A part of BLE is the Generic Attribute Profile (GATT) which defines the data communication between two devices. During the initial connection between two BLE devices a discovery of services, characteristics and descriptors is required for the GATT to operate. During this discovery phase, the device is unusable as it builds the foundation for further data transactions. When unoptimized, this discovery step can take up to a few seconds, leading to frustrations for the end user or delays in some applications. In this paper, we aim to find guidelines on how to optimize this discovery process. A simulation framework was developed, able to simulate and analyze the packet exchange of the service discovery, while taking link layer parameters into account. The results show that minimizing the connection interval and maximizing the data length leads to the lowest discovery times. Practical experiments in real environment, however, show that the theoretically calculated times are not reachable due to processing overhead and retransmissions. Theoretical results also show that the current BLE discovery process, even after optimizations, has a lot of overhead. To fix the problems with the current protocol, this paper proposes a new Rapid Service Discovery Protocol, which enables a fast and efficient service discovery.
topic bluetooth low-energy
service discovery
optimization
url https://www.mdpi.com/1424-8220/21/11/3812
work_keys_str_mv AT kristoftjonck optimizingthebluetoothlowenergyservicediscoveryprocess
AT bozhengpang optimizingthebluetoothlowenergyservicediscoveryprocess
AT hanshallez optimizingthebluetoothlowenergyservicediscoveryprocess
AT jeroenboydens optimizingthebluetoothlowenergyservicediscoveryprocess
_version_ 1721411523050471424