Skip to main content

A tool which makes AT communication easier.

Project description

ATCom

ATCom is a command line tool to make AT command operations easier.

Installation

Use the package manager pip3 to install atcom.

pip3 install atcom

Usage

$ atcom [OPTIONS] AT_COMMAND

Examples

If you run atcom without --port parameter, the tool will scan available ports and select a valid modem if it can find.

$ atcom AT

or

$ atcom --port /dev/ttyUSB2 AT

Configuration File

You can create a configuration file for persist args. ATCom checks current directory first, reads args from config file if you have a configs.yml in ./ (current) directory. Also you can specify the path of configuration file with --config parameter.

The keys, config file can contain:

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

Parameters

need value is required default description
-p / --port yes yes, unless--auto flag - PORT of modem
-b / --baudrate yes no 115200 Baudrate of serial communication
-t / --timeout yes no 3 Communication timeout
-c / --config yes no ./configs.yaml Path of configurations file
-v / --verbose no no - Enable full log output
--rts-cts no no - Enable RTS-CTS mode
--dsr-dtr no no - 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.12.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

atcom-0.1.12-py2.py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 2 Python 3

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