Performant TCP over BLE

Jiamei Lv,Wei Dong,Yi Gao,Chun Chen
DOI: https://doi.org/10.1109/icnp55882.2022.9940406
2022-01-01
Abstract:Bluetooth Low Energy (BLE) has gained large popularity as an important infrastructure of Internet of Things (IoT). Recently, researchers have integrated the TCP/IP stack with the BLE stack for interoperability, supporting more upper-layer protocols and applications. However, these works gain extremely low TCP goodput due to connection event inefficiency when TCP cooperates with BLE. How to improve the performance is an urgent problem. This paper proposes TCPle, a performant TCP-over-BLE stack that presents a novel adaption layer design bridging the gap between TCP and BLE without violating their specifications. TCPle improves the efficiency of connection events significantly by two fundamental mechanisms: connection event length adaption and connection event maintenance which correspond to the two root causes of low goodput. The connection event length adaption mechanism predicts the data size to send based on an online learning method and updates the connection event capacity adaptively. This mechanism avoids the long waiting time of ACK to back to the TCP sender. The connection event maintenance mechanism prefetches data packets to maintain the connection event. This mechanism avoids the long waiting time of data packets when out of the sender after the ACK is back. We implemented TCPle on nRF52840 DK with RIOT OS based on lwIP stack and NimBLE stack and conducted extensive experiments to evaluate its performance. Results show that TCPle 1) is lightweight and well-suited for resource-constrained IoT devices; 2) improves TCP goodput by up to 101.6% compared with other existing TCP-over-BLE stacks.
What problem does this paper attempt to address?