Quantcast
Channel: How Do I Log USB Modem AT Command Output? - Ask Ubuntu
Browsing all 3 articles
Browse latest View live

Answer by waltinator for How Do I Log USB Modem AT Command Output?

The expect tool is designed for just this sort of task. man expect will get you started.

View Article



Answer by pabouk for How Do I Log USB Modem AT Command Output?

Below is an example script with some logic for logging and cleanup when the script terminates (the trap command). Important trick is to keep the input from the serial port open otherwise the input from...

View Article

How Do I Log USB Modem AT Command Output?

I want to be able to send the command "AT+CSQ" to /dev/ttyUSB1 every 5 seconds, and log out response to a text file. I can do it manually via screen (screen /dev/ttyUSB1 and type in AT+CSQ and see the...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images