Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

BLEdge: Edge-centric Programming for BLE Applications with Multi-connection Optimization

Published: 22 November 2024 Publication History

Abstract

Recent years have witnessed the rapid growth of IoT (Internet of Things). Bluetooth Low Energy (BLE) is one of the most popular wireless protocols to implement IoT applications because of its energy efficiency and low-cost properties. However, the development of BLE applications is time-consuming and exhausting. Users are required to write programs for both sides of a BLE connection using complicated low-level APIs. Moreover, it needs much expertise for developers to set appropriate parameters in accordance to different application requirements, especially when there exist multiple concurrent BLE connections. To address these problems, we propose BLEdge, an edge-centric programming approach for BLE applications with multi-connection optimization. First, we propose a wireless bus abstraction for BLE programming. With this, users can write BLE applications in an edge-centric way, as if the BLE-connected peripherals are physically attached to the edge node. Second, we advocate an optimization approach for BLE connection parameters. This optimization approach considers the time slot collision problem under a multi-connection scenario. We conduct extensive experiments with the nRF52840DK platform. Experiment results show that BLEdge can reduce 62.50% to 90.55% LOC (Lines of Code) when developing BLE applications. Furthermore, our parameter optimization approach can reduce up to 42.23% energy consumption.

References

[1]
2019. https://github.com/apache/mynewt-nimble/issues/615
[2]
2022. nimble/controller: Issue#1135 fix. https://github.com/apache/mynewt-nimble/pull/1138
[3]
2024. Apache MyNewt. https://github.com/apache/mynewt-core
[4]
2024. Apache NimBLE. https://github.com/apache/mynewt-nimble
[5]
2024. FreeRTOS. https://github.com/FreeRTOS/FreeRTOS
[6]
2024. nRF52840 Objective Product Specification v1.8. https://infocenter.nordicsemi.com/pdf/nRF52840_PS_v1.8.pdf
[7]
2024. RIOT OS phydat. https://doc.riot-os.org/phydat_8h.html
[8]
2024. RIOT OS: The Friendly Operating System for the Internet of Things. https://www.riot-os.org/
[9]
2024. scikit-opt. https://github.com/guofei9987/scikit-opt
[10]
2024. Zephyr Project. https://github.com/zephyrproject-rtos/zephyr
[11]
Joshua Adkins, Branden Ghena, Neal Jackson, Pat Pannuto, Samuel Rohrer, Bradford Campbell, and Prabal Dutta. 2018. The signpost platform for city-scale sensing. In 2018 17th ACM/IEEE International Conference on Information Processing in Sensor Networks (IPSN). IEEE, 188–199.
[12]
Zhicheng Dai, Shengming Wang, and Zhonghua Yan. 2012. BSHM-WSN: A wireless sensor network for bridge structure health monitoring. In 2012 Proceedings of International Conference on Modelling, Identification and Control. IEEE, 708–712.
[13]
F. John Dian and Reza Vahidnia. 2020. Formulation of BLE throughput based on node and link parameters. Canadian Journal of Electrical and Computer Engineering 43, 4 (2020), 261–272.
[14]
Soledad Escolar, Jesus Carretero, Florin Isaila, and Felix Garcia. 2007. A driver model based on Linux for TinyOS. In 2007 International Symposium on Industrial Embedded Systems. IEEE, 361–364.
[15]
Espressif. 2024. Espressif IoT Development Framework. https://github.com/espressif/esp-idf
[16]
Yi Gao, Wei Dong, Kai Guo, Xue Liu, Yuan Chen, Xiaojin Liu, Jiajun Bu, and Chun Chen. 2016. Mosaic: A low-cost mobile sensing system for urban air quality monitoring. In IEEE INFOCOM 2016-The 35th Annual IEEE International Conference on Computer Communications. IEEE, 1–9.
[17]
Daniel Graham and Gang Zhou. 2016. Prototyping wearables: A code-first approach to the design of embedded systems. IEEE Internet of Things Journal 3, 5 (2016), 806–815.
[18]
Gaoyang Guan, Wei Dong, Yi Gao, Kaibo Fu, and Zhihao Cheng. 2017. TinyLink: A holistic system for rapid development of IoT applications. In Proceedings of the 23rd Annual International Conference on Mobile Computing and Networking. 383–395.
[19]
Gaoyang Guan, Borui Li, Yi Gao, Yuxuan Zhang, Jiajun Bu, and Wei Dong. 2020. TinyLink 2.0: Integrating device, cloud, and client development for IoT applications. In Proceedings of the 26th Annual International Conference on Mobile Computing and Networking. 1–13.
[20]
Shayne Hodge. 2016. A rapid IoT prototyping toolkit. Retrieved on September 3 (2016), 2020.
[21]
Philipp Kindt, Daniel Yunge, Mathias Gopp, and Samarjit Chakraborty. 2015. Adaptive online power-management for Bluetooth low energy. In 2015 IEEE Conference on Computer Communications (INFOCOM). IEEE, 2695–2703.
[22]
Sam Kumar, Michael P. Andersen, Hyung-Sin Kim, and David E. Culler. 2020. Performant TCP for low-power wireless networks. In 17th USENIX Symposium on Networked Systems Design and Implementation (NSDI 20). 911–932.
[23]
Borui Li and Wei Dong. 2020. Automatic generation of IoT device platforms with AutoLink. IEEE Internet of Things Journal 8, 7 (2020), 5893–5903.
[24]
Yeming Li, Jiamei Lv, Borui Li, and Wei Dong. 2023. RT-BLE: Real-time multi-connection scheduling for Bluetooth low energy. In Proc. of IEEE INFOCOM. IEEE, 1–10.
[25]
Andreina Liendo, Dominique Morche, Roberto Guizzetti, and Franck Rousseau. 2018. BLE parameter optimization for IoT applications. In 2018 IEEE International Conference on Communications (ICC). IEEE, 1–7.
[26]
Chhavi Mangla, Musheer Ahmad, and Moin Uddin. 2021. Optimization of complex nonlinear systems using genetic algorithm. International Journal of Information Technology 13 (2021), 1913–1925.
[27]
Eunjeong Park, Hyung-Sin Kim, and Saewoong Bahk. 2021. BLEX: Flexible multi-connection scheduling for Bluetooth low energy. In Proceedings of the 20th International Conference on Information Processing in Sensor Networks (co-located with CPS-IoT Week 2021). 268–282.
[28]
G. Enrico Santagati and Tommaso Melodia. 2017. An implantable low-power ultrasonic platform for the internet of medical things. In IEEE INFOCOM 2017-IEEE Conference on Computer Communications. IEEE, 1–9.
[29]
Michael Spörk, Carlo Alberto Boano, Marco Zimmerling, and Kay Römer. 2017. BLEach: Exploiting the full potential of IPv6 over BLE in constrained embedded IoT devices. In Proceedings of the 15th ACM Conference on Embedded Network Sensor Systems. 1–14.
[30]
Michael Spörk, Markus Schuß, Carlo Alberto Boano, and Kay Römer. 2021. Ensuring end-to-end dependability requirements in cloud-based Bluetooth low energy applications. In EWSN. 55–66.
[31]
Kazuaki Tanaka and Hirohito Higashi. 2017. mruby–rapid IoT software development. In Proc. of Springer ICCSA. Springer, 733–742.
[32]
Giacomo Tanganelli, Carlo Vallati, and Enzo Mingozzi. 2019. Rapid prototyping of IoT solutions: A developer’s perspective. IEEE Internet Computing 23, 4 (2019), 43–52.
[33]
Tawan Wasanapradit, Nalinee Mukdasanit, Nachol Chaiyaratana, and Thongchai Srinophakun. 2011. Solving mixed-integer nonlinear programming problems using improved genetic algorithms. Korean Journal of Chemical Engineering 28 (2011), 32–40.
[34]
Pushpendra Kumar Yadav and N. L. Prajapati. 2012. An overview of genetic algorithm and modeling. International Journal of Scientific and Research Publications 2, 9 (2012), 1–4.
[35]
Wei Ye, Fabio Silva, and John Heidemann. 2006. Ultra-low duty cycle MAC with scheduled channel polling. In Proceedings of the 4th International Conference on Embedded Networked Sensor Systems. 321–334.
[36]
Chong Zhang, Songfan Li, Yihang Song, Qianhe Meng, Minghua Chen, YanXu Bai, Li Lu, and Hongzi Zhu. 2023. LEGO: Empowering chip-level functionality plug-and-play for next-generation IoT devices. In Proc. of ACM ASPLOS. 404–418.
[37]
Chong Zhang, Songfan Li, Yihang Song, Qianhe Meng, Li Lu, Hongzi Zhu, and Xin Wang. 2023. A lightweight and chip-level reconfigurable architecture for next-generation IoT end devices. IEEE Trans. Comput. (2023).

