meta data for this page
Atinout is a program that reads a list of AT commands. It sends those commands one by one to the modem, waiting for the final result code for the currently executing command before continuing with the next command in the list. The output from the commands is captured.
It works even in cases when
/dev/ttyUSB2 is already locked by ModemManager.
This is a workaround for ModemManager, as the
–command=“AT” option from ModemManager now only works in debug mode.
Scale to fit
How to install
Compile from sources
As the last version is from 2014, there is now a warning while compiling with modern gcc versions. The q'n'd hack is the following, as it's only a single C-file.
sudo apt install git gcc git clone git://git.code.sf.net/p/atinout/code atinout cd atinout gcc -o atinout -W -Wall -Wextra -DVERSION=\"0.9.1\" atinout.c sudo mv atinout /usr/local/bin/
Note that there is no Debian package for this application yet.