tcpatmodem

所属分类:Modem编程
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2019-01-10 07:57:35
上 传 者sh-1993
说明:  Python AT命令解释器和TCP拨号器,
(Python AT command interpreter and TCP dialler,)

文件列表:
.coveragerc (43, 2019-01-09)
.flake8 (45, 2019-01-09)
.travis.yml (959, 2019-01-09)
LICENSE (1070, 2019-01-09)
requirements.txt (26, 2019-01-09)
setup.py (333, 2019-01-09)
tcpatmodem/ (0, 2019-01-09)
tcpatmodem/__init__.py (0, 2019-01-09)
tcpatmodem/__main__.py (124, 2019-01-09)
tcpatmodem/atfsm.py (9732, 2019-01-09)
tcpatmodem/dialler.py (1386, 2019-01-09)
tcpatmodem/frontend.py (811, 2019-01-09)
tcpatmodem/rawtty.py (717, 2019-01-09)
tcpatmodem/test_atfsm.py (8573, 2019-01-09)

# TCP AT Modem [![Build Status](https://travis-ci.com/stblassitude/tcpatmodem.svg?branch=master)](https://travis-ci.com/stblassitude/tcpatmodem)[![Coverage Status](https://coveralls.io/repos/github/stblassitude/tcpatmodem/badge.svg?branch=master)](https://coveralls.io/github/stblassitude/tcpatmodem?branch=master) This module implements an AT command interpreter as you would normally find in a modem. On the local data terminal (DTE) side, it can be connected to through standard in and out, while on the remote data communication (DCE) side, it can connect to a configurable TCP address and port. ## Installation You can install this Python module from pypi: ```bash pip install tcpatmodem ``` ### Interactive Use To run the AT command interpreter over standard in and out, and connect to any TCP address and port: ```bash $ python -m tcpatmodem ``` ### Exiting The AT Command Interpreter When using the interpreter interactively, it might be useful to stop the interpreter, since Control-C does not exit the Python process. Setting the register 99 to the value 99 will stop the program. Note that any connection will be closed immediately. Note that not all applications using this module might honor this command. ``` ATS99=99 ``` ## Linting and Testing ``` flake8 coverage run -m unittest discover && coverage html ```

近期下载者

相关文件


收藏者