skip to main content
research-article

Design of a Robust MAC Protocol for LoRa

Published: 23 February 2023 Publication History

Abstract

Low-power wide-area networks enable large-scale deployments of low-power wireless devices. LoRaWAN is a long-range wireless technology that has emerged as a low-power and low data rate solution to support Internet of Things applications. Although LoRaWAN provides a low-power and cost-efficient networking solution, recent literature shows that it performs poorly in terms of reliability and security in dense deployments due to the uncoordinated (ALOHA-based) nature of the MAC (medium access control) protocol. Furthermore, LoRaWAN is not robust against selective jamming attacks. This article proposes CRAM: a time-synchronized cryptographic frequency hopping MAC protocol designed for the LoRa physical layer. CRAM reduces the contention by fairly exploiting the available frequency space and maximizes the entropy of the channel hopping algorithm. We develop a large physical testbed and a simulator to thoroughly evaluate the proposed protocol. Our evaluations show that CRAM significantly improves reliability and scalability and increases channel utilization while making selective jamming difficult to perform compared to the standard LoRaWAN protocol.

References

[1]
Statista. 2020. Number of Internet of Things (IoT) Connected Devices Worldwide in 2018, 2025 and 2030 (in Billions).Technical Report. Retrieved September 23, 2022 from https://www.statista.com/statistics/802690/worldwide-connected-devices-by-access-technology/.
[2]
The Things Network. 2021. LoRaWAN Duty Cycle. Technical Report. Retrieved September 23, 2022 from https://www.thethingsnetwork.org/docs/lorawan/duty-cycle.html.
[3]
The Things Network. 2021. LoRaWAN Gateway. Technical Report. Retrieved September 23, 2022 from https://www.thethingsnetwork.org/marketplace/product/lorawan-concentrator-868mhz.
[4]
Semtech. 2021. What Is LoRa?Technical Report. Retrieved September 23, 2022 from https://www.semtech.com/lora.
[5]
LoRa Alliance. 2021. Home Page. Retrieved September 23, 2022 from https://lora-alliance.org.
[6]
2021. Online. Technical Report. Retrieved September 23, 2022 from https://www.thethingsnetwork.org/docs/lorawan/adaptive-data-rate/.
[7]
The Things Network. 2021. Adaptive Data Rate. Technical Report. Retrieved September 23, 2022 from https://lora_alliance.org/resource_hub/lorawan-specification-v1-0.
[8]
Ferran Adelantado, Xavier Vilajosana, Pere Tuset-Peiro, Borja Martinez, Joan Melia-Segui, and Thomas Watteyne. 2017. Understanding the limits of LoRaWAN. IEEE Communications Magazine 55, 9 (2017), 34–40. DOI:
[9]
Absar-Ul-Haque Ahmar, Emekcan Aras, Wouter Joosen, and Danny Hughes. 2019. Towards more scalable and secure LPWAN networks using cryptographic frequency hopping. In Proceedings of the 2019 Wireless Days Conference (WD’19). 1–4. DOI:
[10]
Absar-Ul-Haque Ahmar, Emekcan Aras, Thien Duc Nguyen, Sam Michiels, Wouter Joosen, and Danny Hughes. 2020. CRAM: Robust medium access control for LPWAN using cryptographic frequency hopping. In Proceedings of the 2020 16th International Conference on Distributed Computing in Sensor Systems (DCOSS’20). 95–102. DOI:
[11]
Emekcan Aras, Nicolas Small, Gowri Sankar Ramachandran, Stéphane Delbruel, Wouter Joosen, and Danny Hughes. 2017. Selective jamming of LoRaWAN using commodity hardware. In Proceedings of the 14th EAI International Conference on Mobile and Ubiquitous Systems: Computing, Networking, and Services (MobiQuitous’17). ACM, New York, NY, 363–372. DOI:
[12]
Aloÿs Augustin, Jiazi Yi, Thomas Clausen, and William Mark Townsley. 2016. A study of LoRa: Long range & low power networks for the Internet of Things. Sensors 16, 9 (2016), 1466. DOI:
[13]
Dmitry Bankov, Evgeny Khorov, and Andrey Lyakhov. 2016. On the limits of LoRaWAN channel access. In Proceedings of the 2016 International Conference on Engineering and Telecommunication (EnT’16). 10–14. DOI:
[14]
Pape Abdoulaye Barro, Marco Zennaro, Jules Degila, and Ermanno Pietrosemoli. 2019. A smart cities LoRaWAN network based on autonomous base stations (BS) for some countries with limited Internet access. Future Internet 11, 4 (2019), 93.
[15]
Norbert Blenn and Fernando Kuipers. 2017. LoRaWAN in the wild: Measurements from the things network. arXiv preprint arXiv:1706.03086 (2017).
[16]
Martin Bor and Utz Roedig. 2017. LoRa transmission parameter selection. In Proceedings of the 2017 13th International Conference on Distributed Computing in Sensor Systems (DCOSS’17). 27–34. DOI:
[17]
C. Bormann, M. Ersue, and A. Keranen. 2014. Terminology for Constrained-Node Networks. Retrieved September 23, 2022 from http://www.ietf.org/rfc/rfc7228.txt.
[18]
Stéphane Delbruel, Nicolas Small, Emekcan Aras, Jonathan Oostvogels, and Danny Hughes. 2020. Tackling contention through cooperation: A distributed federation in LoRaWAN space. arxiv:1712.08221 (2020).
[19]
Arshad Farhad, Dae-Ho Kim, Jeong-Sun Yoon, and Jae-Young Pyun. 2021. Feasibility study of the LoRaWAN blind adaptive data rate. In Proceedings of the 2021 12th International Conference on Ubiquitous and Future Networks (ICUFN’21). IEEE, Los Alamitos, CA, 67–69.
[20]
Akshay Gadre, Revathy Narayanan, Anh Luong, Anthony Rowe, Bob Iannucci, and Swarun Kumar. 2020. Frequency configuration for low-power wide-area networks in a heartbeat. In Proceedings of the 17th USENIX Symposium on Networked Systems Design and Implementation (NSDI’20). 339–352. https://www.usenix.org/conference/nsdi20/presentation/gadre.
[21]
Amalinda Gamage, Jansen Christian Liando, Chaojie Gu, Rui Tan, and Mo Li. 2020. LMAC: Efficient Carrier-Sense Multiple Access for LoRa. ACM, New York, NY.
[22]
Claire Goursaud and Jean-Marie Gorce. 2015. Dedicated networks for IoT: PHY / MAC state of the art and challenges. EAI Endorsed Transactions on Internet of Things 1, 1 (Oct.2015), 150597. DOI:
[23]
Galal Hassan and Hossam S. Hassanein. 2018. MoT: A deterministic latency MAC protocol for mission-critical IoT applications. In Proceedings of the 2018 14th International Wireless Communications Mobile Computing Conference (IWCMC’18). 588–593. DOI:
[24]
Jetmir Haxhibeqiri, Floris Van den Abeele, Ingrid Moerman, and Jeroen Hoebeke. 2017. LoRa scalability: A simulation model based on interference measurements. Sensors 17, 6 (2017), 1193. DOI:
[25]
Tamzeed Islam, Bashima Islam, and Shahriar Nirjon. 2018. Duty-cycle-aware real-time scheduling of wireless links in low power WANs. In Proceedings of the 2018 14th International Conference on Distributed Computing in Sensor Systems (DCOSS’18). 53–60. DOI:
[26]
Nikolaos Kouvelas, Vijay S. Rao, R. Venkatesha Prasad, Gauri Tawde, and Koen Langendoen. 2020. p-CARMA: Politely scaling LoRaWAN. In Proceedings of the 2020 International Conference on Embedded Wireless Systems and Networks (EWSN’20). 25–36.
[27]
Yuxiang Lin, Wei Dong, Yi Gao, and Tao Gu. 2021. SateLoc: A virtual fingerprinting approach to outdoor LoRa localization using satellite images. ACM Transactions on Sensor Networks 17, 4 (2021), Article 43, 28 pages. DOI:
[28]
Aamir Mahmood, Emiliano Sisinni, Lakshmikanth Guntupalli, Raúl Rondón, Syed Ali Hassan, and Mikael Gidlund. 2019. Scalability analysis of a LoRa network under imperfect orthogonality. IEEE Transactions on Industrial Informatics 15, 3 (2019), 1425–1436. DOI:
[29]
Reza Firsandaya Malik, Andhika Rizky Perdana, Rido Zulfahmi, and Huda Ubaya. 2019. Dual-channel LoRa gateway using channel assignment on Raspberry Pi. Journal of Physics: Conference Series 1196 (2019), 012075.
[30]
Merin Susan Philip and Poonam Singh. 2021. Adaptive transmit power control algorithm for dynamic LoRa nodes in water quality monitoring system. Sustainable Computing: Informatics and Systems 32 (2021), 100613. DOI:
[31]
Rajeev Piyare, Amy L. Murphy, Michele Magno, and Luca Benini. 2018. On-demand LoRa: Asynchronous TDMA for energy efficient and low latency communication in IoT. Sensors 18, 11 (2018), 3718.
[32]
Tommaso Polonelli, Davide Brunelli, and Luca Benini. 2018. Slotted ALOHA overlay on LoRaWAN—A distributed synchronization approach. In Proceedings of the 2018 IEEE 16th International Conference on Embedded and Ubiquitous Computing (EUC’18). 129–132. DOI:
[33]
Alexandru-Ioan Pop, Usman Raza, Parag Kulkarni, and Mahesh Sooriyabandara. 2017. Does bidirectional traffic do more harm than good in LoRaWAN based LPWA networks? In Proceedings of the 2017 IEEE Global Communications Conference (GLOBECOM’17). 1–6. DOI:
[34]
Michiel Provoost and Danny Weyns. 2019. DingNet: A self-adaptive Internet-of-Things exemplar. In Proceedings of the 2019 IEEE/ACM 14th International Symposium on Software Engineering for Adaptive and Self-Managing Systems (SEAMS’19). 195–201.DOI:
[35]
Brecht Reynders, Qing Wang, Pere Tuset-Peiro, Xavier Vilajosana, and Sofie Pollin. 2018. Improving reliability and scalability of LoRaWANs through lightweight scheduling. IEEE Internet of Things Journal 5, 3 (2018), 1830–1842. DOI:
[36]
Lucas Fernando Santolin, Gustavo Cainelli, Max Feldman, and Ivan Müller. 2019. Physical layer analysis of LoRa protocol by means of a coexistence case study. In Proceedings of the 2019 IX Brazilian Symposium on Computing Systems Engineering (SBESC’19). 1–8. DOI:
[37]
Semtech. 2013. SX1272/3/6/7/8: LoRa Modem Designer’s Guide. Retrieved September 23, 2022 fromhttps:www.semtech.com/images/datasheet/LoraDesignGuide_STD.pdf.
[38]
Andrew S. Tanenbaum. 1996. Computer Networks (3rd ed.). Prentice Hall.
[39]
Thanh-Hai To and Andrzej Duda. 2018. Simulation of LoRa in NS-3: Improving LoRa performance with CSMA. In Proceedings of the 2018 IEEE International Conference on Communications (ICC’18). 1–7. DOI:
[40]
Shuai Tong, Jiliang Wang, and Yunhao Liu. 2020. Combating packet collisions using non-stationary signal scaling in LPWANs. In Proceedings of the 18th International Conference on Mobile Systems, Applications, and Services(MobiSys’20). ACM, New York, NY, 234–246. DOI:
[41]
Xianjin Xia, Yuanqing Zheng, and Tao Gu. 2020. FTrack: Parallel decoding for LoRa transmissions. IEEE/ACM Transactions on Networking 28, 6 (2020), 2573–2586. DOI:
[42]
Zhuqing Xu, Junzhou Luo, Zhimeng Yin, Tian He, and Fang Dong. 2020. S-MAC: Achieving high scalability via adaptive scheduling in LPWAN. In Proceedings of the IEEE Conference on Computer Communications (IEEE INFOCOM’20). 506–515. DOI:
[43]
Yaye Sarr, Bamba Gueye, and Cheikh Sarr. 2019. Performance analysis of a smart street lighting application using LoRa wan. In Proceedings of the 2019 International Conference on Advanced Communication Technologies and Networking (CommNet’19). IEEE, Los Alamitos, CA, 1–6.
[44]
Asif M. Yousuf, Edward M. Rochester, and Majid Ghaderi. 2018. A low-cost LoRaWAN testbed for IoT: Implementation and measurements. In Proceedings of the 2018 IEEE 4th World Forum on Internet of Things (WF-IoT’18). IEEE, Los Alamitos, CA, 361–366.
[45]
Eric Zeng, Shrirang Mare, and Franziska Roesner. 2017. End user security and privacy concerns with smart homes. In Proceedings of the 13th Symposium on Usable Privacy and Security (SOUPS’17). 65–80. https://www.usenix.org/conference/soups2017/technical-sessions/presentation/zeng.
[46]
Dimitrios Zorbas, Khaled Abdelfadeel, Panayiotis Kotzanikolaou, and Dirk Pesch. 2020. TS-LoRa: Time-slotted LoRaWAN for the Industrial Internet of Things. Computer Communications 153 (2020), 1–10.
[47]
Dimitrios Zorbas, Khaled Q. Abdelfadeel, Victor Cionca, Dirk Pesch, and Brendan O’Flynn. 2019. Offline scheduling algorithms for time-slotted LoRa-based bulk data transmission. In Proceedings of the 2019 IEEE 5th World Forum on Internet of Things (WF-IoT’19). 949–954. DOI:
[48]
Dimitrios Zorbas, Patrick Maillé, Brendan O’Flynn, and Christos Douligeris. 2019. Fast and reliable LoRa-based data transmissions. In Proceedings of the 2019 IEEE Symposium on Computers and Communications (ISCC’19). 1–6. DOI:

