Jump to content

Template:Networking rutos manual canbus gateway: Difference between revisions

From Teltonika Networks Wiki
No edit summary
No edit summary
Line 71: Line 71:
     </tr>
     </tr>
     <tr>
     <tr>
       <td><span style="color: purple;">Client: </span>Destination address</td>
       <td><span style="color: purple;">Client: </span> <span style="color: green;">Client + server </span>Destination address</td>
       <td>IP {{!}} Port; default: <b>empty</b></td>
       <td>IP {{!}} Port; default: <b>empty</b></td>
       <td>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).</td>
       <td>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).</td>

Revision as of 13:20, 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: Client + server 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]]