Line 633: |
Line 633: |
| <td>off {{!}} on; default: <b>off</b></td> | | <td>off {{!}} on; default: <b>off</b></td> |
| <td>Turns Full Duplex mode on or off. This option is available only on the RS485 device.</td> | | <td>Turns Full Duplex mode on or off. This option is available only on the RS485 device.</td> |
− | </tr>|}}{{#ifeq: {{{rs232}}} | 1 | | + | </tr>|{{#ifeq: {{{rs232}}} | 1 | |
| <tr> | | <tr> |
| <td><span style="color: green;">RS232:</span> Echo</td> | | <td><span style="color: green;">RS232:</span> Echo</td> |
| <td>off {{!}} on; default: <b>off</b></td> | | <td>off {{!}} on; default: <b>off</b></td> |
| <td> Enable serial device echo. This option is available only on the RS232 device.</td> | | <td> Enable serial device echo. This option is available only on the RS232 device.</td> |
− | </tr>|}} | + | </tr>|}}}} |
− |
| |
− |
| |
| </table> | | </table> |
| | | |
Line 647: |
Line 645: |
| You can configure network related parameters of the serial connection in the <b>Over IP Configuration</b> secion. | | You can configure network related parameters of the serial connection in the <b>Over IP Configuration</b> secion. |
| | | |
− | [[File:Networking_rutos_manual_serial_utilities_over_ip_configuration_v1.png|border|class=tlt-border]] | + | [[File:Networking rutos manual serial utilities over ip mbus configuration general.png|border|class=tlt-border]] |
| | | |
| <table class="nd-mantable"> | | <table class="nd-mantable"> |
Line 670: |
Line 668: |
| <td><span style="color: blue;">TCP</span> {{!}} <span style="color: green;">UDP</span>; default: <b>TCP</b></td> | | <td><span style="color: blue;">TCP</span> {{!}} <span style="color: green;">UDP</span>; default: <b>TCP</b></td> |
| <td>Protocol used in the communication process.</td> | | <td>Protocol used in the communication process.</td> |
| + | </tr> |
| + | <tr> |
| + | <td>Listening port</td> |
| + | <td>[1..65535]; default: <b>empty</b></td> |
| + | <td>When enabled, all data will be transmitted transparently.</td> |
| + | </tr> |
| + | </table> |
| + | |
| + | [[File:Networking rutos manual serial utilities over ip mbus configuration advanced.png|border|class=tlt-border]] |
| + | |
| + | <table class="nd-mantable"> |
| + | <tr> |
| + | <th style="width: 360px>Field</th> |
| + | <th>Value</th> |
| + | <th>Description</th> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>Raw mode</td> | | <td>Raw mode</td> |
− | <td>off {{!}} on; default; default: <b>off</b></td> | + | <td>off {{!}} on; default: <b>on</b></td> |
| <td>When enabled, all data will be transmitted transparently.</td> | | <td>When enabled, all data will be transmitted transparently.</td> |
| </tr> | | </tr> |
Line 682: |
Line 695: |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color: red;">Server settings</span>: Port</td> | + | <td>Inactivity timeout</td> |
− | <td>integer [0..65535]; default: <b>none</b></td> | + | <td>integer [0..36000]; default: <b>300</b></td> |
− | <td>Internal port number used to listen for incoming connections.</td> | + | <td>Specifies period of time in seconds, where server connection must be inactive, to disconnect client. To disable timeout input 0.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color: red;">Server settings</span> {{!}} <span style="color: blue;">TCP</span>: Timeout (s)</td> | + | <td>Serial timeout</td> |
− | <td>integer [0..32767]; default: <b>300</b></td> | + | <td>integer [0..1000]; default: <b>none</b></td> |
− | <td>Specifies an inactivity time limit (in seconds) after which an inactive clients is disconnected.</td> | + | <td>Specifies the maximum milliseconds to wait for serial data.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color: red;">Server settings</span> {{!}} <span style="color: green;">UDP</span>: Predefined client 1 address</td> | + | <td>Max clients</td> |
− | <td>ip4; default: <b>none</b></td> | + | <td>integer [1..32]; default: <b>4</b></td> |
− | <td>Specifies IP address for predefined connection 1.</td> | + | <td>Specify how many clients are allowed to connect simultaneously.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color: red;">Server settings</span> {{!}} <span style="color: green;">UDP</span>: Predefined port 1</td> | + | <td>TCP echo</td> |
− | <td>port; default: <b>none</b></td>
| + | <td>on {{!}} off; default: <b>off</b></td> |
− | <td>Specifies port number for predefined connection 1.</td> | + | <td>Enable software TCP echo.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color: red;">Server settings</span> {{!}} <span style="color: green;">UDP</span>: Predefined client 2 address</td> | + | <td>Close connections</td> |
− | <td>ip4; default: <b>none</b></td>
| + | <td>on {{!}} off; default: <b>off</b></td> |
− | <td>Specifies IP address for predefined connection 2.</td> | + | <td>Close TCP connections everytime data is sent or received (might result in serial data loss).</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color: red;">Server settings</span> {{!}} <span style="color: green;">UDP</span>: Predefined port 2</td> | + | <td>Kepp alive time</td> |
− | <td>port; default: <b>none</b></td> | + | <td>integer [0..32000]; default: <b>0</b></td> |
− | <td>Specifies port number for predefined connection 2.</td> | + | <td>Close TCP connections everytime data is sent or received (might result in serial data loss).</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color: purple;">Client settings</span>: Server Address</td>
| + | <td>Kepp alive interval</td> |
− | <td>ip {{!}} host; default: <b>none</b></td>
| + | <td>integer [0..32000]; default: <b>0</b></td> |
− | <td>IP address or hostname of the server that this client will connect to.</td>
| + | <td>The interval between subsequential keepalive probes.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color: purple;">Client settings</span>: Port</td> | + | <td>Kepp alive probes</td> |
− | <td>integer [0..65535]; default: <b>none</b></td> | + | <td>integer [0..32000]; default: <b>0</b></td> |
− | <td>Server's listening port number.</td> | + | <td>The number of unacknowledged probes.</td> |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color: purple;">Client settings</span>: Reconnect interval (s)</td>
| |
− | <td>integer; default: <b>none</b></td>
| |
− | <td>Time period (in seconds) between reconnection attempts in case a connection fails.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Serial device read time</td>
| |
− | <td>integer [0..1000]; default: <b>none</b></td>
| |
− | <td>Specifies custom read time for the serial device.</td>
| |
− | </tr>{{#ifeq: {{{rs485}}} | 1 |
| |
− | <tr>
| |
− | <td><span style="color: purple;">RS485:</span> Full Duplex</td>
| |
− | <td>off {{!}} on; default: <b>off</b></td>
| |
− | <td>Turns Full Duplex mode on or off. This option is available only on the RS485 device.</td>
| |
− | </tr>|}}
| |
− | <tr>
| |
− | <td><span style="color: red;">Server settings</span> {{!}} <span style="color: blue;">TCP</span>: Max clients</td>
| |
− | <td>integer [1..32]; default: <b>32</b></td>
| |
− | <td>Specifies how many clients are allowed to connect simultaneously.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color: blue;">TCP</span>: TCP echo</td>
| |
− | <td>off {{!}} on; default: <b>off</b></td>
| |
− | <td>Enables software TCP echo.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color: blue;">TCP</span>: Always reconnect</td>
| |
− | <td>off {{!}} on; default: <b>off</b></td>
| |
− | <td>When enabled, a new TCP connection will be made after sending every data package.</td>
| |
| </tr> | | </tr> |
| </table> | | </table> |