Cited By

View all
  • (2025)A Comprehensive Survey of Data-Driven Solutions for LoRaWAN: Challenges and Future DirectionsACM Transactions on Internet of Things10.1145/37119536:1(1-36)Online publication date: 10-Jan-2025
  • (2024)FDLoRa: Tackling Downlink-Uplink Asymmetry with Full-duplex LoRa GatewaysProceedings of the 22nd ACM Conference on Embedded Networked Sensor Systems10.1145/3666025.3699338(281-294)Online publication date: 4-Nov-2024
  • (2024)Processor-Sharing Internet of Things Architecture for Large-scale DeploymentProceedings of the 22nd ACM Conference on Embedded Networked Sensor Systems10.1145/3666025.3699333(211-224)Online publication date: 4-Nov-2024
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Internet of Things
ACM Transactions on Internet of Things  Volume 4, Issue 1
February 2023
226 pages
EISSN:2577-6207
DOI:10.1145/3582892
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Journal Family

Publication History

Published: 23 February 2023
Online AM: 16 September 2022
Accepted: 05 August 2022
Revised: 14 July 2022
Received: 26 May 2021
Published in TIOT Volume 4, Issue 1

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Low-power wide-area networks (LPWANs)
  2. LoRa
  3. time-synchronized channel hopping (TSCH)
  4. Internet of Things (IoT)
  5. medium access control (MAC)
  6. scalability
  7. selective jamming
  8. co-existence

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)153
  • Downloads (Last 6 weeks)16
