Hi,
We are testing one MTC-LEU4 for sending/receiving SMS using a Python script on Linux (Ubuntu 18) but found some strange behaviors.
The testing environment is based on virtualbox (host is Windows).
When connecting the modem we have the correct dmesg messages, the driver is loaded (cdc_acm) and we are able to connect to ttyACM0 and ttyACM3 ports using “screen” command.
After accessing the ports using the python library “serial” we are able to access the ports.
When we started using the open source library “gsm.modem” library and try to use the script SentSMS.py the ttyACM port stops responding.
The only way to get access again is to unplug/plug the USB port on the PC.
Our question is how can we reset the ttyACM ports on software so that no human intervention is needed.
Thank you.
BR,
Pedro André