Open danielkucera opened 3 months ago
I have the same need, for a different purpose. I am trying to make some buggy/unsupported hardware speak Meshtastic, and currently my plan is to tap into the simulated radio as you suggest. It was rather simple to make the firmware output the packets it is trying to send to a FIFO file, encoded as hexadecimal for portability. It was similarly easy to make the proof of concept driver for this hardware transmit the packets.
Where I'm stuck is making the simulated radio "receive" data from real radio hardware. My hardware driver is outputting hex-encoded packets to a FIFO, but I don't know how to make Meshtastic fw read it.
While my use-case is probably less of a priority for developers, we can now say there are at least two use-cases for this requested feature.
Platform
Linux Native
Description
Hello, I have a conveniently located LoRaWAN gateway using packet forwarder protocol (see A in the picture).
I would like to use this gateway as a radio for meshtastic native (see B). In the middle, there is a multiplexer which will forward packets to/from both TTN and
???
box. I am able to implement the???
by myself. On the meshtastic side, I would need a simple "virtual radio" driver which can communicate via TCP/UDP. I was looking at SimRadio but that doesn't send the modulation parameters (freq, bw, sf, cr,...)Do you think this can be easily implemented? Do you think it would be easier to extend the SimRadio or write a new radio driver?