Reflects downloads up to 02 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2025)A Comprehensive Survey of Data-Driven Solutions for LoRaWAN: Challenges and Future DirectionsACM Transactions on Internet of Things10.1145/37119536:1(1-36)Online publication date: 10-Jan-2025
  • (2024)FDLoRa: Tackling Downlink-Uplink Asymmetry with Full-duplex LoRa GatewaysProceedings of the 22nd ACM Conference on Embedded Networked Sensor Systems10.1145/3666025.3699338(281-294)Online publication date: 4-Nov-2024
  • (2024)Processor-Sharing Internet of Things Architecture for Large-scale DeploymentProceedings of the 22nd ACM Conference on Embedded Networked Sensor Systems10.1145/3666025.3699333(211-224)Online publication date: 4-Nov-2024
  • (2024)PolarScheduler: Dynamic Transmission Control for Floating LoRa NetworksACM Transactions on Sensor Networks10.1145/365285620:3(1-33)Online publication date: 23-Apr-2024
  • (2024)A Review for Increasing the Network Performance by Eliminating the Effect of Jamming Attack in Mobile Ad-Hoc Network2024 IEEE International Conference on Intelligent Signal Processing and Effective Communication Technologies (INSPECT)10.1109/INSPECT63485.2024.10896135(1-6)Online publication date: 7-Dec-2024
  • (2024)Current testing and performance evaluation methodologies of LoRa and LoRaWAN in IoT applications: Classification, issues, and future directivesInternet of Things10.1016/j.iot.2023.10105325(101053)Online publication date: Apr-2024
  • (2024)Advanced Traffic Differentiation in LoRaWAN IIoT Networks Through Contention Window StrategiesAdvances in Computing10.1007/978-3-031-75236-0_21(293-307)Online publication date: 22-Dec-2024
  • (2023)Enhancing LoRa Communication: A Comprehensive Review of Improvement Techniques2023 7th International Conference on System Reliability and Safety (ICSRS)10.1109/ICSRS59833.2023.10381139(507-512)Online publication date: 22-Nov-2023

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

HTML Format

View this article in HTML Format.

HTML Format

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media