Hacking bits and pieces from meshtastic's firmware is most probably the fastest way.
Meshtastic is currently using cheap esp32 which act as interface between end device and the LoRa radios. The meshtastic app uses the radio via the esp32's bluetooth or wifi. Serial over usb also works. Some people ...