In order to avoid any possible confusion, the "poorly managed" libraries vbulbul is referring to are these:
- GitHub - arduino-libraries/MKRWAN: An Arduino library for sending and receiving data using LoRaWAN protocol and LoRa® radios.
- GitHub - arduino-libraries/MKRWAN_v2: [Beta] Library for Arduino MKRWAN 1300 / 1310 suitable for firmwares derived from ST sources
@vbulbul it might be helpful if you describe what your requirements are for the library.
You might take a look at this library:
("LoRa by Sandeep Mistry" in the Arduino Library Manager)
This library is used by the MKRWAN library's " DumbModemLoraSender" example sketch.
But this library is not a direct replacement for the MRKWAN library, as is explained here:
https://github.com/sandeepmistry/arduino-LoRa#user-content-faq
4) How does this library differ from LoRaWAN libraries?
This library exposes the LoRa radio directly, and allows you to send data to any radios in range with same radio parameters. All data is broadcasted and there is no addressing. LoRaWAN builds on top of LoRA, but adds addressing, encryption, and additional layers. It also requires a LoRaWAN gateway and LoRaWAN network and application server.