I tend to use LoRa for the “spokes” of “hub and spoke” low power IoT networks.
My library would need a wrapper which implemented a mesh networking protocol.
I was thinking about adapting my Netduino WIfi Azure IoT Hub https client code so that a FEZT18-W can act as a field gateway for other LoRa devices.
If people wanted todo LoRaWAN there are products which implement the RF HW & wireless stack in firmware from companies like MicroChip. These are often a better way to go as the vendor has usually taken care of the necessary government and network certifications.