この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
mae3xx_ope:use_socat_service:start [2018/12/24 08:28] admin [TCP Server mode] |
mae3xx_ope:use_socat_service:start [2022/11/16 17:17] admin [UDP Client mode] |
||
---|---|---|---|
ライン 64: | ライン 64: | ||
^ Key ^ Info ^ Default ^ Notes | | ^ Key ^ Info ^ Default ^ Notes | | ||
|ttyOx|使用する / しない| no |socat 機能利用有無 (yes / no)| | |ttyOx|使用する / しない| no |socat 機能利用有無 (yes / no)| | ||
- | |ttyOx\_MODE|動作モード指定| - |SERVER / CLIENT| | + | |ttyOx_MODE|動作モード指定| - |SERVER / CLIENT| |
- | |ttyOx\_PROTO|TCP / UDP 選択| - |TCP / UDP| | + | |ttyOx_PROTO|TCP / UDP 選択| - |TCP / UDP| |
- | |ttyOx\_LCLPORT|ローカルポート番号| - |SERVER および CLIENT(UDP)| | + | |ttyOx_LCLPORT|ローカルポート番号| - |SERVER および CLIENT(UDP)| |
- | |ttyOx\_DSTADDR|接続先アドレス| - |CLIENT mode のみ| | + | |ttyOx_DSTADDR|接続先アドレス| - |CLIENT mode のみ| |
- | |ttyOx\_DSTPORT|接続先ポート番号| - |CLIENT mode のみ| | + | |ttyOx_DSTPORT|接続先ポート番号| - |CLIENT mode のみ| |
- | |**ttyOx\_WAIT**|接続失敗時 再接続待ち時間 [s]| 60 |TCP CLIENT mode のみ| | + | |**ttyOx_WAIT**|接続失敗時 再接続待ち時間 [s]| 60 |TCP CLIENT mode のみ| |
- | |**ttyOx\_KEEPCNT**|Keepalive count| 3 |TCP mode のみ| | + | |**ttyOx_KEEPCNT**|Keepalive count| 3 |TCP mode のみ| |
- | |**ttyOx\_KEEPIDLE**|Keepalive send idle time [s]| 30 |TCP mode のみ| | + | |**ttyOx_KEEPIDLE**|Keepalive send idle time [s]| 30 |TCP mode のみ| |
- | |**ttyOx\_KEEPINTVL**|Keepalive send interval [s]| 30 |TCP mode のみ| | + | |**ttyOx_KEEPINTVL**|Keepalive send interval [s]| 30 |TCP mode のみ| |
- | |**ttyOx\_SNDTIMEO**|送信タイムアウト時間 [s]| 10 |TCP mode のみ((参照: [[http://patchwork.ozlabs.org/patch/62889/|TCP_USER_TIMEOUT: a new socket option to specify max timeout before a TCP connection is aborted]]))| | + | |**ttyOx_SNDTIMEO**|送信タイムアウト時間 [s]| 10 |TCP mode のみ((参照: [[http://patchwork.ozlabs.org/patch/62889/|TCP_USER_TIMEOUT: a new socket option to specify max timeout before a TCP connection is aborted]]))| |
- | |ttyOx\_CORK|socket option "TCP\_CORK" 有効/無効| 1 |TCP mode のみ| | + | |ttyOx_CORK|socket option "TCP_CORK" 有効/無効| 1 |TCP mode のみ| |
- | |ttyOx\_BAUD|UART Baudrate| 115200 |921600 / 460800 / 230400 / 115200 / 57600 / 38400 / 19200 / 9600 / 4800 / 2400 / 1200((RS-232C使用時は、460800bps までとなります。))| | + | |ttyOx_BAUD|UART Baudrate| 115200 |921600 / 460800 / 230400 / 115200 / 57600 / 38400 / 19200 / 9600 / 4800 / 2400 / 1200((RS-232C使用時は、460800bps までとなります。))| |
- | |ttyOx\_CHAR|UART Character bits| 8 |8 / 7| | + | |ttyOx_CHAR|UART Character bits| 8 |8 / 7| |
- | |ttyOx\_STOP|UART Stop bits| 1 |1 / 2| | + | |ttyOx_STOP|UART Stop bits| 1 |1 / 2| |
- | |ttyOx\_PARITY|UART Parity| NONE |NONE / EVEN / ODD| | + | |ttyOx_PARITY|UART Parity| NONE |NONE / EVEN / ODD| |
- | |ttyOx\_RTSCTS|UART Hardware flow control| yes |yes / no| | + | |ttyOx_RTSCTS|UART Hardware flow control| yes |yes / no| |
- | |ttyOx\_TIME|Termios option (VTIME)| 1 | | | + | |ttyOx_TIME|Termios option (VTIME)| 1 | | |
- | |ttyOx\_MIN|Termios option (VMIN)| 10 | | | + | |ttyOx_MIN|Termios option (VMIN)| 10 | | |
Termios VTIME, VMIN について: [[http://oasynnoum.hatenablog.com/entry/2012/10/31/184038|termios.c_cc の VMIN VTIME について(メモ) - 壊れたメガネ ホッチキスの達人の意識の高いブログ。]]\\ | Termios VTIME, VMIN について: [[http://oasynnoum.hatenablog.com/entry/2012/10/31/184038|termios.c_cc の VMIN VTIME について(メモ) - 壊れたメガネ ホッチキスの達人の意識の高いブログ。]]\\ | ||
ライン 94: | ライン 94: | ||
設定が必要な項目は下記のとおりです。 | 設定が必要な項目は下記のとおりです。 | ||
- | |< 24em 5em 9em 6em >| | + | |< 24em 6em 9em 6em >| |
^ Key ^ Value ^ Notes | | ^ Key ^ Value ^ Notes | | ||
|ttyOx| yes | | | |ttyOx| yes | | | ||
ライン 109: | ライン 109: | ||
設定が必要な項目は下記のとおりです。 | 設定が必要な項目は下記のとおりです。 | ||
+ | |< 24em 6em 9em 6em >| | ||
^ Key ^ Value ^ Notes | | ^ Key ^ Value ^ Notes | | ||
|ttyOx| yes | | | |ttyOx| yes | | | ||
- | |ttyOx\_MODE| SERVER | | | + | |ttyOx_MODE| SERVER | | |
- | |ttyOx\_PROTO| UDP | | | + | |ttyOx_PROTO| UDP | | |
- | |ttyOx\_LCLPORT| ポート番号 (bind) | | | + | |ttyOx_LCLPORT| ポート番号 (bind) | | |
| UART 関係は全て設定が必要です ||| | | UART 関係は全て設定が必要です ||| | ||
ライン 123: | ライン 124: | ||
設定が必要な項目は下記のとおりです。 | 設定が必要な項目は下記のとおりです。 | ||
+ | |< 24em 6em 11em 6em >| | ||
^ Key ^ Value ^ Notes | | ^ Key ^ Value ^ Notes | | ||
|ttyOx| yes | | | |ttyOx| yes | | | ||
- | |ttyOx\_MODE| CLIENT | | | + | |ttyOx_MODE| CLIENT | | |
- | |ttyOx\_PROTO| TCP | | | + | |ttyOx_PROTO| TCP | | |
- | |ttyOx\_DSTADDR| 接続先アドレス | | | + | |ttyOx_DSTADDR| 接続先アドレス | | |
- | |ttyOx\_DSTPORT| 接続先ポート番号 | | | + | |ttyOx_DSTPORT| 接続先ポート番号 | | |
| UART 関係は全て設定が必要です ||| | | UART 関係は全て設定が必要です ||| | ||
ライン 138: | ライン 140: | ||
設定が必要な項目は下記のとおりです。 | 設定が必要な項目は下記のとおりです。 | ||
+ | |< 24em 6em 11em 6em >| | ||
^ Key ^ Value ^ Notes | | ^ Key ^ Value ^ Notes | | ||
|ttyOx| yes | | | |ttyOx| yes | | | ||
- | |ttyOx\_MODE| CLIENT | | | + | |ttyOx_MODE| CLIENT | | |
- | |ttyOx\_PROTO| UDP | | | + | |ttyOx_PROTO| UDP | | |
- | |ttyOx\_LCLPORT| ポート番号 (bind) |省略可| | + | |ttyOx_LCLPORT| ポート番号 (bind) |省略可| |
- | |ttyOx\_DSTADDR| 接続先アドレス | | | + | |ttyOx_DSTADDR| 接続先アドレス | | |
- | |ttyOx\_DSTPORT| 接続先ポート番号 | | | + | |ttyOx_DSTPORT| 接続先ポート番号 | | |
| UART 関係は全て設定が必要です ||| | | UART 関係は全て設定が必要です ||| | ||