| by Arround The Web | No comments

Atinout on Ubuntu

A software called Atinout reads a list of AT instructions. It sends each instruction/command to the modem one at a time while waiting for the current command’s final result code before moving on to another command on the list. Atinout is a program that runs the AT commands in order and records the modem’s answer. In this article, we will discuss the installation and the use of Atinout on Ubuntu systems.

Atinout is an application available for different versions of Linux. Ubuntu is a Linux operating system that is very popular and easy to use. We can install and use Atinout on the Ubuntu system.

Installation of Atinout on Ubuntu

Atinout is a Linux application whose most recent version is atinout-0.9.1.tar.gz. It can be run online under the free workstation hosting service, OnWorks.

Step 1: Download the application

Download the “atinout-0.9.1.tar.gz” application using the following link: ‘https://www.onworks.net/software/app-atinout

Graphical user interface, text Description automatically generated

Graphical user interface, application, Teams Description automatically generated

Step 2: Set the Username on Onworks File Manager

In the browser’s search bar, enter the link “https://www.onworks.net/myfiles.php?username=XXXXX” with the username that you want to set. The following window will appear. Type the username and password and hit “Enter”.

Graphical user interface, text, application Description automatically generated

Step 3: Upload the Extracted “atinout” File

After logging in, a new window appears. Click on “Export”, then a pop-up opens. Click on “browse”.

A screenshot of a computer Description automatically generated

Select the extracted file from the “Downloads” folder.

Graphical user interface, application Description automatically generated

Close the pop-up after the upload is complete and all the files are uploaded to Onworks.

After the installation of Atinout on the computer, use the application.

Or you can also use the following methods:

Download With a Git Repository

Check the code of the following git repository:

git clone git://git.code.sf.net/p/atinout/code atinout

Configure Atinout

These lines of code will read a list of AT commands from a file/stdin. Each command will be sent to the modem. The modem’s answer will be written to a file/stdout.

Example 1: The Following Codes Are To Hang up a Call

$ echo ATH | atinout - /dev/ttyACM0 -

Output:

ATH
OK

Or

$ echo AT > linux.txt

$ atinout linux.txt /dev/ttyS0 ouput.txt

$cat ouput.txt

Output:

AT

OK

Example 2: Hang up any Ongoing Calls

$ echo ATH | atinout - /dev/ttyACM0

Output:

AT

OK

Example 3: Add Two Entries in the Phonebook

$ atinout - /dev/ttyACM0 - <<EOF

$ AT+CSCS=”UTF-8

$ AT+CPBS=”ME”

$ AT+CPBW=,”1234456788”,123,”B.Endian”

$ EOF

Output:

OK

OK

OK

Conclusion

Atinout is a piece of software or a set of instructions that reads a list of AT commands. It is available for various Linux operating systems, including Ubuntu — a popular Linux operating system. In this article, we discussed the installation and downloading of the Atinout code and its examples, such as how to hang up a phone call and how to enter contact numbers.

Share Button

Source: linuxhint.com

Leave a Reply