I'm using minicom to test my connection on serial port.
sudo minicom -b 115200 -D /dev/ttyS0
in this way minicom opens its 'console-gui' and allow me to send data.
I send:
atz
and obtain 'OK'
at
and obtain 'OK'
Ans so on.
I need to run a script that write to inifinity "at" and read answer..
Any advice?
I evaluate other programs too.
runscript is a simple script interpreter that can be called from within the minicom communications program to automate tasks like logging in to a Unix system or your favorite BBS.
Minicom have -S option for executing SCRIPT at startup time,so made a script with your commands like
vi script.txt
send atz
send at
Run your script with minicom like
minicom -S script.txt
Also refer http://www.linuxcommand.org/man_pages/runscript1.html for minicom scripting
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With