Need help
Lei, S (NSN - CN/Beijing)
s.lei at nsn.com
Thu Nov 25 09:44:13 UTC 2010
Hello Minicom authors & supports,
I am using minicom (version 2.1) on linux to send AT command to the
modem, in minicom, I can send AT+CSQ command to the modem and get the
response from the modem no problem, just as below interaction within
minicom:
AT+CSQ
+CSQ: 12,99
OK
Now my question is if I want to write such AT command in my script and
let minicom run this script but how to log the response from the modem
to the logfile?
For example,
My script just like below:
root at ubuntu:~# more at
send "AT+CSQ"
expect {
"OK" break
timeout 6 goto TIMEOUT
}
TIMEOUT:
! killall -9 minicom
And execute minicom like this way:
root at ubuntu:~# minicom -S at2
But if I want to put the output info "+CSQ: 12,99" to the log file, how
to do it in the script?
Is this possible for minicom implementation?
Br,
Lei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/minicom-devel/attachments/20101125/5ccc8a9b/attachment.htm>
More information about the minicom-devel
mailing list