R.A. Epigonos et al.

[rs232c] シリアルポートの共有

シリアルポートへのフロー制御を行うプロセスにシリアルポートをつかませて、ユーザからのコマンドを受け付ける。ser2netとpySerial付属のtcp_serial_redirect.pyは単一のシリアルポートを単一の接続で結ぶからこの用途にはちょっと無理。 Conserverはいいんだけど、一般的なプロトコルでサーバクライアント間をつなげない。sredird、tsb.pyは調査中。

pySerial付属のtcp_serial_redirect.pyの起動例。データbitを変えられない。

# python tcp_serial_redirect.py --localport=2000 --port=/dev/ttyS0 --baud=9600 --parity=O --spy
# telnet localhost 2000

リファレンス

  1. How can you access a serial port from two different processes (Python) - Stack Overflow
  2. linux - Sharing a serial port between two processes - Super User
  3. "I/O server" rs232c - Google 検索
  4. Conserver
  5. reverse telnet - Google 検索
  6. share serial port linux - Google 検索
  7. redirect - Windows/Linux socat to share a serial device over IP - Server Fault
  8. Sharing a serial port between two processes in Linux - Straight Dope Message Board
  9. Linux.com :: CLI Magic: socat
  10. tsb.py - a telnet to serial bridge

ソーシャルブックマーク

  1. はてなブックマーク
  2. Google Bookmarks
  3. del.icio.us

ChangeLog

  1. Posted: 2010-09-23T18:00:51+09:00
  2. Modified: 2010-09-23T18:00:51+09:00
  3. Generated: 2023-08-27T23:09:13+09:00