arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.21136cs.NIcs.SYeess.SY
收藏

具有CAD和捕获效应的LoRa和LoRaWAN模拟器-模拟器(Python实现)

LoRa and LoRaWAN simulator-cum-emulator with CAD and capture effect in Python

Matthijs Reyers, Niels Hokke, R. R. Venkatesha Prasad

AI总结:

本文提出了一种基于Python的简单易用的离散事件模拟器,解决了现有LoRaWAN/LoRa模拟器代码复杂且不支持所有设备类的问题,并引入了一种新颖的评估真实设备固件的方法。

摘要:

现有的LoRaWAN/LoRa模拟器通常由大型复杂的C++代码库构成,且往往不支持所有设备类。本文提出了一种简单易用的基于Python的离散事件模拟器,该模拟器通过自定义的asyncio-based模拟内核、三阶段数据包交付模型(可复现捕获效应)、完整的LoRaWAN 1.0.4协议栈以及容器化固件系统来解决这些问题。该模拟器通过CFFI将真实STM32 C固件的HAL调用重定向到模拟器中,并通过GitHub(https://github.com/MatthijsReyers/lora-simulator)作为Python包分发,无需任何外部模拟框架或依赖项。

英文摘要:

Existing LoRaWAN/LoRa simulators consist of large, complicated C++ codebases and often do not support all device classes. This paper presents the design of a simple to use, Python-based discrete-event simulator that addresses these gaps while also introducing a novel method for evaluating real device firmware in the simulator. The simulator is built on a custom asyncio-based simulation kernel, a three-phase packet delivery model that reproduces the capture effect, a full LoRaWAN 1.0.4 stack, and a containerized firmware system that cross-compiles real STM32 C firmware and redirects HAL calls into the simulator via CFFI. The simulator is distributed as a Python package via Github (https://github.com/MatthijsReyers/lora-simulator) and requires no external simulation framework or dependencies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