Skip to content

CAN-CAN Bluetooth/Wi-Fi Bridge

In operation as a CAN-CAN Bluetooth/Wi-Fi bridge (types 3630, 3633, 3673, 3637, 3677), CAN data is transmitted wirelessly between two CANlink mobile or CANlink wireless devices via a Bluetooth or Wi-Fi connection.
The CAN-CAN Bluetooth/Wi-Fi bridge acts as a substitute for CAN cables, e.g. in cable carriers or with remote-control units.

Bluetooth PIN-based paring for security is enabled by setting 0x3002:0x07 [Enforce pairing pin] to value 1.

Warning

Do not disable the PIN on the Server device for security reasons. If disabled, any BT Client will be able to connect! Disabling the PIN might be acceptable only when other measures ensure that no unauthorized personnel or device can come within connection-distance from the Server device. For example, when the Server device is located in an area with physical restrictions.

A CAN-CAN bridge can be configured between a CANlink® mobile 3600 and CANlink® wireless 4000 over either a Wi-Fi or Bluetooth connection.

The Wi-Fi connection is recommended, and is documented here.

In this example, we configure the CANlink® mobile 3600 as:

  • Wi-Fi Access Point (AP)

  • Server

  • Channel 36, 5GHz band
  • WPA2 enabled
  • Password: ChocolateOnly4Breakfast!
  • CAN Node ID: 39
  • IP Address and Port 192.168.0.39:30000

And the CANlink® wireless 4000 as:

  • Wi-Fi Client

  • CAN Node ID: 44

All objects in the following table are mandatory to set for the wireless module to function as a Wi-Fi Access Point.

Object Object Name Value Notes
0x3008:0x03 Bluetooth Enable 0 Disabled
0x3008:0x09 BLE Enable 0 Disabled
0x3008:0x02 WiFi Enable 1 Enabled
0x3000:0x0F WLAN - Access Point Channel 36 Channel 36 in 5GHz band
0x3000:0x01 WLAN - Operating Mode 2 Mini Access Point
0x3000:0x09 WLAN - DHCP Mode 2 DHCP Server
0x3000:0x02 WLAN - SSID CLM3600 Name of Network SSID
0x3000:0x04 WLAN - Authentication Type 7 WPA2
0x3000:0x05 WLAN - Authentication Key ChocolateOnly4Breakfast! Network Key
0x3003:0x01 WLAN - Socket Server Enable 1 Enabled
0x3000:0x0A WLAN - Static IP Address 192.168.0.39 Address of Server
0x3000:0x0B WLAN - Static Network Mask 255.255.255.0 Network Mask
0x3000:0x0C WLAN - Static Gateway Address 192.168.0.1 Gateway Address
0x3000:0x0D WLAN - Static Primary DNS Server 192.168.0.1 Address of Server
0x3000:0x0D WLAN - Static Secondary DNS Server 192.168.0.1 Address of Server
0x3003:0x02 WLAN - Socket Listen Port Number 30000 Port Number
0x3003:0x03 WLAN - Socket Listen Protocol 0 TCP
  1. Add other settings such as 0x4050:0x03 [CAN 1: Device CANopen Node ID] according to requirements. (In this example, 39).
  2. Reboot device
Object Object Name Value Notes
0x3008:0x03 Bluetooth Enable 0 Disabled
0x3008:0x09 BLE Enable 0 Disabled
0x3008:0x02 WiFi Enable 1 Enabled
0x3000:0x01 WiFi Operating Mode 1 Infrastructure
0x3000:0x09 WiFi DHCP Mode 1 DHCP Client
0x3000:0x04 WLAN Authentication Type 7 WPA/WPA2 Mixed
0x3000:0x02 WLAN SSID CLM3600 Name of Network SSID
0x3000:0x05 WLAN - Authentication Key ChocolateOnly4Breakfast! Network Key
0x3010:0x17 URL Address/WiFi Client only 1 192.168.0.39 Server IP Address
0x3003:0x02 Socket Listen Port/WiFi only 1 30000 Server Port Number
0x3000:0x10 Enable 2.4GHz WiFi Band / Infrastructure only 0 Disabled
0x3000:0x11 Enable 5GHz WiFi Band / Infrastructure only 1 Enabled
0x3010:0x15 EEP Connection Direction Configuration/Server or Client 1 3 Client Enabled
0x3010:0x16 EEP Connect Type 1 1 TCP Socket
  1. Add other settings such as 0x4050:0x03 [CAN 1: Device CANopen Node ID] according to requirements. (In this example, 44).
  2. Reboot device