Jump to content

Template:Networking rutos manual canbus gateway: Difference between revisions

From Teltonika Networks Wiki
No edit summary
No edit summary
Line 158: Line 158:
       <td>Raw mode</td>
       <td>Raw mode</td>
       <td>off {{!}} on; default: <b>on</b></td>
       <td>off {{!}} on; default: <b>on</b></td>
       <td>When enabled, all data will be transmitted transparently.</td>
       <td>Enable to transmit all data transparently.</td>
    </tr>
    <tr>
      <td>Remove all zeros</td>
      <td>off {{!}} on; default: <b>off</b></td>
      <td>When checked, indicates that the first hex zeros should be skipped.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 169: Line 164:
         <td>integer [0..36000]; default: <b>300</b></td>
         <td>integer [0..36000]; default: <b>300</b></td>
         <td>Specifies period of time in seconds, where server connection must be inactive, to disconnect client. To disable timeout input 0.</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>
    <td>Serial timeout</td>
        <td>integer [0..1000]; default: <b>none</b></td>
        <td>Specifies the maximum milliseconds to wait for serial data.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td>Max clients</td>
     <td>Max clients</td>
         <td>integer [1..32]; default: <b>4</b></td>
         <td>integer [1..32]; default: <b>4</b></td>
         <td>Specify how many clients are allowed to connect simultaneously.</td>
         <td>Specify (1-32) how many clients are allowed to connect simultaneously.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 188: Line 178:
     <td>Close connections</td>
     <td>Close connections</td>
         <td>on {{!}} off; default: <b>off</b></td>
         <td>on {{!}} off; default: <b>off</b></td>
         <td>Close TCP connections everytime data is sent or received (might result in serial data loss).</td>
         <td>Close TCP connections everytime data is sent or received (might result in CAN bus data loss).</td>
     </tr>
     </tr>
         <tr>
         <tr>
Line 197: Line 187:
     <tr>
     <tr>
     <td><span style="color: blue;">Keep alive time</span></td>
     <td><span style="color: blue;">Keep alive time</span></td>
         <td>integer [0..32000]; default: <b>0</b></td>
         <td>integer [0..32000]; default: <b>30</b></td>
         <td>Close TCP connections everytime data is sent or received (might result in serial data loss).</td>
         <td>Duration until the first probe will be sent.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td><span style="color: blue;">Keep alive interval</span></td>
     <td><span style="color: blue;">Keep alive interval</span></td>
         <td>integer [0..32000]; default: <b>0</b></td>
         <td>integer [0..32000]; default: <b>15</b></td>
         <td>The interval between subsequential keepalive probes.</td>
         <td>The interval between subsequent keepalive probes.</td>
     </tr>
     </tr>
     <tr>
     <tr>
     <td><span style="color: blue;">Keep alive probes</span></td>
     <td><span style="color: blue;">Keep alive probes</span></td>
         <td>integer [0..32000]; default: <b>0</b></td>
         <td>integer [0..32000]; default: <b>3</b></td>
         <td>The number of unacknowledged probes.</td>
         <td>The number of unacknowledged probes needed to consider the connection lost.</td>
     </tr>
     </tr>
</table>
</table>


[[Category:{{{name}}} Services section]]
[[Category:{{{name}}} Services section]]

Revision as of 13:15, 1 December 2025

The information in this page is updated in accordance with firmware version .

Summary

The CAN Bus Gateway a CAN (Controller Area Network) Bus Gateway is a communication device used to connect and manage data exchange between multiple CAN networks or between CAN and other communication protocols. It acts as a bridge, router, or filter to ensure that messages move efficiently and securely across different segments of a system. This manual page provides an overview of the CAN Bus gateway page in {{{name}}} devices.

Status


Here's an example demonstrating CAN Bus Gateway in action, running in Client + Server Mode.

CAN Device Configuration


Configure CAN Bus communication parameters in the Device configuration section.

Field Value Description
Enable off | on; default: off Enable service.
Bit rate integer [256..10000000]; default: 50000 Data transmission speed (bit/s).

Configuration Settings


You can configure network related parameters of the device connection in the Configuration settings secion.

Field Value Description
Mode Server | Client | Client + server; default: Server Possible modes:
  • Server - launches service in server mode and listens on the selected port.
  • Client - launches service in client mode, which connects to one or several servers with the selected addresses and ports.
  • Client + server - launches service in server and client(s) mode simultaneously.
Protocol TCP | UDP; default: TCP Select which protocol to use for data transmission.
Client: Destination address IP | Port; default: empty Specify server address and port for client to connect to (e.g., first field for address second for port. 16 destination addresses are allowed if connect on data is not enabled).
Server: UDP: Predefined addresses IP | Port; default: empty Set predefined IP and port for UDP connection.
Listening port [1..65535]; default: empty Specify port number for server to listen.

Field Value Description
Use TLS/SSL off | on; default: off Enable TLS/SSL for secure connection.
TLS version Support all | TLS 1.2 | TLS 1.3; default: TLS 1.2 Minimum TLS version allowed to be used.
TLS type Certificate based | Pre-Shared-Key based; default: Certificate based Select the type of TLS encryption.
Require certificate off | on; default: on Demand certificate and key from peer and verify them against certificate authority.
Certificate files from device off | on; default: off Choose this option if you want to select certificate files from device.
Certificate files can be generated [[{{{name}}} Administration#Certificates|here]].
Certificate file .crt file; default: none Upload certificate file.
Key file .key file; default: none Upload key file.
CA file .ca file; default: none Upload CA file.
Pre-Shared-Key string; default: none The pre-shared-key in hex format with no leading “0x”.
Identify string; default: none Specify the identity.

Field Value Description
Raw mode off | on; default: on Enable to transmit all data transparently.
Inactivity timeout integer [0..36000]; default: 300 Specifies period of time in seconds, where server connection must be inactive, to disconnect client. To disable timeout input 0.
Max clients integer [1..32]; default: 4 Specify (1-32) how many clients are allowed to connect simultaneously.
TCP echo on | off; default: off Enable software TCP echo.
Close connections on | off; default: off Close TCP connections everytime data is sent or received (might result in CAN bus data loss).
Keep alive on | off; default: off Enable keep alive.
Keep alive time integer [0..32000]; default: 30 Duration until the first probe will be sent.
Keep alive interval integer [0..32000]; default: 15 The interval between subsequent keepalive probes.
Keep alive probes integer [0..32000]; default: 3 The number of unacknowledged probes needed to consider the connection lost.

[[Category:{{{name}}} Services section]]