Categories: Ubuntu

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
Sponsored
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

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”.

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”.

Select the extracted file from the “Downloads” folder.

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:

Sponsored
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:

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.

Ubuntu Server Admin

Recent Posts

How to Fix VMware’s “Could not open /dev/vmmon” Error on Ubuntu

You’ve recently installed VMware Workstation on your Ubuntu system and encountered the frustrating “Could not…

13 minutes ago

How to Fix Ubuntu 404 Errors While Fetching Dependencies

Have you ever found yourself staring at a terminal full of 404 errors while trying…

13 minutes ago

How to Fix ‘Please Install All Available Updates’ Error When Upgrading Ubuntu 18.04 to 20.04 LTS

One particularly frustrating error that many users face when trying to upgrade from Ubuntu 18.04 …

14 minutes ago

How to fix “Release is not valid yet” Error in Docker Containers

In the world of containerization, time synchronization issues can create unexpected roadblocks when working with…

14 minutes ago

How to fix “Externally Managed Environment” Pip Errors on Ubuntu

If you’ve recently upgraded to Ubuntu 23.04 or newer, you might have encountered a frustrating…

14 minutes ago

Ubuntu now officially supports NVIDIA Jetson: powering the future of AI at the edge

Canonical announces the General Availability of Ubuntu for the NVIDIA® Jetson Orin™ for edge AI…

7 hours ago