Skip to main content

A tool which makes AT communication easier.

Project description

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

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

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atcom-0.1.15.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file atcom-0.1.15.tar.gz.

File metadata

  • Download URL: atcom-0.1.15.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for atcom-0.1.15.tar.gz
Algorithm Hash digest
SHA256 146e3ec50eca6d3e644f36a09c47fa129003f1fd495fe2bcc23f41286f4b7ba8
MD5 3f60b6e764a5bf22233c038393cf8b33
BLAKE2b-256 80790300afc3690b17b9c3025abc249e029ad9a7c6d6bba6d7adbfac1123c45d

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page