UART-CAN-Protocol

UART-CAN-Protokoll The UART-CAN-Protocol (UCP) is used for the transmisson of CAN bus messages over other physical media (e. g. phone line or internet).

In 2005 was UCP developed by the company BÖHNKE + PARTNER GmbH and was published. The protocol does not have a final status and could be changed in the future.

This page informs about the current status of the protocol.

Transparency
If the control chars are inside the frame (not the flags), the control chars are to replaced by following chars (only in the transmitted stream, after calculatiing of the checksum):

Checksumme (CRC-16, siehe RFC-1662)
X^16 + X^12 + X^5 + 1

Descriptor 2
ID Identifier RTR remote transmission request DLC data length code

Process of dial-in with password

 * After the connect the gateway sends the text "Password: ".
 * The caller sends the pass word, terminated with .
 * The gateway sends "Login accepted." if the password was correct.
 * If the password is wrong the gateway sends "Login error!" and closes the connection.
 * Control chars  and  are allowed and the gateway could display on begin or end of the connection any text.
 * The wait time for the password is 10 s. Is there not input during this time the gateway sends "Login error (Timeout)!" and closes the connection.
 * After correct dial-in the gateway waits for actions of the caller (all networks are disabled by default).

Process of dial-in without password

 * After the connect the gateway may send any text and will wait for actions of the caller (all networks are disabled by default).

Connection monitoring

 * The caller starts the data transmission by sending a CAN message or data message B. The gateway now knows of what network the caller wants to receive CAN messages. The gateway now activates the heartbeat message by sending data message A.
 * Are there no CAN messages to transmit the data messages A or B are to send. The receiver can therefor detect that the connection is still established. The keep alive timeout is 15 s.