In partnership with Cambria Corporation, we have a new plugin for Meshtastic – the SerialPlugin.
This is a really cool plugin. You turn it on with the Meshtastic Python API or soon, Meshtastic Web. With it turned on, a serial port will be enabled on your device.
Any messages sent to this serial port will be sent back out to all other devices on the mesh network. Any message on the same channel will then be sent back to over the serial port.
An example use case would be if you want to integrate your Arduino project and let your Meshtastic Device handle all the protocol, handshaking and everything else to pass messages to and from the Meshtastic network.
Right now it only works for esp32 targets but wouldn’t be too difficult to make it work for other platforms too.
This will be available in the next published alpha device firmware.
More information is in the comments of the source code. Feedback would really be appreciated!