Meshtastic

Working python API example

I Am trying to get the python API working on a raspberry PI with a TTGO radio preloaded with meshtastic.

I can see the radio connected now.

When I try to run the example code:

it just hangs and doesn’t time out.

Is there an beginner tutorial? I am newish to python and programming in general and so need some direction.

If I had a basic working “getting started” program I could work from there.

Thanks!
j

1 Like

ok figured it out.
For the fellow neophytes who come to this project.
The example code listens for incoming packets and when received will display the incoming packet data.
To send using interface.sendText(“test”) works.

1 Like