Skip to content

Hardware Access Commands

Reset Device

Field Value Description
SOF (Start of Frame) 0x43 SOF marks the beginning of the PDU.
Length xx The Length field indicates the length (in bytes) of the Command + Data fields.
Command 0xC0 Set reset device
Data --
Checksum xx XOR checksum of SOF, Length, Command, and Data fields.
EOF (End of Frame) 0x0D EOF byte marks the end of the PDU.

The device replies to this command with the Device ID command.

Warning

For some devices, this command does not trigger a hardware reset, since that would also disconnect the host communication:

  • CANview Ethernet
  • CANlink Bluetooth / Wi-Fi®

Request analog channel value

Field Value Description
SOF (Start of Frame) 0x43 SOF marks the beginning of the PDU.
Length xx The Length field indicates the length (in bytes) of the Command + Data fields.
Command 0xC2 Request analog channel value (needs 1 additional data byte containing the channel number)
Data 0x00-0x03 Byte 0 (channel number):
0x00: supply voltage
0x01: CAN Low line
0x02: CAN High line
0x03: analog inputs 1 and 2
0x00-0xFF Byte 1: analog value (for channel 0-2, see the voltage table below)
Byte 1-4 (for channel 3): analog input 1 voltage, IEEE 754 coded, LSB first
Byte 5-8 (for channel 3): analog input 2 voltage, IEEE 754 coded, LSB first
Checksum xx XOR checksum of SOF, Length, Command, and Data fields.
EOF (End of Frame) 0x0D EOF byte marks the end of the PDU.

The analog value for channel 0-2 (supply voltage, CAN Low line, CAN High line) maps to voltage as follows:

Channel Value 0x00 Value 0xFF
VCC 0 V 39 V
CANH / CANL 0 V 5 V

Note

Only the CANview RS232 can measure the CAN line voltage levels, and only for CAN baud rates of 125 kBit/s and slower.

Set / request digital channel value

Field Value Description
SOF (Start of Frame) 0x43 SOF marks the beginning of the PDU.
Length xx The Length field indicates the length (in bytes) of the Command + Data fields.
Command 0xC4 Request digital channel value (needs 1 additional data byte containing the channel number)
0xC5 Set digital channel value (needs 2 additional data bytes containing the channel number and the value)
Data 0x00-0xFF Byte 0 (channel number): 0x00 = bus termination resistor
0x00-0x01 Byte 1: digital value (1 = on, 0 = off)
Checksum xx XOR checksum of SOF, Length, Command, and Data fields.
EOF (End of Frame) 0x0D EOF byte marks the end of the PDU.

The device replies to each set command with the actual values.

Set Communication password

Field Value Description
SOF (Start of Frame) 0x43 SOF marks the beginning of the PDU.
Length xx The Length field indicates the length (in bytes) of the Command + Data fields.
Command 0xC6 Request communication password check
Data xx Command:
Byte 0…n: password string (default: GSMONLIN)

Response:
Byte 0: 0 = password checked and OK; if the password check fails, the device sends no response.
Checksum xx XOR checksum of SOF, Length, Command, and Data fields.
EOF (End of Frame) 0x0D EOF byte marks the end of the PDU.

Note

This message is required to unlock the full functionality of the byte mode interface on CANlink GSM/UMTS devices. A session only starts after a successful communication password check.

Reset Communication password

Field Value Description
SOF (Start of Frame) 0x43 SOF marks the beginning of the PDU.
Length xx The Length field indicates the length (in bytes) of the Command + Data fields.
Command 0xC7 Reset communication password check
Checksum xx XOR checksum of SOF, Length, Command, and Data fields.
EOF (End of Frame) 0x0D EOF byte marks the end of the PDU.

Note

This message locks the byte mode interface. Send this command at the end of a communication session.