Line 1: |
Line 1: |
− | {| class="wikitable"
| + | <table class="nd-mantable"> |
− | |+
| + | <tr> |
− | ! style="width: 250px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | FIELD NAME
| + | <th>field name</th> |
− | ! style="width: 250px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | VALUE
| + | <th>value</th> |
− | ! style="width: 579px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | DESCRIPTION
| + | <th>description</th> |
− | |-
| + | </tr> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Protocol
| + | <tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | TCP; Default: '''TCP'''
| + | <td>Protocol</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Specifies the protocol used in the communication process
| + | <td>TCP; Default: <b>TCP</b></td> |
− | |-
| + | <td>Protocol used in the communication process</td> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Mode
| + | </tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Server {{!}} Client {{!}} Bidirect; Default: '''Server''' | + | <tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Specifies the device's role in the connection: <br> '''Server''' - the device waits for incoming connections <br> '''Client''' - the device initiates the connection <br> '''Bidirect''' - acts as client by default but waits for incoming connections at the same time
| + | <td>Mode</td> |
− | |-
| + | <td>Server | Client | Bidirect; Default: <b>Server</b></td> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | No leading zeros
| + | <td>Device's role in the connection: |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | yes {{!}} no; Default: '''no''' | + | <ul> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Specifies that the first hex zeros should be skipped
| + | <li><b>Server</b> - the device waits for incoming connections</li> |
− | |-
| + | <li><b>Client</b> - the device initiates the connection</li> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Client settings: Server address
| + | <li><b>Bidirect</b> - acts as client by default but waits for incoming connections at the same time</li> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | ip {{!}} host; Default: " " | + | </ul> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | The address of the server that client will connect to
| + | </td> |
− | |-
| + | </tr> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Client settings: TCP port
| + | <tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | integer [0..65535]; Default: " "
| + | <td>No leading zeros</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | The port number used to connect to the server
| + | <td>yes | no; Default: <b>no</b></td> |
− | |-
| + | <td>When checked, indicates that the first hex zeros should be skipped</td> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Client settings: Reconnect interval (s)
| + | </tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | integer; Default: " "
| + | <tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Indicates the time period (in seconds) between reconnection attempts
| + | <td><span style="color: red;">Client settings</span>: Server address</td> |
− | |-
| + | <td>ip | host; Default: <b>none</b></td> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Server settings: TCP port
| + | <td>IP address or hostname of the server that the client will connect to</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | integer [0..65535]; Default: " "
| + | </tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | The TCP port number used to listen for incoming connections
| + | <tr> |
− | |-
| + | <td><span style="color: red;">Client settings</span>: TCP port</td> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Server settings: Timeout (s)
| + | <td>integer [0..65535]; Default: <b>none</b></td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | integer; Default: " "
| + | <td>Server's port number</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Disconnects clients after the amount of inactivity time (in seconds) specified in this field
| + | </tr> |
− | |-
| + | <tr> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Output
| + | <td><span style="color: red;">Client settings</span>: Reconnect interval (s)</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | OC Output {{!}} Relay Output; Default: '''OC Output'''
| + | <td>integer; Default: <b>none</b></td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Output to indicate that the application switched from client (default) to server state (this field becomes visible only in Bidirect mode)
| + | <td>Time period (in seconds) between reconnection attempts in case a connection fails</td> |
− | |-
| + | </tr> |
− | ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Output state
| + | <tr> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | 1 {{!}} 0; Default: '''0''' | + | <td><span style="color: purple;">Server settings</span>: TCP port</td> |
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Output state value during which the application reverts to server mode (this field becomes visible only in Bidirect mode)
| + | <td>integer [0..65535]; Default: <b>none</b></td> |
− | |-
| + | <td>Internal TCP port number used to listen for incoming connections </td> |
− | |}
| + | </tr> |
| + | <tr> |
| + | <td><span style="color: purple;">Server settings</span>: Timeout (s)</td> |
| + | <td>integer; Default: <b>none</b></td> |
| + | <td>Disconnects clients after they remain inactive for an amount time (in seconds) specified in this field</td> |
| + | </tr> |
| + | <tr> |
| + | <td>Output</td> |
| + | <td>OC Output | Relay Output; Default: <b>OC Output</b></td> |
| + | <td>Output to indicate that the application switched from client (default) to server state (this field becomes visible only in Bidirect mode)</td> |
| + | </tr> |
| + | <tr> |
| + | <td>Output state</td> |
| + | <td>1 | 0; Default: <b>0</b></td> |
| + | <td>Output state value during which the application reverts to server mode (this field becomes visible only in Bidirect mode)</td> |
| + | </tr> |
| + | </table> |