An open API service indexing awesome lists of open source software.

https://github.com/sergeytya/pycomtosocketserver

simple com to socket server using asyncio & serial_asyncio
https://github.com/sergeytya/pycomtosocketserver

Last synced: 3 months ago
JSON representation

simple com to socket server using asyncio & serial_asyncio

Awesome Lists containing this project

README

        

COM port To Socket (CTS) server


Simple Serial Port to Socket converter server driven by asyncio and serial_asyncio.

Usage:


- python CTS_server.py --serial COM5 --speed 230400 --host localhost --port 8888

Server can handle 3 types of clients:

- Modbus TCP client (default)
- RAW data clients
- Listener client

Command List:


- 'close' - shutdown server
- 'version' - server version
- 'info' - get serial name adn speed
- 'type modbus' - modbus TCP client
- 'type raw' - raw client
- 'type listener' - listener client

Use CTS_launcher.py for simple start GUI