Chapter 6
Standard: JT/T 808-2013

Communication Links

Link establishment, heartbeat maintenance (0x0002), and TCP socket disconnection management.

Communication Links

TCP or UDP shall be used for data links between the vehicle terminal and the telematics platform:

The terminal must establish a connection to the platform immediately after device power-on or microcontroller reset.
Upon successful socket connection, the terminal transmits a login authentication message (0x0102) containing the registration base key.
After authentication, the terminal must periodically transmit heartbeat messages (0x0002) to verify link health.
The platform replies with a general response (0x8001).
The heartbeat period is configurable via parameter 0x0001 (default: 30 seconds).

Either the platform or the terminal can disconnect the links based on the TCP protocol:

Platform disconnection detection criteria:

Explicit TCP FIN/RST packet received from terminal;
A new TCP socket connection is initiated for the same terminal IMEI/SN, invalidating the previous socket;
No message (heartbeat or location) is received from the terminal for a timeout period (heartbeat interval ร— retry count).

Terminal disconnection detection criteria:

Explicit TCP FIN/RST packet received from platform;
Cellular carrier PPP/PDP context disconnection;
Socket write failure or absence of platform response after reaching maximum retransmission limit.