Abstract
LoRaMesher is an open-source C++ library that enables multi-hop mesh networks over LoRa communication on ESP32 microcontroller boards. The library implements a proactive distance-vector routing protocol that maintains routing tables on each node and provides unicast, broadcast, and reliable message delivery, including fragmentation and reassembly for large payloads. LoRaMesher leverages RadioLib for radio access and FreeRTOS for task scheduling, and integrates with PlatformIO for development. By allowing LoRa devices to communicate directly in a mesh network, rather than via LoRaWAN gateways, the library enables fully distributed applications on low-power IoT nodes. This paper describes the LoRaMesher software, its architecture, main functionalities, and usage examples, and discusses its relevance for research and applied IoT deployments.