Skip to content

Bridge

CAN-CAN-Bluetooth Bridge

In operation as a CAN-CAN-Bluetooth Bridge, CAN data is transmitted wirelessly between two CANlink® wireless 4000 devices via a Bluetooth connection.
The CAN-CAN-Bluetooth Bridge acts as a substitute for CAN cables, e.g. in drag chains or remote control units.

Configuring a Bluetooth Bridge

SERVER

  1. Disable Wi-Fi
    Write 0 (Disable) to 0x3008:0x02 [Wlan Enable]

  2. Disable BLE
    Write 0 (Disable) to 0x3008:0x09 [BLE Enable]

  3. Enable Bluetooth
    Write 1 (Enable) to 0x3008:0x03 [Bluetooth Enable]

  4. Enable Server
    Write 2 (Server Enabled) to 0x3010:0x15 [EEP Connection Direction Configuration/Server or Client1]

  5. Enable Bluetooth SPP
    Write 2 (SPP) to 0x3010:0x16 [EEP Connect Type 1]

  6. Make Discoverable
    Write 1 (Enabled) to 0x3002:0x01 [Discoverable]

  7. Read and save the MAC address for Client access
    Read 0x3007:0x01 [Bluetooth Mac Address (Bluetooth Address)]

  8. Optionally set a PIN for secure access by a Client device

    • Write PIN into 0x3002:0x06 [BT Classic Pin Code].
      The maximum length of the PIN code is 15 bytes.
    • Also set 0x3002:0x07 [BT Classic Enforce Pin Code] to 1 (Enable).

CLIENT

  1. Disable Wi-Fi
    Write 0 (Disable) to 0x3008:0x02 [Wlan Enable]

  2. Disable BLE
    Write 0 (Disable) to 0x3008:0x09 [BLE Enable]

  3. Enable Bluetooth
    Write 1 (Enable) to 0x3008:0x03 [Bluetooth Enable]

  4. Enable Client
    Write 3 (Client Enabled) to 0x3010:0x15 [EEP Connection Direction Configuration/Server or Client1]

  5. Enable Bluetooth SPP
    Write 2 (SPP) to 0x3010:0x16 [EEP Connect Type 1]

  6. Set Server MAC address
    Write the value read in step (7) in the Server directions to 0x3010:0x1A [EEP Bluetooth SP MAC Address 1].

    • This is a 12-character ASCII field, that represents a 6-byte Hexadecimal MAC Address.
      For example 84BA20096D04
    • (This is not case-sensitive).
  7. Optionally configure the PIN

    • Write the appropriate PIN into 0x3002:0x06 [BT Classic Pin Code].