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
atcom-0.1.11.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for atcom-0.1.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc6c57906c8f4e84cb5f521b824014b62ed0ed02a942736ddca0ea99c1c86311 |
|
MD5 | af62318c79adfe418db572fcc8cdf491 |
|
BLAKE2b-256 | bac90d4c156c3eaf37495668bd9fc554817297e92f927c749f75f221bc83beca |