Skip to content

stblassitude/tcpatmodem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP AT Modem

Build StatusCoverage Status

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:

pip install tcpatmodem

Interactive Use

To run the AT command interpreter over standard in and out, and connect to any TCP address and port:

$ 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

About

Python AT command interpreter and TCP dialler

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages