Howto receive messages from the device using the python meshtastic cli?

Since it is possible to connect the device to USB and
use the meshtastic python cli tool to send messages like this:

meshtastic --port /dev/ttyACM0 --sendtext "Hello World!"

I am wondering if is it possible to read/wait for messages as well ?

Something like this:

meshtastic --port /dev/ttyACM0 --receivetext | while read message ....

Note: receivetext is not a valid option, the above is just to explain what I am looking for.

Thanks in advance

1 Like

I made a version of the CLI written in Go that has an option like this built in. I actually made it for this exact reason :joy:

You can download it from the GitHub repo if you’re interested GitHub - lmatte7/meshtastic-go: CLI for Meshtastic Devices

2 Likes

Very nice, thank you.
i search for very simple GUI for windows users, to send messages.
For “dummy” in meshtastic webinterface is not easy to access.