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
_version_ 1797531889728225280
author Kristof T’Jonck
Bozheng Pang
Hans Hallez
Jeroen Boydens
author_facet Kristof T’Jonck
Bozheng Pang
Hans Hallez
Jeroen Boydens
author_sort Kristof T’Jonck
collection DOAJ
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.
first_indexed 2024-03-10T10:50:15Z
format Article
id doaj.art-e7ec04a64d824acd98c458f8b3e504a7
institution Directory Open Access Journal
issn 1424-8220
language English
last_indexed 2024-03-10T10:50:15Z
publishDate 2021-05-01
publisher MDPI AG
record_format Article
series Sensors
spelling doaj.art-e7ec04a64d824acd98c458f8b3e504a72023-11-21T22:17:08ZengMDPI AGSensors1424-82202021-05-012111381210.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
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
title 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_short Optimizing the Bluetooth Low Energy Service Discovery Process
title_sort optimizing the bluetooth low energy service discovery process
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