Cited By

View all
  • (2024)Noise-Resistance Learning via Multi-Granularity Consistency for Unsupervised Domain Adaptive Person Re-IdentificationACM Transactions on Multimedia Computing, Communications, and Applications10.1145/3702328Online publication date: 2-Nov-2024
  • (2024)Correlation-aware Cross-modal Attention Network for Fashion Compatibility Modeling in UGC SystemsACM Transactions on Multimedia Computing, Communications, and Applications10.1145/3698772Online publication date: 5-Oct-2024
  • (2024)Efficiently Gluing Pre-Trained Language and Vision Models for Image CaptioningACM Transactions on Intelligent Systems and Technology10.1145/368206715:6(1-16)Online publication date: 29-Jul-2024
  • Show More Cited By

Index Terms

  1. BLEdge: Edge-centric Programming for BLE Applications with Multi-connection Optimization

        Recommendations

        Comments

        Information & Contributors

        Information

        Published In

        cover image ACM Transactions on Sensor Networks
        ACM Transactions on Sensor Networks  Volume 20, Issue 6
        November 2024
        422 pages
        EISSN:1550-4867
        DOI:10.1145/3613636
        • Editor:
        • Wen Hu
        Issue’s Table of Contents

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Journal Family

        Publication History

        Published: 22 November 2024
        Online AM: 01 October 2024
        Accepted: 01 September 2024
        Revised: 19 March 2024
        Received: 16 October 2023
        Published in TOSN Volume 20, Issue 6

        Check for updates

        Author Tags

        1. Bluetooth low energy
        2. wireless bus
        3. connection optimization

        Qualifiers

        • Research-article

        Funding Sources

        • National Natural Science Foundation of China
        • “Pioneer” and “Leading Goose” R&D Program of Zhejiang
        • National Youth Talent Support Program

        Contributors

        Other Metrics

        Bibliometrics & Citations

        Bibliometrics

        Article Metrics

        • Downloads (Last 12 months)120
        • Downloads (Last 6 weeks)16
        Reflects downloads up to 04 Feb 2025

        Other Metrics

        Citations

        Cited By

        View all
        • (2024)Noise-Resistance Learning via Multi-Granularity Consistency for Unsupervised Domain Adaptive Person Re-IdentificationACM Transactions on Multimedia Computing, Communications, and Applications10.1145/3702328Online publication date: 2-Nov-2024
        • (2024)Correlation-aware Cross-modal Attention Network for Fashion Compatibility Modeling in UGC SystemsACM Transactions on Multimedia Computing, Communications, and Applications10.1145/3698772Online publication date: 5-Oct-2024
        • (2024)Efficiently Gluing Pre-Trained Language and Vision Models for Image CaptioningACM Transactions on Intelligent Systems and Technology10.1145/368206715:6(1-16)Online publication date: 29-Jul-2024
        • (2024)Dual-path Collaborative Generation Network for Emotional Video CaptioningProceedings of the 32nd ACM International Conference on Multimedia10.1145/3664647.3681603(496-505)Online publication date: 28-Oct-2024
        • (2024)Simple but Effective Raw-Data Level Multimodal Fusion for Composed Image RetrievalProceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval10.1145/3626772.3657727(229-239)Online publication date: 10-Jul-2024

        View Options

        Login options

        Full Access

        View options

        PDF

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader

        Full Text

        View this article in Full Text.

        Full Text

        Figures

        Tables

        Media

        Share

        Share

        Share this Publication link

        Share on social media