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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file atcom-0.1.12.tar.gz
.
File metadata
- Download URL: atcom-0.1.12.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
fbebace9d1d6e848f9f328a182c4b254a392eb1b7322c3ad9c0fa9a9f7ec1694
|
|
MD5 |
94d80d7cf82d9df9f681148c39d9da24
|
|
BLAKE2b-256 |
b957892d258f0da1be770b36b43337ed9e5bcacb752e533f90fe0ffb46c34ae3
|
File details
Details for the file atcom-0.1.12-py2.py3-none-any.whl
.
File metadata
- Download URL: atcom-0.1.12-py2.py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
251813a19c793e57ec39755d7801eefc5f94e4e1f97411f4d5a8cd7bef60c428
|
|
MD5 |
8a30a33cf0800233ddc775363c1482e9
|
|
BLAKE2b-256 |
c356967f81aa016775736edcd8f14eac955e24fe0358b6467ecea44576bdfe3b
|