RFC 2217 Serial to Network (TCP/IP) redirector. RTS/DTR are activated on client connect and deactivated on disconnect.ĭefault port settings are set again when client disconnects. Telnet negotiation commands are sent when connecting to the server. IAC followed by another value is interpreted as Telnet command sequence. Telnet character IAC (0xff) needs to be doubled in data stream. The status lines (DSR/CTS/RI/CD) are polled every second and notifications are sent to the client. The port settings and control lines (RTS/DTR) can be changed at any time using RFC 2217 requests. It uses threads and is portable (runs on POSIX, Windows, etc). Simple cross platform RFC 2217 serial port server. Single-port TCP/IP - serial bridge (RFC 2217) The connection is terminated it waits for the next connect. Only one connection at once is supported. NOTE: no security measures are implemented. dtr DTR set initial DTR line state (possible values: 0, 1) rts RTS set initial RTS line state (possible values: 0, 1) xonxoff enable software flow control (default off) rtscts enable RTS/CTS flow control (default off) Usage: tcp_serial_redirect.py [-parity, default: N There is no possibility to change settings from remote. The serial port settings are set on the command line when starting the program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |