API breaking change in latest meshtastic-python!

Hi ya’ll,

If you are using the meshtastic-python library I’m sorry but I just had to make a small API breaking change (made in version 1.0.12). I figure right now the # of users is still small and it is better to do it now than later.

If your code is using StreamInterface() instead you’ll want to change it to use SerialInterface(). Everything should work the same.

I made this change because I was a bit sloppy on the original inheritance hierarchy and I really should have had the BLE and TCP device adapters nicely in that same tree. I just added TCPInterface to allow API access to ESP32 devices via wifi (thanks to @mc-hamster 's work).

Example usage of this new feature and caveats listed here:

3 Likes