Skip to main content

ATCom

​ AT commands are the instructions used to control and communicate with the cellular modems. In order to, send AT commands to a cellular device, one needs to check several parameters and might need a serial monitor tool. ATCom is a command-line interface tool that makes AT command operations easier. ​

Installation

​ pip3 is required to install the atcom. pip3 can be intalled by ​

sudo apt install python3-pip

​ Use the package manager pip3 to install atcom. ​

pip3 install atcom

​

Usage

​

$ atcom [OPTIONS] AT_COMMAND

Warning:

If you need to send " or ' character, you should use escape character \ before it.

Example:

atcom AT+CGDCONT=1,\"IP\",\"internet\" ​

Examples

​ Running atcom without --port parameter, scans for available ports, and selects a valid modem port if available. ​

$ atcom AT

​ or ​

$ atcom --port /dev/ttyUSB2 AT

​

Configuration File

​ Configuration file(configs.yaml) can be created for persist args. ATCom first checks the current working directory for the configs.yml to read the arguments from. The path of the configuration file can also be specified using the --config parameter. ​ The configuration file must be in yaml format, for example: ​

port: /dev/ttyUSB2
baudrate: 115200
timeout: 10

​ The keys, config file can contain:

  • port (str)
  • baudrate (int)
  • timeout (int)
  • rts_cts (boolean)
  • dsr_dtr (boolean)
  • verbose (boolean) ​

Parameters

​

default description
-p / --port - PORT of modem
-b / --baudrate 115200 Baudrate for serial communication
-t / --timeout 10 Communication timeout
-c / --config ./configs.yaml Configurations file Path
-v / --verbose - Enable full log output
--rts-cts - Enable RTS-CTS mode
--dsr-dtr - Enable DSR-DTR mode

Metadata

Release files for atcom 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atcom 0.4.3
File Size Uploaded
atcom-0.4.3.tar.gz 7.7 kB Details

Release files / atcom-0.4.3.tar.gz

Download URL atcom-0.4.3.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fa32ecefed5f0f757d7899ab04be4ccce418998b6f4ce16380563adaa3b5d5e2
BLAKE2b-256 checksum
How to use checksums
738618beae538d190150b3ddbeb2a53e97282c2ff2d09fa814171a4e1a63a518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.4.3 This release

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

2 release files

0.1.16

2 release files

0.1.15

1 release file

0.1.14

1 release file

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page