How to use Minicom programmatically without console input?

187 Views Asked by At

is there a way to use the Minicom functions in a python script? I need to transfer files via serial port on a raspberry pi 4 to another raspberry pi 4. Minicom offers this functionality and it works indeed when using the console interface.

But I need to trigger the file transfer automatically in my python script and I am not able to type this in the console.

Any kind of feedback is always appreciated.

Thanks. Michael

0

There are 0 best solutions below