0% found this document useful (0 votes)
10 views

Subiao Protocol (1)

Uploaded by

xgrapher
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Subiao Protocol (1)

Uploaded by

xgrapher
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 69

ICS 03 220 20

R 10/19

Jiangsu Provincial Group Standard

T/JSATL 12 — 2017

Active safety intelligent prevention


and control system for road transport
vehicles
(Communication protocol
specification)
Intelligent prevention system for active safety of operating
vehicles
( Specifications for c ommunication protocol )

December 11 , 2017 January 1 , 2018


release Implementation
T r a n s p o r t A d m i n i s t r a t i o n B u r发 e布 a u o f
Jiangsu Provincial Department of
Transport
J i a n g s u T r a n s p o r t a t i o n
T/JSATL 12 —2017

Order record
Preface .......................................................................................................II

1 Scope ......................................................................................................1

2 Normative references .............................................................................1

3 Terms, definitions and .......................................................abbreviations1

4 Terminal and platform protocol basics ....................................................1

5 Terminal and Peripheral Protocol Basics ...............................................2 3

I
T/JSATL 12 —2017

Preface

This standard is written in accordance with GB/T1.1-2009 "Guidelines for


standardization work Part 1: Structure and writing rules of standards".
This standard is proposed and coordinated by the Transportation Management
Bureau of the Jiangsu Provincial Department of Transportation.
This standard was drafted by: Transportation Management Bureau of Jiangsu
Provincial Department of Transportation , Safety Division of Jiangsu Provincial
Department of Transportation , and Nanjing Sample Technology Co., Ltd.
The main drafters of this standard are Lu Yuanliang, Tan Ruibing , Yang Guixin ,
Tao Xulin, Mo Kun, Fang Li, Hao Wei , Liu Boping, He Shuaishuai , Ren Yong and Chen
Haimeng .

II
T/JSATL 12 —2017

Active safety intelligent prevention and control system


for road transport vehicles
Communication protocol specifications
1 scope

This protocol is a supplement and extension of JT/T 808-2013 "Technical

Specification for Beidou-Compatible On-board Terminal Communication Protocol of

Road Transport Vehicle Satellite Positioning System", and specifies the

communication protocol between the on-board terminal (hereinafter referred to as

the terminal) and the supervision/monitoring platform (hereinafter referred to as the

platform) of the active safety intelligent prevention and control system, and between

the on-board terminal and peripherals , including the protocol basis, message

definition and data format.

2 Normative references

The following documents are essential for the application of this document. For

any referenced document with a date, only the version with the date is applicable to

this document. For any referenced document without a date, the latest version

(including all amendments) is applicable to this document.

JT/T 808 Road transport vehicle satellite positioning system terminal

communication protocol and data format .

JT/T 1078-2016 Video communication protocol for road transport vehicle satellite

positioning system .

GB/T 26773-2011 Technical requirements and test methods for driving hazard

warning systems for commercial vehicles .

JT/T 883-2014 Performance requirements and detection methods for lane

departure warning systems for intelligent transportation systems .

3 Terms, Definitions and Abbreviations

3.1 Abbreviations

The following abbreviations apply to this document.

1
T/JSATL 12 —2017

ADAS: Advanced Driver Assistant System

DSM: Driving State Monitoring

TPMS: Tire Pressure Monitoring Systems

BSD : Blind Spot Detection

CAN : Controller Area Network

4 Terminal and platform protocol basics

4.1 Basic Agreement

communication mode, data type, transmission rules and message composition of

the protocol shall comply with the requirements of Chapter 4 of JT/T 808-2011 .

The message classification in the protocol refers to the classification method in

Section 4.3 of JT/T 1078-2016 .

The communication connection method of the signaling data message in the

protocol shall comply with the requirements of Chapter 5 of JT/T 808-2011 .

The message processing mechanism of the signaling data message in the

protocol shall comply with the requirements of Chapter 6 of JT/T 808-2011 .

The encryption mechanism of signaling data messages in the protocol complies

with the requirements of Chapter 7 of JT/ T808-2011 .

The following requirements shall be met for the parties in the platform and

terminal communication in the agreement :

——Unless explicitly agreed, all messages should be responded to.

——For messages for which a dedicated response message is not explicitly

specified , a general response reply should be used .

——For messages with subpackets , the responder should respond to each

subpacket message one by one .

4.2 Basic information query instructions

4.2.1 Query basic information

The basic information query message uses the 0x8900 message defined in 8.61

of JT/T 808-2011, see Table Error: Reference source not found.

2
T/JSATL 12 —2017

Table 4 -1Query basic information data format

Start Byte Fields Data length Description and requirements


Transparent For the definition of transparent message
0 BYTE
message type types, see Error: Reference source not found3
Total number of
1 peripheral ID BYTE
lists
Peripheral ID definition see Error: Reference
2 Peripheral ID BYTE
source not found5

4.2.2 Upload basic information

The basic information upload message uses the 0x0900 message defined in 8.62

of JT/T 808-2011. For the added parameter settings, see Table 4 -2.

Table 4 -2Upload basic information data format

Start Byte Fields Data length Description and requirements


Transparent 4-3 for the definition of transparent message
0 BYTE
message type types .
1 message lists BYTE
Peripheral
2 message See Table 4-4
structure

Table 4 -3Transparent message type definition table

Transparent
transmission definition Description and requirements
type
Peripheral status information: peripheral working status, device
Status Query 0x F7
alarm information
Basic information of peripheral sensors: company information,
Information
0xF8 product code, version number, peripheral ID, customer code. See
Query
the table for the corresponding message content.

Table 4 -4Transparent transmission peripheral message structure

Start Byte Fields Data length Description and requirements


Peripheral ID definition see Error: Reference
0 Peripheral ID BYTE
source not found5
1 Message BYTE

3
T/JSATL 12 —2017

length
When the transparent message type is 0xF7,
the message content is shown Error:
Message
2 Reference source not foundin 6
content
the transparent message type is 0xF8, the
message content is shown in Table 4-7

Table 4 -5Peripheral ID definition table

Peripheral
Peripheral ID Description and requirements
name
ADAS 0x64 Advanced Driver Assistance Systems
DSM 0x65 Driver status monitoring system
TPMS 0x66 Tire Pressure Monitoring System
BSD 0x67 Blind Spot Monitoring System

Table 4 -6Peripheral status information

Start Byte Fields Data length Description and requirements


0x01: Normal operation
0x 02 : Standby state
0 Working status BYTE 0x03: Upgrade and maintenance
0x04: Device abnormality
0x10 : Disconnect
Bitwise setting: 0 for no, 1 for yes
bit0: Camera abnormality
bit1: Main memory abnormality
bit2: Auxiliary memory abnormality
bit3: Infrared fill light abnormality
1 Alarm status DWORD bit4 : Speaker abnormality
bit5 : Battery abnormality
bit6 ~ bit9 : reserved
bit10 : Communication module abnormality
bit11 : Positioning module abnormality
bit12~bit31: reserved

Table 4 -7Peripheral system information

Start Byte Fields Data Types Description and requirements


Company Length: 0-32
0 BYTE
Name Length Name: Use ASCII (for example: software
Company version number SV1.1.0
1 BYTE[n1]
Name (represented as 0x53 0x56 0x31 0x2E 0x31
1+n1 Model Length BYTE 0x2E 0x30)

4
T/JSATL 12 —2017

2+n1 Product Model BYTE[n2] The customer code is the user code , which is
Hardware customized by the peripheral manufacturer.
2+n1+n2 version number BYTE
length
Hardware
3+n1+n2 BYTE[n3]
version number
Software
3+n1+n2+n3 version number BYTE
length
Software
4+n1+n2+n3 BYTE[n4]
version number
4+n1+n2+n3+ Device ID
BYTE
n4 Length
5+n1+n2+n3+
Device ID BYTE[n5]
n4
5+n1+n2+n3+ Customer code
BYTE
n4+n5 length
6+n1+n2+n3+
Customer Code BYTE[n6]
n4+n5

4.3 Parameter setting query command

4.3.1 Parameter setting instructions

The parameter setting message adopts the 0x8103 message defined in 8.8 of

JT/T 808-2011. The added parameter settings are shown in

8 .8 .

Table 4 -8parameter item data format

Fields Data Types Description and requirements


Parameter ID DWORD For parameter ID definition and description, seeTable 4 -9
Parameter
BYTE
length
Parameter
Value

Table 4 -9

Parameter Data Types Description and requirements


ID
Advanced driver assistance system parameters, see Table 4 -
0xF364
1010

5
T/JSATL 12 —2017

0xF365 Driver status monitoring system parameters, see Table 4 -1111


0xF366 Tire pressure monitoring system parameters, see Table 4 -1212
0xF367 Blind spot monitoring system parameters, see Table 4 -1313

Table 4 -10Advanced driver assistance system parameters

Start Byte Fields Data Types Description and Instructions


The unit is km/h, the value range is 0~60, the
default value is 30, and it is only applicable to
Alarm road departure warning, forward collision
judgment warning, vehicle distance too close warning
0 BYTE
speed and frequent lane change warning. It means
threshold that the alarm function is enabled only when
the vehicle speed is higher than this threshold
0xFF means do not modify this parameter
0~8, 8 is the maximum, 0 is silent , the
1 Alarm volume BYTE default value is 6
0xFF means no modification of parameters
0x00: Disable
0x01: Timed photo taking
Active photo 0x02: Take photos at a fixed distance
2 taking BYTE 0x03: Reserved
strategy The default value is 0x00 .
0xFF means that the parameter is not
modified .
The unit is seconds, the value range is
Automatic 0~3600, and the default value is 60.
timing photo 0 means no snapshot, 0xFFFF means no
3 WORD
taking time parameter modification
interval Active photo-taking strategy is valid when it is
0x 01
The unit is meter, the value range is
Automatic 0~60000, the default value is 200,
fixed distance 0 means no snapshot, 0xFFFF means no
5 WORD
shooting parameter modification
distance Active photo-taking strategy is valid when it is
0x 02
Number of
photos taken The value range is 1-10 , the default is 3
7 BYTE
automatically 0xFF means no modification of parameters
at a time
Single active The unit is 100ms , the value range is 1~5,
8 photo taking BYTE and the default value is 2.
time interval 0xFF means no modification of parameters

6
T/JSATL 12 —2017

0x01: 352×288
0x02:704×288
0x03:704×576
0x04 : 640 × 480
Photo 0x05 : 1280 × 720
9 BYTE
resolution 0x06: 1920×1080
The default value is 0x01 .
0xFF means no modification of parameters .
This parameter also applies to the alarm
trigger photo resolution .
0x01: CIF
0x02: HD1
0x03: D1
0x04: WD1
Video 0x05 : VGA
10 recording BYTE 0x06: 720P
resolution 0x07: 1080P
Default value 0x 01
0xFF means do not modify the parameter
This parameter also applies to alarm trigger
video resolution .
11 Alarm Enable D WORD Alarm enable bit 0: Off 1: On
bit0 : obstacle detection level 1 alarm
bit1 : Obstacle detection secondary alarm
bit2 : Frequent lane change level 1 alarm
bit3 : Frequent lane change level 2 alarm
bit4 : Lane departure level 1 alarm
bit5 : Lane departure level 2 warning
bit6 : Forward collision level 1 alarm
bit7 : Forward collision secondary warning
bit8 : Pedestrian collision level 1 alarm
bit9 : Pedestrian collision secondary alarm
bit10 : Level 1 alarm when the distance
between vehicles is too close
bit11 : Second level alarm when the distance
between vehicles is too close
bit12~bit15: User-defined
bit 1 6: Road sign overrun alarm
bit17~bit29: User-defined
bit30~bit31: reserved
Default value 0x000 10 F FF
0xFFFF FFFF means do not modify the
parameter

7
T/JSATL 12 —2017

Event enable bit 0: Disable 1: Enable


bit0 : Road sign recognition
bit1 : Take photos automatically
bit 2 ~ bit 29: User-defined
15 Event Enable D WORD
bit30~bit31: reserved
Default value 0x0000 0003
0xFFFFFFFF means do not modify the
parameter
Reserved Reserve
19 BYTE
fields
Obstacle Unit: 100ms, value range: 10-50, default
warning value: 30
20 BYTE
distance 0xFF means do not modify the parameter
threshold
The unit is km/h, the value range is 0~220,
Obstacle and the default value is 50. It means that
warning when the alarm is triggered, if the vehicle
twenty one classification BYTE speed is higher than the threshold, it is a
speed second-level alarm, otherwise it is a first-level
threshold alarm.
0xFF means do not modify the parameter
Video The unit is seconds, the value range is 0-60,
recording time and the default value is 5.
twenty two before and BYTE 0 means no recording, 0xFF means no
after obstacle parameter modification
alarm
The value range is 0-10, the default value is
Obstacle 3,
twenty three BYTE
alarm photos 0 means no snapshot, 0xFF means no
parameter modification
Obstacle The unit is 100ms , the value range is 1~10,
twenty four alarm photo BYTE and the default value is 2 .
taking interval 0xFF means no modification of parameters
Frequent lane The unit is seconds, the value range is
change alarm 30~120, and the default value is 60 .
25 BYTE
judgment time 0xFF means do not modify the parameter
period
26 Frequent lane BYTE Lane change times: 3~10, default is 5 .
change alarm 0xFF means do not modify the parameter
judgment
times
27 Frequent lane BYTE The unit is km/h, the value range is 0~220,
change and the default value is 50, which means that

8
T/JSATL 12 —2017

when the alarm is triggered, the vehicle


warning speed is higher than the threshold, which is a
graded speed second-level alarm, otherwise it is a first-level
threshold alarm.
0xFF means do not modify the parameter
Video The unit is seconds, the value range is 0-60,
recording time and the default value is 5 .
before and 0 means no recording, 0xFF means no
28 BYTE
after frequent parameter modification
lane change
alarm
Frequent lane The value range is 0-10, and the default value
change is 3 .
29 BYTE
warning 0 means no snapshot, 0xFF means no
photos parameter modification
Frequent lane
change
Unit: 100ms, value range: 1~10, default: 2 ,
30 warning and BYTE
0xFF means no modification of parameters
photo taking
interval
Lane The unit is km/h, the value range is 0~220,
departure and the default value is 50. It means that
warning when the alarm is triggered, if the vehicle
classification speed is higher than the threshold, it is a
31 BYTE
speed second-level alarm, otherwise it is a first-level
threshold alarm.
0 means no recording, 0xFF means no
parameter modification
Video The unit is seconds, the value range is 0-60,
recording time and the default value is 5 .
before and 0 means no recording, 0xFF means no
32 BYTE
after lane parameter modification
departure
warning
Lane The value range is 0-10, the default value is 3
departure ,
33 BYTE
warning 0 means no snapshot, 0xFF means no
photos modification
Lane
Unit: 100ms , value range: 1~10, default
departure
34 BYTE value: 2
warning photo
0xFF means no modification of parameters
interval
35 Forward BYTE The unit is 100ms, the value range is 10~50,

9
T/JSATL 12 —2017

collision the current national standard value is 27, and


warning time the modification interface is reserved .
threshold 0xFF means no modification of parameters
The unit is km/h, the value range is 0~220,
Forward
and the default value is 50. It means that
collision
when the alarm is triggered, if the vehicle
warning
36 BYTE speed is higher than the threshold, it is a
classification
second-level alarm, otherwise it is a first-level
speed
alarm.
threshold
0xFF means do not modify the parameter
Video The unit is seconds, the value range is 0-60,
recording time and the default value is 5 .
before and 0 means no recording, 0xFF means no
37 BYTE
after forward parameter modification
collision
warning
Number of The value range is 0-10, and the default value
photos taken is 3 .
38 by forward BYTE 0 means no snapshot, 0xFF means no
collision modification
warning
Forward
The unit is 100ms , the value range is 1~10,
collision
39 BYTE and the default value is 2 .
warning photo
0xFF means no modification of parameters
taking interval
Pedestrian The unit is 100ms, the value range is 10-50,
collision and the default value is 30 .
40 BYTE
warning time 0xFF means no modification of parameters
threshold
Pedestrian The unit is km/h, the value range is 0~220,
collision and the default value is 50. When the speed
warning is lower than this value, an alarm will be
41 BYTE
enabling triggered , and when the speed is higher than
speed this value, the function will be disabled .
threshold 0xFF means do not modify the parameter
42 Video BYTE The unit is seconds, the value range is 0-60,
recording time and the default value is 5 .
before and 0 means no recording, 0xFF means no
after parameter modification
pedestrian
collision alarm
43 Number of BYTE The value range is 0-10, and the default value
photos taken is 3 .

10
T/JSATL 12 —2017

by pedestrian 0 means no snapshot, 0xFF means no


collision alarm modification
Pedestrian
Unit: 100ms , value range: 1~10, default
collision alarm
44 BYTE value is 2 ,
photo taking
0xFF means no modification of parameters
interval
Distance The unit is 100ms, the value range is 10-50,
monitoring and the default value is 10 .
45 BYTE
alarm 0xFF means do not modify the parameter
threshold
Vehicle The unit is km/h, the value range is 0~220,
distance and the default value is 50. It means that
monitoring when the alarm is triggered, if the vehicle
46 alarm BYTE speed is higher than the threshold, it is a
classification second-level alarm, otherwise it is a first-level
speed alarm.
threshold 0xFF means do not modify the parameter
Video The unit is seconds, the value range is 0-60,
recording time and the default value is 5 .
before and 0 means no recording, 0xFF means no
47 after the BYTE parameter modification
vehicle too
close distance
alarm
Number of The value range is 0-10, and the default value
photos taken is 3 .
when the 0 means no snapshot, 0xFF means no
48 BYTE
vehicle is too parameter modification
close to the
vehicle
Too close
The unit is 100ms , the value range is 1~10,
distance alarm
49 BYTE and the default value is 2 .
photo taking
0xFF means no modification of parameters
interval
Number of The value range is 0-10, and the default value
photos taken is 3
50 BYTE
for road sign 0 means no snapshot, 0xFF means no
recognition parameter modification
51 Road sign BYTE Unit: 100ms , value range: 1~10, default
recognition value: 2
photo interval 0xFF means no modification of parameters
Reserved
52 BYTE[4]
Fields

11
T/JSATL 12 —2017

Table 4 -11Driver status monitoring system parameters

Start Byte Fields Data Types Description and Instructions


The unit is km/h, the value range is 0~60,
Alarm
and the default value is 30. It means that the
judgment
0 BYTE alarm function is enabled only when the
speed
vehicle speed is higher than this threshold.
threshold
0xFF means do not modify this parameter
0~8, 8 is the maximum, 0 is silent , the
1 Alarm volume BYTE default value is 6
0xFF means no modification of parameters
0x00: Disable
0x01: Timed photo taking
Active photo 0x02: Take photos at a fixed distance
2 taking BYTE 0x 03 : Card insertion trigger
strategy 0x04: Reserved
The default value is 0x00 .
0xFF means no modification of parameters
Automatic
The unit is seconds, the value range is
timing photo
3 WORD 60~60000, and the default value is 3600
taking time
0xFF means no modification of parameters
interval
Unit: meter, value range: 0~60000, default
Automatic value: 200
fixed distance 0 means no snapshot, 0xFFFF means no
5 WORD
shooting parameter modification
distance Active photo-taking strategy is effective when
it is 02.
Number of
The value range is 1-10. The default value is
photos taken
7 BYTE 3.
automatically
0xFF means no modification of parameters
at a time
Single active The unit is 100ms , the value range is 1~5,
8 photo taking BYTE and the default value is 2 .
time interval 0xFF means no modification of parameters
9 Photo BYTE 0x01: 352×288
resolution 0x02:704×288
0x03:704×576
0x04 : 640 × 480
0x05 : 1280 × 720
0x06: 1920×1080
The default value is 0x01 .
0xFF means no modification of parameters .

12
T/JSATL 12 —2017

This parameter also applies to the alarm


trigger photo resolution .
0x01: CIF
0x02: HD1
0x03: D1
0x04: WD1
Video 0x05 : VGA
10 recording BYTE 0x06: 720P
resolution 0x07: 1080P
Default value 0x 01
0xFF means do not modify the parameter
This parameter also applies to alarm trigger
video resolution .
Alarm enable bit 0: Off 1: On
bit0 : Fatigue driving level 1 alarm
bit1 : Fatigue driving second level alarm
bit2 : First level alarm when making or
receiving a phone call
bit3 : Second level alarm for making or
receiving phone calls
bit4 : Smoking level 1 alarm
bit5 : Second level smoking alarm
11 Alarm Enable D WORD
bit6 : Distracted driving level 1 alarm
bit7 : Distracted driving secondary alarm
bit 8 : Driver abnormality level 1 alarm
bit9 : Driver abnormality level 2 alarm
bit 1 0~ bit 29: User-defined
bit30~bit31: Reserved
Default value 0x0000 01FF
0x FFFF FFFF means no modification of
parameters
Event enable bit 0: Disable 1: Enable
bit0 : Driver change event
bit1 : Active photo taking event
bit 2 ~ bit 29: User-defined
15 Event Enable D WORD
bit30~bit31: Reserved
Default value 0x0000 0003
0x FFFF FFFF means no modification of
parameters
19 Smoking WORD The unit is seconds , and the value range is 0
alarm ~ 3600. The default value is 180. It means
judgment time that the smoking alarm is triggered only once
interval within this time interval.

13
T/JSATL 12 —2017

0xFF means do not modify this parameter


Time interval The unit is seconds , and the value range is 0
for judging ~ 3600. The default value is 1 2 0. It means
twenty one alarm when WORD that only one incoming or outgoing call alarm
receiving or is triggered within this time interval.
calling 0xFF means do not modify this parameter
Reserved Reserved Fields
twenty three BYTE[3]
fields
The unit is km/h, the value range is 0~220,
Fatigue driving and the default value is 50. It means that
warning when the alarm is triggered, if the vehicle
26 classification BYTE speed is higher than the threshold, it is a
speed second-level alarm, otherwise it is a first-level
threshold alarm.
0xFF means do not modify the parameter
Video The unit is seconds, the value range is 0-60,
recording time and the default value is 5
27 before and BYTE 0 means no recording, 0xFF means no
after fatigue parameter modification
driving alarm
Number of The value range is 0-10, and the default value
photos taken is 3
28 BYTE
for fatigue 0 means no snapshot, 0xFF means no
driving alarm parameter modification
Fatigue driving Unit: 100ms . The value range is 1~5, the
29 alarm photo BYTE default value is 2 .
taking interval 0xFF means no modification of parameters
Speed The unit is km/h, the value range is 0~220,
threshold for and the default value is 50. It means that
alarm when the alarm is triggered, if the vehicle
30 classification BYTE speed is higher than the threshold, it is a
of incoming second-level alarm, otherwise it is a first-level
and outgoing alarm.
calls 0xFF means do not modify the parameter
31 Video BYTE The unit is seconds, the value range is 0-60,
recording time and the default value is 5 .
before and 0 means no recording, 0xFF means no
after receiving parameter modification
and calling the
police
32 Number of BYTE The value range is 1-10, and the default value
photos of the is 3
driver's facial 0 means no snapshot, 0xFF means no

14
T/JSATL 12 —2017

features taken
when making
parameter modification
or receiving a
phone call
The interval
between
taking photos
Unit: 100ms . The value range is 1~5, and the
of the driver's
33 BYTE default value is 2
facial features
0xFF means no modification of parameters
when making
or receiving
calls
The unit is km/h, the value range is 0~220,
Smoking and the default value is 50. It means that
alarm when the alarm is triggered, if the vehicle
34 classification BYTE speed is higher than the threshold, it is a
speed second-level alarm, otherwise it is a first-level
threshold alarm.
0xFF means do not modify the parameter
Video
Unit: seconds, value range: 0-60, default
recording time
value: 5
35 before and BYTE
0 means no recording, 0xFF means no
after the
parameter modification
smoking alarm
Number of
photos of The value range is 1-10, and the default value
driver's facial is 3
36 BYTE
features taken 0 means no snapshot, 0xFF means no
by smoking parameter modification
alarm
The interval
time for the
Unit: 100ms . The value range is 1~5, the
smoking alarm
37 BYTE default is 2
to take photos
0xFF means no modification of parameters
of the driver's
facial features
38 Distracted BYTE The unit is km/h, the value range is 0~220,
driving and the default value is 50. It means that
warning when the alarm is triggered, if the vehicle
classification speed is higher than the threshold, it is a
speed second-level alarm, otherwise it is a first-level
threshold alarm.
0xFF means do not modify the parameter

15
T/JSATL 12 —2017

Video
recording time Unit: seconds, value range: 0-60, default
before and value: 5
39 BYTE
after 0 means no recording, 0xFF means no
distracted parameter modification
driving alarm
Number of
The value range is 1-10, and the default value
distracted
is 3
40 driving BYTE
0 means no snapshot, 0xFF means no
warning
parameter modification
photos
Distracted
driving Unit: 100ms . The value range is 1~5, the
41 warning BYTE default is 2
camera 0xFF means no modification of parameters
interval
The unit is km/h, the value range is 0~220,
Speed
and the default value is 50. It means that
threshold for
when the alarm is triggered, if the vehicle
abnormal
42 BYTE speed is higher than the threshold, it is a
driving
second-level alarm, otherwise it is a first-level
behavior
alarm.
classification
0xFF means do not modify the parameter
Abnormal Unit: seconds, value range: 0-60, default
driving value: 5
43 BYTE
behavior video 0 means no recording, 0xFF means no
recording time parameter modification
Number of
photos The value range is 1-10, and the default value
captured of is 3
44 BYTE
abnormal 0 means no snapshot, 0xFF means no
driving parameter modification
behavior
Abnormal
driving Unit: 100ms . The value range is 1~5, the
45 behavior BYTE default is 2
photo taking 0xFF means no modification of parameters
interval
46 Driver BYTE 0x00 : Disable
identification 0x 01 : Timing trigger
trigger 0x02: Fixed distance trigger
0x03: Triggered by inserting the card and
starting driving

16
T/JSATL 12 —2017

0x04: Reserved
The default value is 0x01
0xFF means no modification of parameters
Reserved
47 BYTE[2]
Fields

Table 4 -12Tire pressure monitoring system parameters

Start Byte Fields Data Types Description and Instructions


Tire
Example: 195/65R15 91V 12 characters,
0 specifications BYTE[12]
expressed in ASCII . Default value is "900R20"
and models
0x00: kg/cm2
0x01: bar
Tire pressure 0x02: Kpa
12 WORD
unit 0x03: PSI
The default value is 0x03. 0xFFFF means no
parameter modification
The unit is the same as the tire pressure unit ,
Normal tire
14 WORD the default value is 140
pressure
0xFFFF means no modification of parameters
Unit: % (percentage), value range: 0~100
Tire pressure
(reaching the cold air pressure value), default
16 imbalance WORD
value: 20
threshold
0xFFFF means no modification of parameters
Unit: % (percentage), value range: 0~100
Slow leak (reaching the cold air pressure value), default
18 WORD
threshold value: 5
0xFFFF means no modification of parameters
The unit is the same as the tire pressure unit ,
Low voltage
20 WORD the default value is 110
threshold
0xFFFF means no modification of parameters
The unit is the same as the tire pressure unit ,
High voltage
twenty two WORD the default value is 189
threshold
0xFFFF means no modification of parameters
High
Unit: Celsius , default value: 80
twenty four temperature WORD
0xFFFF means no modification of parameters
threshold
The unit is % (percentage), the value range is
Voltage
26 WORD 0~100, the default value is 10 ,
threshold
0xFFFF means no modification of parameters
28 Regular WORD The unit is seconds , the value range is 0~
reporting 3600 , the default value is 60,

17
T/JSATL 12 —2017

0 means no report, 0xFFFF means no


interval
parameter modification
Reserved
30 BYTE[6] Zero-fill reserved items
Items

Table 4 -13Blind spot monitoring system parameters

Start Byte Fields Data Types Description and Instructions


Rear approach The unit is seconds, and the value range is
0 warning time BYTE 1~10
threshold 0xFF means no modification of parameters
Side rear The unit is seconds, and the value range is
approach 1~10
1 BYTE
warning time 0xFF means no modification of parameters
threshold

4.3.2 Query parameter instructions

The query parameter message adopts the 0x8103/0x8106 message defined in

8.8 of JT/T 808-2011. The data format of the message body for querying the specified

terminal parameters is shown in Table 15 of JT/T 808-2011. The terminal responds

with the 0x0104 command.

4.4 Alarm command

The alarm report is reported simultaneously with the location information as

additional information of the 0x0200 location information report. The additional

information definition table in Table 20 of JT/T 808-2011 is extended. The additional

information extension definition is shown in Table 4 -144.

Table 4 -14Additional information definition table extension

Additional Additional Description and requirements


information information
ID length
Advanced driver assistance system warning information, see
0x64
Table 4 -155 for definition
Driver status monitoring system alarm information, see Table 4
0x65
-7 for definition
0x66 Tire pressure monitoring system alarm information, see Table 4

18
T/JSATL 12 —2017

-8 for definition
Blind spot monitoring system alarm information, see Table 4 -
0x67
20 for definition

4.4.1Advanced driver assistance system warning

Table 4 -15Advanced driver assistance warning information data format

Start Byte Fields Data length Description and requirements


The count is accumulated in a loop starting
0 Alarm ID DWORD from 0 according to the order of alarms,
regardless of the alarm type.
0x00: Not available
0x01: Start flag
0x02: End mark
This field is only applicable to alarms or events
4 Flag Status BYTE
with start and end marks . If the alarm type or
event type does not have start and end marks,
this bit is unavailable and can be filled with
0x00.
0x01: Forward collision warning
0x02: Lane departure warning
0x03: Vehicle distance too close alarm
0x04: Pedestrian collision alarm
0x05: Frequent lane change alarm
Alarm /Event
5 BYTE 0x06: Road sign overrun alarm
Type
0x 07 : Obstacle alarm
0x08~0x0F: User-defined
0x10: Road sign recognition event
0x 11 : Active capture event
0x12~0x1F: User-defined
0x01: Level 1 alarm
6 Alarm level BYTE
0x02: Level 2 alarm
Front vehicle Unit: Km/h . Range: 0~ 250 . Only valid when
7 BYTE
speed the alarm type is 0x01 and 0x02.
Distance from
The unit is 100ms, the range is 0~ 100 , and it
the
8 BYTE is valid only when the alarm type is 0x01 ,
vehicle/pedestri
0x02 and 0x04.
an ahead
0x 01 : Left deviation
9 Deviation type BYTE 0x02: Right deviation
Only valid when the alarm type is 0x02

19
T/JSATL 12 —2017

0x01: Speed limit sign


0x 02 : Height limit sign
Road sign
10 BYTE 0x 03 : Weight limit sign
recognition type
Only valid when the alarm type is 0x 06 and
0x10
Road sign
11 BYTE Data on road sign recognition
recognition data
12 Speed BYTE Unit: Km/h . Range: 0~ 250
13 Elevation WORD Altitude, in meters (m)
The latitude value in degrees is multiplied by
15 latitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
The latitude value in degrees is multiplied by
19 longitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
twenty three Date and Time BCD[6] YY-MM-DD - hh-mm-ss (GMT+ 8 time )
29 Vehicle status WO R D SeeTable 5 -25
Alarm
Alarm identification number definition see Table
31 identification BYTE[16]
4 -16
number

Table 4 -16 Alarm identification number format

Start Byte Fields Data length describe


7 bytes , consisting of uppercase letters and
0 Terminal ID BYTE[7]
numbers
7 time BCD [6] YY-MM-DD-hh-mm-ss (GMT+8 time)
The sequence number of the alarm at the
13 Serial number BYTE
same time point is accumulated from 0.
Number of Indicates the number of attachments
14 BYTE
attachments corresponding to the alarm
15 Reserve BYTE

4.4.2Driver status monitoring system alarm

Table 4 -17 Driving status monitoring system alarm information data format

Start Byte Fields Data length Description and requirements


The count is accumulated in a loop starting
0 Alarm ID DWORD from 0 according to the order of alarms,
regardless of the alarm type.
4 Flag Status BYTE 0x00: Not available

20
T/JSATL 12 —2017

0x01: Start flag


0x02: End mark
This field is only applicable to alarms or events
with start and end marks . If the alarm or event
type does not have start and end marks, this
bit is unavailable and can be filled with 0x00.
0x01: Fatigue driving alarm
0x02: Make a phone call to the police
0x03: Smoking alarm
0x04: Distracted Driving Alarm
Alarm /Event
5 BYTE 0x05: Driver abnormal alarm
Type
0x06~0x0F: User-defined
0x 10: Automatic capture event
0x 11: Driver change event
0x1 2 ~0x1F: User-defined
0x01: Level 1 alarm
6 Alarm level BYTE
0x02: Level 2 alarm
The range is 1 to 10. The larger the value, the
7 Fatigue level BYTE more serious the fatigue level. It is only valid
when the alarm type is 0x 01.
8 Reserve BYTE [4] Reserve
12 Speed BYTE Unit: Km/h . Range: 0~ 250
13 Elevation WORD Altitude, in meters (m)
The latitude value in degrees is multiplied by
15 latitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
The latitude value in degrees is multiplied by
19 longitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
twenty three Date and Time BCD[6] YY-MM-DD-hh-mm-ss (GMT+8 time)
29 Vehicle status WORD SeeTable 5 -25
Alarm
See Table 4 - 16 for the definition of alarm
31 identification BYTE[16]
identification number
number

4.4.3Tire pressure monitoring system alarm

Table 4 -18 Tire pressure monitoring system alarm information data format

Start Byte Fields Data length Description and requirements


0 Alarm ID DWORD The count is accumulated in a loop starting
from 0 according to the order of alarms,

21
T/JSATL 12 —2017

regardless of the alarm type.


0x00: Not available
0x01: Start flag
0x02: End mark
4 Flag Status BYTE This field is only applicable to alarms or events
with start and end marks. If the alarm or event
type does not have start and end marks, this
bit is unavailable and can be filled with 0x00.
5 Speed BYTE Unit: Km/h . Range: 0~ 250
6 Elevation WORD Altitude, in meters (m)
The latitude value in degrees is multiplied by
8 latitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
The latitude value in degrees is multiplied by
12 longitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
16 Date and Time BCD[6] YY-MM-DD-hh-mm-ss (GMT+8 time)
twenty two Vehicle status WORD SeeTable 5 -25
Alarm
See Table 4-16 for the definition of alarm
twenty four identification BYTE[16]
identification number.
number
Total number of
39 BYTE
alarm/event lists
Alarm/event
40 See Table 4 -19
information list

Table 4 -19 Tire pressure monitoring system alarm/event information list format

Start Byte Fields Data length describe


Alarm tire position number
(Starting from the left front wheel, the wheels
Tire pressure
0 BYTE are numbered in a Z-shape from 0 to 0. The
alarm location
numbers have nothing to do with whether
TPMS is installed.)
2 Alarm/Event WORD 0 means no alarm, 1 means alarm
Type bit0 : Tire pressure ( regular reporting)
bit1 : Tire pressure too high alarm
bit2 : Low tire pressure alarm
bit3 : Tire temperature too high alarm
bit4 : Sensor abnormality alarm
bit5 : Tire pressure imbalance alarm
bit6 : Slow leak alarm

22
T/JSATL 12 —2017

bit7 : Low battery alarm


bit8 ~ bit15 : Custom
4 Tire pressure WORD Unit: Kpa
Tire Unit:℃
6 WORD
temperature
8 Battery level WORD unit %

4.4.4Blind spot monitoring system alarm

Table 4 -20 Blind spot monitoring system alarm definition data format

Start Byte Fields Data length Description and requirements


The count is accumulated in a loop starting
0 Alarm ID DWORD from 0 according to the order of alarms,
regardless of the alarm type.
0x00: Not available
0x01: Start flag
0x02: End mark
This field is only applicable to alarms or events
4 Flag Status BYTE
with start and end marks. If the alarm type or
event type does not have start and end marks,
this bit is unavailable and can be filled with
0x00.
0x01 : Rear approach alarm
Alarm/Event
5 BYTE 0x02: Left rear approach alarm
Type
0x03: Right rear approach alarm
6 Speed BYTE Unit: Km/h . Range: 0~ 250
7 Elevation WORD Altitude, in meters (m)
The latitude value in degrees is multiplied by
9 latitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
The latitude value in degrees is multiplied by
13 longitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
17 Date and Time BCD[6] YY-MM-DD-hh-mm-ss (GMT+8 time)
twenty three Vehicle status WORD SeeTable 5 -25
Alarm
See Table 4-16 for the definition of alarm
25 identification BYTE[16]
identification number.
number

4.5Alarm attachment upload command

Message ID: 0x9208.

23
T/JSATL 12 —2017

Message type: signaling data message.

After receiving the alarm /event information with attachments , the platform sends an attachment

upload instruction to the terminal . The data format of the instruction message body is

shown in Table 4 -21 .

Table 4 -21 File upload instruction data format

Start Byte Fields Data Types Description and requirements


Attachment
0 server IP BYTE Length k
address length
Attachment
1 server IP STRING Server IP address
address
Attachment
Server port number when using TCP
1+k Server Port WORD
transmission
(TCP)
Attachment
Server port number when using UDP
3+k Server Port WORD
transmission
(UDP)
Alarm
The definition of alarm identification number
5+k identification BYTE[16]
is shown in Table 4 -16
number
The unique number assigned by the platform
21 +k Alarm number BYTE[ 32 ]
to the alarm
5 3 +k Reserve BYTE [16]
After receiving the alarm attachment upload instruction issued by the platform, the terminal sends a

general response message to the platform.

4.6 Upload alarm attachments

4.6.1 Vehicle status data record file

The vehicle status data recording file is a binary file that records the vehicle status data in the form of
continuous data blocks. The data block format is shown in Table 4-22 .

Table 4 -22 Vehicle status data block data format

Start Byte Fields Data Types Description and requirements


Total number Records the total number of data blocks in the
0 DWORD
of data blocks file
4 Current data DWORD current data block in the record file

24
T/JSATL 12 —2017

block number
8 Alarm sign DWORD Refer to JT/T 808-2013 Table 24 definition
12 Vehicle status DWORD Refer to JT/ T 808-2013 Table 2 5 Definition
The latitude value in degrees is multiplied by
16 latitude DWORD 10 to the sixth power, accurate to one
millionth of a degree
The latitude value in degrees is multiplied by
20 longitude DWORD 10 to the sixth power, accurate to one
millionth of a degree
Satellite
twenty four WORD Satellite altitude , in meters (m)
elevation
26 Satellite speed WORD 1 /10km/h
Satellite
28 WORD 0-359 , due north is 0, clockwise
direction
30 time BCD [6] YY-MM-DD-hh-mm-ss (GMT+ 8 time )
X-axis Take g as the unit and multiply it by 10 to the
36 WORD
acceleration power of 2, accurate to one hundredth of a g
Y-axis Take g as the unit and multiply it by 10 to the
38 WORD
acceleration power of 2, accurate to one hundredth of a g
Z-axis Take g as the unit and multiply it by 10 to the
40 WORD
acceleration power of 2, accurate to one hundredth of a g
Multiply the unit of degrees per second by 10
X-axis angular
42 WORD to the power of 2, accurate to the nearest
velocity
hundredth of a degree per second
Multiply the unit of degrees per second by 10
Y-axis angular
44 WORD to the power of 2, accurate to the nearest
velocity
hundredth of a degree per second
Multiply the unit of degrees per second by 10
Z-axis angular
46 WORD to the power of 2, accurate to the nearest
velocity
hundredth of a degree per second
48 Pulse speed WORD 1 /10km/h
50 OBD Speed WORD 1 /10km/h
0: Neutral
1-9 : Gear
52 Gear status BYTE
10: Reverse gear
11: Park
Accelerator
53 pedal travel BYTE Range 1-100 , unit %
value
Brake pedal
54 BYTE Range 1-100 , unit %
travel value
0: No brake
55 Braking status BYTE
1: Braking

25
T/JSATL 12 —2017

Transmission
56 WORD Unit RPM
speed
The angle of the steering wheel rotation is
Steering
58 WORD positive if it is clockwise and negative if it is
wheel angle
counterclockwise .
0: No turn signal
Turn signal
60 BYTE 1: Left turn signal
status
2: Right turn signal
61 Reserve BYTE [2]
The sum of the characters from the first
character to the character before the check
63 Check digit BYTE
digit, and then take the lower 8 bits of the
sum as the check code

4.6.2 Alarm attachment information message

Message ID: 0x1210.

Message type: signaling data message.

The terminal connects to the attachment server according to the attachment

upload instruction and sends an alarm attachment information message to the

server. The message body data format is shown in Table 4-23 .

Table 4 -23 Alarm attachment information message data format

Start Byte Fields Data length Description and requirements


7 bytes, consisting of uppercase letters and
numbers. This terminal ID is defined by the
0 Terminal ID BYTE [7]
manufacturer. If the number of digits is
insufficient, "0x00" is added at the end.
Alarm
Alarm identification number definition see
7 identification BYTE[16]
Table 4 -16
number
The unique number assigned by the platform
twenty three Alarm number BYTE [32]
to the alarm
0x00: Normal alarm file information
55 Information Type BYTE
0x01: Supplement alarm file information
Number of The number of attachments associated with
56 BYTE
attachments the alarm
Attachment
57 See Table 4-2 4
information list

26
T/JSATL 12 —2017

After receiving the alarm attachment information message uploaded by the terminal , the attachment

server sends a general response message to the terminal . If the terminal is abnormally

disconnected from the attachment server during the process of uploading the alarm attachment , the alarm

attachment information message needs to be resent when the connection is restored. The attachment files in

the message are the attachment files that were not uploaded and completed before the disconnection.

Table 4-24 Alarm attachment message data format

Start Byte Fields Data length Description and requirements


0 File name length BYTE Length k
1 File name STRING File name string
1+k File size DWORD The current file size
The file naming rules are :

<file type>_<channel number>_<alarm type>_<sequence number>_< alarm

number> .< suffix name>

The fields are defined as follows:

File type : 00——Picture; 01——Audio; 02——Video; 03——Text; 04——Other.

Channel number : 0~ 37 represents the video channel defined in Table 2 of the JT/T 1076 standard.

64 indicates the ADAS module video channel .

65 indicates the DSM module video channel .

If the attachment is not related to the channel , just fill in 0.

Alarm type : A code consisting of the peripheral ID and the corresponding module alarm type. For

example, the forward collision alarm is represented by "6401".

Serial number : used to distinguish file numbers of the same channel and type.

Alarm number : The unique number assigned by the platform to the alarm.

Suffix name : jpg or png for picture files , wav for audio files, h264 for video files , and bin for text

files.

After receiving the alarm attachment information instruction reported by the terminal , the attachment

server sends a general response message to the terminal .

4.6.3 File information upload

Message ID: 0x1211.

Message type: signaling data message.

27
T/JSATL 12 —2017

After the terminal sends the alarm attachment information command to the

attachment server and receives a response, it sends the attachment file information

message to the attachment server. The message body data format is shown in Table

4-25 .

Table 4 -25 Attachment file information message data format

Start Byte Fields Data length Description and requirements


0 File name length BYTE The length of the file name is l
1 File name STRING File name
0x00: Picture
0x01: Audio
1+l File Type BYTE 0x02: Video
0x03: Text
0x04: Other
2+l File size DWORD current uploaded file .
After receiving the attachment file information instruction reported by the

terminal , the attachment server sends a general response message to the terminal .

4.6.4File data upload

Message type: code stream data message.

After the terminal sends a file information upload instruction to the attachment

server and receives a response, it sends the file data to the attachment server. The

payload packet format is defined in Table 4-26 .

Table 4 -26 File stream payload packet format definition table

Start Byte Fields Data length Description and requirements


Frame header
0 DWORD Fixed to 0x30 0x31 0x63 0x64
identifier
4 File name BYTE[50] File name
54 Data offset DWORD The data offset of the current transferred file
58 Data length DWORD The length of the payload data
The default length is 64K . If the file is less
62 Data body BYTE[n]
than 64K, the actual length is used.
When the attachment server receives the file stream reported by the terminal , it does not need to

respond .

28
T/JSATL 12 —2017

4.6.5File upload completed message

Message ID: 0x1212.

Message type: signaling data message.

When the terminal completes sending a file data to the attachment server, it

sends a file sending completion message to the attachment server. The message

body data format is shown in Table 4-27 .

Table 4 -27 File sending completion message body data structure

Start Byte Fields Data length Description and requirements


0 File name length BYTE l
1 File name STRING File name
0x00: Picture
0x01: Audio
1+l File Type BYTE 0x02: Video
0x03: Text
0x04: Other
2+l File size DWORD current uploaded file .

4.6.6File upload completion message response

Message ID: 0x9212.

Message type: signaling data message.

When the attachment server receives the file sending completion message reported by the terminal, it
sends a file upload completion message response to the terminal. The response message data structure is
shown in Table 4-28 .

Table 4 -28 File upload completion message response data structure

Start Byte Fields Data length Description and requirements


0 File name length BYTE l
1 File name STRING File name
0x00: Picture
0x01: Audio
1+l File Type BYTE 0x02: Video
0x03: Text
0x04: Other
0x00: Completed
2+l Upload results BYTE
0x01: Retransmission required

29
T/JSATL 12 —2017

Number of
that need to be retransmitted . If there is no
3+l retransmitted BYTE
retransmission, the value is 0.
data packets
List of
4+l retransmission See Table 4-29
data packets

Table 4 -29 Data structure of supplementary data packet information

Start Byte Fields Data length Description and requirements


0 Data offset DWORD that needs to be re-transmitted in the file
1 Data length DWORD The length of the data to be retransmitted
If there is data that needs to be retransmitted, the terminal should retransmit the data by uploading the

file data. After the retransmission is completed, the file upload completion message will be reported until

the file data is sent.

After all files are sent, the terminal actively disconnects from the attachment server.

4.7 Terminal upgrade

4.7.1Terminal upgrade method

The terminal is upgraded through the terminal control instructions in JT/T 808. The upgrade file

naming rules are as follows :

< Device type >_<Manufacturer number>_<Device model>_<Dependent

software version number>_<Software version number>.<Suffix name>.

The fields are defined as follows :

Device type : 01 - terminal; 02 - reserved ; 03 - ADAS ; 04 - DSM; 05 - BSD;

06 —— TPMS .

Manufacturer number : Equipment manufacturer name number , consisting of numbers and

letters .

Device model : The device model defined by the device manufacturer, consisting of numbers and

letters.

Dependent software version number : The software version that the software upgrade

depends on , consisting of numbers and letters .

Software version number : The software version of this upgrade , consisting of numbers and

letters .

30
T/JSATL 12 —2017

Suffix : The upgrade file suffix is customized by the device manufacturer and consists of numbers

and letters.

4.7.2Terminal upgrade result response

Message ID: 0x0108.

Message type: signaling data message.

terminal upgrade result response message is shown in Table 4-30 .

Table 4 -30 Terminal upgrade result response data format

Start Byte Fields Data length Description and requirements


0x00 : Terminal
0x0C : Road transport certificate IC card
reader
0x34 : Beidou positioning module
0 Upgrade Type BYTE
0x64 : Advanced Driver Assistance System
0x65 : Driving status monitoring system
0x66 : Tire Pressure Monitoring System
0x67 : Blind spot monitoring system
0x00: Success
0x01: Failed
0x 02 : Cancel
1 Upgrade Results BYTE 0x 10 : Target device not found
0x11: The hardware model is not supported
0x12: The software versions are the same
0x 13 : The software version is not supported

4.8 External set-up photo taking command

Message ID: 0x8801.


the command 0x8801 to the terminal to take a photo immediately . The terminal

responds to the platform with 0x0805, and then determines whether the command is

to control the peripheral to take a photo immediately based on the channel ID field in

the command. The message body data format is shown in Table 4- 31.

Table 4 -31 Immediate photo taking instruction message body data format

Start Byte Fields Data length Description and requirements


0 Channel ID BYTE 0x00~0x25 : The host uses the camera
channel to take pictures

31
T/JSATL 12 —2017

0x64 : Control ADAS to take photos


0x65 : Control DSM to take photos
Shooting 0 means stop shooting. 0xFFFF means
Command recording. Others indicate the number of
1 WORD
photos, which is only valid when the host is
taking photos.
Photo interval WORD seconds , 0 means taking photos at the
3 /video recording minimum interval or recording all the time,
time only valid when the host is taking photos
Save logo BYTE 1: Save
5 0: Real-time upload
Only valid when the host takes photos
0x 01:320*240
0x02:640*480
0x03:800 * 600
0x 04:1024*768
6 Resolution BYTE 0x05:176*144 , [Qcif]
0x06:352*288 , [Cif]
0x07:704*288 , [HALF D1]
0x08:704*576 , [D1]
Only valid when the host takes photos
BYTE 1-10, 1 represents the lowest quality loss, 10
Image /Video
7 represents the highest compression ratio,
Quality
Only valid when the host takes photos
0-255 , only valid when the host takes a
8 brightness BYTE
photo
0-127 , only valid when the host takes a
9 Contrast BYTE
photo
0-127 , only valid when the host takes a
10 Saturation BYTE
photo
0-255 , only valid when the host takes a
11 Chroma BYTE
photo

5Device communication protocol

5.1 Scope of application

The communication protocol between terminals and peripherals is applicable to


the communication between vehicle-mounted terminals and peripherals . Peripherals
include but are not limited to TPMS, BSD and other devices. For ADAS and DSM
devices that can operate independently, it is recommended to use this
communication protocol. It is not required for integrated devices that meet the
functional requirements of active safety intelligent prevention and control systems.

32
T/JSATL 12 —2017

5.2 Communication

It is recommended that the terminal and the peripheral device communicate via

the network . The network communication uses the TCP protocol . For peripheral

devices that do not support network communication, RS232, RS485 or CAN

communication can be used. When using RS232 or RS485, the interface parameters

are configured as a baud rate of 115200, 8 data bits, 1 stop bit, no check, and no

flow control. When using CAN communication, a standard frame 11-bit identifier is

used, and the baud rate is 500K.

5.3 Transmission Conventions

a) The data types and transmission rules used in the protocol messages shall comply

with the requirements of Chapter 4 of JT/T 808-2011 .

b)When using network communication , the terminal should be used as the server in

the communication network, and the peripheral device as the client. When the

terminal is used as the server, the recommended IP address is 192.168.100.100

and the port number is 8888.

c) When communicating via the network , the message frame should carry a serial

number , and the serial number of the recipient's response message should

correspond to the serial number of the message sent by the sender .

d) When using RS485 or CAN communication, there must be a pause interval of at

least 100ms after a message is sent before the next message or response

message can be sent. Devices with high real-time requirements are not within

the scope of this requirement .

e)When using RS485 communication , the terminal acts as the host in the

communication and reads peripheral information through the query - response

method . The terminal alarm response message can be used as the query

command. After the peripheral receives the command, if there is an alarm, the

alarm message will be uploaded. If there is no alarm, the alarm query command

will be used directly to respond.

33
T/JSATL 12 —2017

f) After receiving the information, the recipient should first verify the message data.

If the verification fails, no operation or response will be performed.

g)After the terminal is started, it is necessary to query whether the peripheral exists

every 3 seconds. If the peripheral exists, query the detailed information of the

peripheral and synchronize the peripheral working parameters.

h) After the connection is established , the terminal should confirm whether the

peripheral communication is normal through query instructions at an interval of

no more than 60 seconds. If communication abnormalities occur, the terminal

should actively send peripheral working status information to the platform.

i)The terminal should send the real-time status of the vehicle to the peripheral device

at a time interval not greater than 500ms .

j)Except for the vehicle real-time status message sent by the terminal to the

peripheral device , all messages should be responded to .

k) If the message receiver fails to correctly respond to the message sent by the

sender within 1000ms, a communication timeout is triggered.

l)Except for the real-time vehicle status message , other messages sent by the

terminal to the peripheral device require the peripheral device to respond . If a

communication timeout occurs, the message needs to be resent. If there are

three consecutive timeouts, the peripheral device is considered disconnected and

the terminal needs to check again whether the peripheral device exists.

m) When the peripheral sends a message to the terminal , if a communication

timeout occurs , the message needs to be resent. If it times out three times in a

row , it is determined that the connection with the terminal is disconnected. The

message needs to be saved and resent after the communication is normal.

5.4 Message frame format

Table 5 -17Message frame format

Identifi Check serial Manufactu Periphera Function Data content Identifi


er code numbe rer l number code er
r Number
BYTE BYTE WORD WORD BYTE BYTE BYTE[n] BYTE

34
T/JSATL 12 —2017

See See SeeTable 5 SeeTable 5 See sections 4.5 to


0x7e See Notes 0x7e
Notes Notes -18 -19 4.7
Remark:

Flag bit: 0x7e is used. If 0x7e appears in the check code, message header, or message body, it must be

escaped. The processing rules are as follows:

0x7e <————> 0x7d followed by 0x02.

0x7d <————> 0x7d is followed by 0x01.

The escape process is as follows:

When sending a message: message encapsulation -> calculate and fill in the checksum -> escape.

When receiving a message: escape and restore -> verify the check code -> parse the message.

Example 1:

Send a data packet with the content of 0x30 0x7e 0x08 0x7d 0x55, then it is encapsulated as follows:

0x7e 0x30 0x7d 0x02

0x08 0x7d 0x01 0x55 0x7e.

Verification code: The cumulative sum from manufacturer number to user data is accumulated in

sequence, and then the lower 8 bits of the accumulation are taken as the verification code.

Example 2:

If the cumulative sum is 0x1388, the check code is 0x88.

Serial number: It is accumulated in a loop starting from 0 in the order in which it is sent .

Manufacturer number: The manufacturer code of the peripheral slave.

Peripheral number: Each peripheral has a unique type number corresponding to it, which is used by

the host's peripheral interface driver to distinguish the type of peripheral sending the data . See the

peripheral type number Table 5 -18.

Table 5 -18Peripheral number definition table

Peripheral
Peripheral number Description and requirements
name
broadcast 0x00 Broadcast Number
ADAS 0x64 Advanced Driver Assistance Systems
DSM 0x65 Driver status monitoring system
TPMS 0x66 Tire Pressure Monitoring System
BSD 0x67 Blind Spot Monitoring System

35
T/JSATL 12 —2017

Table 5 -19Function code definition table

Function definition Description and requirements


code
0x 2F Query command Used by the terminal to query whether the peripheral exists
Restore default
Used to restore peripheral parameters to factory settings
0x 30 parameters
on the terminal
command
Real-time data Used for the terminal to send data such as speed, time ,
0x 31
instructions location and vehicle status to external devices
Query basic Used for terminal query of peripheral company information,
0x 32 information of product code, version number, device ID and other
peripherals information
Upgrade peripheral
0x 33 Used to upgrade data interaction
program
0x 34 Query Parameters Used for terminal query of peripheral parameters
0x 35 Setting parameters Used to set peripheral parameters in the terminal
Event/alarm
0x36 Used for reporting peripheral events/alarm data
reporting
Peripheral status Used for terminal to query peripheral working status
0x 37
query information
Peripheral status
0x 38 Used for peripherals to report working status information
reporting
Request multimedia Used by the terminal to request multimedia data from the
0x50
data peripheral device
Upload multimedia Used for peripherals to upload multimedia data to the
0x51
data terminal
Take photo now Used for terminal control of peripherals to take photos
0x 52
command immediately

5.5 General instructions

5.5.1 Query command

Function code: 0x 2F

The format of the query command sent by the terminal to the peripheral device is

shown in the following figure Table 5 -20.

Table 5 -20Query instruction format definition

Periphera Function Data Area


l number code
SeeTable 5 0x 2F null

36
T/JSATL 12 —2017

After receiving the terminal command, the peripheral device should Table 5 -

20respond according to the command requirements. The specific response command

format is shown in Table 5 Query response -21.

Table 5 Query response -21format definition

Periphera Function Data Area


l number code
SeeTable 5
0x 2F null
-18

5.5.2 Peripheral restore default parameter command

Function code: 0x30

The terminal restores the default parameters of the peripherals Table 5.6 Restore

-22.

Table 5.6 Restore -22parameter command format definition

Periphera Function Data Area


l number code
SeeTable 5
0x30 null
-18
After receiving the terminal command, the peripheral device should Table 5.6

Restore -22respond according to the command requirements. The specific response

command format is shown in Table 5 -23.

Table 5 -23Restore default parameters command response format definition

Periphera Function Data Area


l number code
SeeTable 5
0x30 null
-18

5.5.3 Real-time data instructions

Function code: 0x31

The real-time data instruction format sent by the terminal to the peripheral

device is shown in Table 5 -24.

37
T/JSATL 12 —2017

Table 5 -24Real-time data instruction format definition

Periphera Function Data Area


l number code
SeeTable 5
0x31 SeeTable 5 -25
-18

Table 5 -25Real-time data content format definition

Start Byte Fields Data Types Description and Instructions


0 Speed BYTE Unit: km/h. Range: 0 ~ 250
1 Reserve BYTE
2 mileage DWORD The unit is 0.1km. The range is 0 ~ 99999999
6 Reserve BYTE[2]
8 Elevation WORD Altitude, in meters (m)
The latitude value in degrees is multiplied by
10 latitude DWORD 10 to the sixth power, accurate to one
millionth of a degree
The latitude value in degrees is multiplied by
14 longitude DWORD 10 to the sixth power, accurate to one
millionth of a degree
18 Date and Time BCD[6] YY-MM-DD-hh-mm-ss (GMT+8 time)
Bitwise representation of other vehicle
status :
Bit0 ACC status , 0: off, 1: on
Bit1 Left turn status, 0: closed, 1: open
Bit2 Right turn status , 0: closed, 1: open
Bit3 Wiper status , 0: off, 1: on
twenty four Vehicle status WORD Bit4 Braking status, 0: not braking, 1: braking
Bit5 card insertion status, 0: no card inserted,
1: card inserted
Bit6 ~ Bit9 Customized
Bit10 Positioning status , 0: not positioned, 1:
positioned
Bit11 ~ bit15 custom

5.5.4 Read basic information of peripherals

Function code: 0x32

The terminal reads basic peripheral information instruction format Table 5 -26.

38
T/JSATL 12 —2017

Table 5 -26Read peripheral basic information instruction format definition

Peripher Functi Data Area


al on
number code
SeeTable
0x32 null
5 -18
After receiving the terminal command, the peripheral device should Table 5 -

26respond according to the command requirements. The specific response command

format is shown in Table 5 -27.

Table 5 -27Peripheral response basic information instruction format definition

Peripher Functi Data Area


al on
number code
SeeTable
0x32 See Table 5 -28
5 -18

Table 5 -292 Peripheral basic information content format definition

Start Byte Fields Data Types Description and requirements

Company Length: 0-255


0 BYTE
Name Length Name: ASCII (for example, software version
Company SV1.1.0 is represented by : 0x53 0x56 0x31
1 BYTE[n1]
Name 0x2E 0x31 0x2E 0x30)
Product code The customer code is a user code , which is
1+n1 BYTE
length customized by the equipment manufacturer.
2+n1 Product Code BYTE[n2]
Hardware
2+n1+n2 version number BYTE
length
Hardware
3+n1+n2 BYTE[n3]
version number
Software
3+n1+n2+n3 version number BYTE
length
Software
4+n1+n2+n3 BYTE[n4]
version number
4+n1+n2+n3+ Device ID
BYTE
n4 Length
5+n1+n2+n3+ Device ID BYTE[n5]

39
T/JSATL 12 —2017

n4
5+n1+n2+n3+ Customer code
BYTE
n4+n5 length
6+n1+n2+n3+
Customer Code BYTE[n6]
n4+n5

5.5.5 Upgrade Instructions

Function code: 0x33

The terminal gives the peripheral device upgrade protocol instructions Table 5 -

30.

Table 5 -303 Upgrade instruction data format

Peripheral Functio Data Area


number n code
Total number of packages (2 bytes) + package
SeeTable 5 - Message ID ( 1
0x33 sequence number (2 bytes) + upgrade package
18 byte)
content , see the description below
Upgrade process description:

a) Start upgrading subcommand description:

Start upgrade subcommand: The message ID is 0x01, and the remaining data

area is empty.

Clear source program subcommand: The message ID is 0x02, and the remaining

data area is empty.

Transfer file package subcommand: The message ID is 0x03, and the contents of

the remaining data area are described below.

Execute the new program subcommand: the message ID is 0x04, and the

remaining data area is empty.

b) Format description:

The vehicle terminal sends the upgrade file to the peripheral device in packets

(the data area structure is: total number of packets (2 bytes) + packet sequence

number (2 bytes) + upgrade package content). The upgrade package content length

of each package is recommended not to exceed 1024 bytes. When TCP/IP

communication is adopted, the upgrade package length is not limited. The file

40
T/JSATL 12 —2017

content of the first upgrade package is the checksum of the upgrade file (occupying 4

bytes), which is the sum of all bytes of the upgrade file. When the peripheral device

receives all the upgrade files and verifies that the checksum is correct, it confirms to

the terminal that the reception is complete, starts the upgrade and replies. After the

upgrade is completed, the device parameters should remain unchanged.

c) To upgrade (peripheral) reply data content, see Table 5 -31:

Response content: 0x00 —— success ; 0x01 —— failure .

Table 5 -314 Upgrade command peripheral response data format

Peripheral Function Data Area


number code
When the message ID is 0x 03, the data area
content is: total number of packets (2 bytes) +
SeeTable 5 - Message ID ( 1 packet sequence number (bytes) + response
0x33
18 byte) content (1 byte)
When the message ID is not 0x03, the data area
content is: response content (1 byte)

5.6 Parameter setting query command

5.6.1 Query active safety assistance system parameter command

Function code: 0x34

The terminal query active safety assistance system parameter command format

is shown in Table 5 -32.

Table 5 -325 Query active safety assistance system parameter format definition

Peripher Functi Data Area


al on
number code
0x64 0x34 null
After receiving the instruction, the peripheral should Table 5 -32respond

according to the instruction content . The specific response data format is defined in

Table 5.1.6 -33.

41
T/JSATL 12 —2017

Table 5.1.6 -33parameter command format definition

Peripher Functi Data Area


al on
number code
0x64 0x34 SeeTable 5.1.7 -34

Table 5.1.7 -34safety assistance system parameter format definition

Start Byte Fields Data Types Description and Instructions


The unit is km/h, the value range is 0~60,
and the default value is 30 , which means
that the alarm function is enabled only when
Alarm enable the vehicle speed is higher than this
0 speed BYTE threshold. It is only applicable to road
threshold departure alarm, forward collision alarm ,
close distance alarm and frequent lane
change alarm.
0xFF means do not modify this parameter
0~8, 8 is the maximum, 0 is silent , the
1 Alarm volume BYTE default value is 6,
0xFF means no modification of parameters
0x00: Disable
0x01: Timed photo taking
Active photo
0x02: Take photos at a fixed distance
2 taking BYTE
0x03: Reserved
strategy
The default value is 0x00 .
0xFF means no modification of parameters
The unit is seconds, the value range is
Automatic
0~3600, and the default value is 1800
timing photo
3 WORD 0 means no snapshot, 0xFFFF means no
taking time
parameter modification
interval
Active photo strategy is effective when 01
Unit: meter, value range: 0~60000, default
Automatic value: 100
fixed distance 0 means no snapshot, 0xFFFF means no
5 WORD
shooting parameter modification .
distance Active photo-taking strategy is effective when
it is 02 .
Number of
photos taken The value range is 1-10. The default is 3
7 BYTE
automatically 0xFF means do not modify the parameter .
at a time

42
T/JSATL 12 —2017

Single active Unit: 100ms , value range: 1~5, default


8 photo taking BYTE value: 2
time interval 0xFF means do not modify the parameter .
0x01: 352×288
0x02:704×288
0x03:704×576
0x04 : 640 × 480
Photo 0x05 : 1280 × 720
9 BYTE
resolution 0x06: 1920×1080
The default value is 0x01 .
0xFF means no modification of parameters .
This parameter also applies to the alarm
trigger photo resolution .
0x01: CIF
0x02: HD1
0x03: D1
0x04: WD1
Video 0x05 : VGA
10 recording BYTE 0x06: 720P
resolution 0x07: 1080P
Default value 0x 01
0xFF means do not modify the parameter
This parameter also applies to the alarm
trigger photo resolution .
Reserved for future expansion, used to
Reserved
11 BYTE[ 9 ] configure parameters for non-individual alarm
fields
types
Obstacle Unit: 100ms, value range: 10-50, default
warning value: 30
20 BYTE
distance 0xFF means do not modify the parameter
threshold
Video Unit: seconds, value range: 0-60, default
recording time value: 5
twenty one before and BYTE 0 means no recording, 0xFF means no
after obstacle parameter modification
alarm
The value range is 0-10, and the default value
Obstacle is 3
twenty two BYTE
alarm photos 0 means no snapshot, 0xFF means no
parameter modification
twenty three Obstacle BYTE Unit: 100ms , value range: 1~10, default
alarm photo value: 2
taking interval 0xFF means no modification of parameters

43
T/JSATL 12 —2017

Frequent lane The unit is seconds, the value range is


change alarm 30~120, and the default value is 60
twenty four BYTE
judgment time 0xFF means do not modify the parameter
period
Frequent lane Lane change times 3~10, default value 5
change alarm 0xFF means do not modify the parameter
25 BYTE
judgment
times
Video Unit: seconds, value range: 0-60, default
recording time value: 5
before and 0 means no recording, 0xFF means no
26 BYTE
after frequent parameter modification
lane change
alarm
Frequent lane The value range is 0-10, and the default value
change is 3
27 BYTE
warning 0 means no snapshot, 0xFF means no
photos parameter modification
Frequent lane
change
Unit: 100ms , value range: 1~10, default: 2
28 warning and BYTE
0xFF means no modification of parameters
photo taking
interval
Video The unit is seconds, the value range is 0-60,
recording time and the default value is 5
before and 0 means no recording, 0xFF means no
29 BYTE
after lane parameter modification
departure
warning
Lane The value range is 0-10, and the default value
departure is 3
30 BYTE
warning 0 means no snapshot, 0xFF means no
photos modification
Lane
Unit: 100ms , value range: 1~10, default
departure
31 BYTE value: 2
warning photo
0xFF means no modification of parameters
interval
Forward The unit is 100ms, the value range is 10~50,
collision and the national standard 27 is currently
32 BYTE
warning time used. The modification interface is reserved
threshold and is not modified in actual use.
33 Video BYTE Unit: seconds, value range: 0-60, default
recording time value: 5

44
T/JSATL 12 —2017

before and 0 means no recording, 0xFF means no


after forward parameter modification
collision
warning
Number of The value range is 0-10, and the default value
photos taken is 3
34 by forward BYTE 0 means no snapshot, 0xFF means no
collision modification
warning
Forward
Unit: 100ms , value range: 1~10, default
collision
35 BYTE value: 2
warning photo
0xFF means no modification of parameters
taking interval
Pedestrian Unit: 100ms, value range: 10-50, default
collision value: 30
36 BYTE
warning time
threshold
Video The unit is seconds, the value range is 0-60,
recording time and the default value is 5
before and 0 means no recording, 0xFF means no
37 BYTE
after parameter modification
pedestrian
collision alarm
Number of The value range is 0-10, and the default value
photos taken is 3
38 BYTE
by pedestrian 0 means no snapshot, 0xFF means no
collision alarm modification
Pedestrian
Unit: 100ms , value range: 1~10, default
collision alarm
39 BYTE value 2
photo taking
0xFF means no modification of parameters
interval
Distance Unit: 100ms, value range: 10-50, default
monitoring value: 30
40 BYTE
alarm 0xFF means do not modify the parameter
threshold
Video Unit: seconds, value range: 0-60, default
recording time value: 5
before and 0 means no recording, 0xFF means no
41 after the BYTE parameter modification
vehicle too
close distance
alarm
42 photos taken BYTE The value range is 0-10, and the default value

45
T/JSATL 12 —2017

when the is 3
vehicle is too 0 means no snapshot, 0xFF means no
close to the parameter modification
vehicle
Too close Unit: 100ms , value range: 1~10, default: 2
distance alarm 0xFF means no modification of parameters
43 BYTE
photo taking
interval
Number of The value range is 0-10, and the default value
photos taken is 3
44 BYTE
for road sign 0 means no snapshot, 0xFF means no
recognition parameter modification
Road sign BYTE Unit: 100ms , value range: 1~10, default: 2
45 recognition 0xFF means no modification of parameters
photo interval
Reserved
46 BYTE[4]
Fields

5.6.2 Query driver behavior detection system parameter command

Function code: 0x34

The terminal query driver behavior detection system parameter instruction

format is shown in Table 5 -35.

Table 5 -358 Query driver behavior detection system parameter format definition

Peripher Functi Data Area


al on
number code
0x65 0x34 none
After receiving the terminal command, the peripheral device should Table 5 -

35respond according to the command content . The specific response data format is

defined in Table 5 -.

Table 5 -19 Response parameter command format definition

Peripher Functi Data Area


al on
number code
0x65 0x34 SeeTable 5 -36

46
T/JSATL 12 —2017

Table 5 -360 Driver behavior detection system parameter format definition

Start Byte Fields Data Types Description and Instructions


The unit is km/h, the value range is 0~60,
Alarm enable and the default value is 30. It means that the
0 speed BYTE alarm function is enabled only when the
threshold vehicle speed is higher than this threshold .
0xFF means do not modify this parameter
0~8, 8 is the maximum, 0 is silent , the
1 Alarm volume BYTE default value is 6
0xFF means no modification of parameters
0x00: Disable
0x01: Timed photo taking
0x02: Take photos at a fixed distance
Active photo
0x 03 : Card insertion trigger
2 taking BYTE
0x04: Reserved
strategy
The default value is 0x00 .
0xFF means that the parameter is not
modified .
The unit is seconds, the value range is
Automatic 0~60000, and the default value is 3600
timing photo 0 means no snapshot, 0xFFFF means no
3 WORD
taking time parameter modification
interval Active photo-taking strategy is effective when
it is 01 .
Unit: meter, value range: 0~60000, default
Automatic value: 200
fixed distance 0 means no snapshot, 0xFFFF means no
5 WORD
shooting parameter modification
distance Active photo-taking strategy is effective when
it is 02 .
Number of The value range is 1-10. The default is 3
7 photos taken BYTE 0xFF means that the parameter is not
each time modified .
The interval Unit: 100ms , value range: 1~5, default
between each value: 2
8 BYTE
active photo 0xFF means that the parameter is not
taking modified .
9 Photo BYTE 0x01: 352×288
resolution 0x02:704×288
0x03:704×576
0x04 : 640 × 480
0x05 : 1280 × 720

47
T/JSATL 12 —2017

0x06: 1920×1080
The default value is 0x01.
0xFF means no modification of parameters .
This parameter also applies to the alarm
trigger photo resolution .
0x01: CIF
0x02: HD1
0x03: D1
0x04: WD1
Video
0x05: 720P
10 recording BYTE
0x06: 1080P
resolution
Default value 0x 01
0xFF means do not modify the parameter
This parameter also applies to alarm trigger
video resolution .
Reserved for future expansion and used to
Reserved
11 BYTE[10] configure parameters for non-individual alarm
fields
types
The unit is seconds , and the value range is 0
Smoking
~ 3600. The default value is 180. It means
alarm
twenty one WORD that the smoking alarm is triggered only once
judgment time
within this time interval.
interval
0xFFFF means do not modify this parameter
Time interval The unit is seconds , and the value range is 0
for judging ~ 3600. The default value is 1 2 0. It means
twenty three alarm when WORD that only one incoming or outgoing call alarm
receiving or is triggered within this time interval.
calling 0xFFFF means do not modify this parameter
Video Unit: seconds, value range: 0-60, default
recording time value: 5
25 before and BYTE 0 means no recording, 0xFF means no
after fatigue parameter modification
driving alarm
Number of The value range is 0-10, and the default value
photos taken is 3
26 BYTE
for fatigue 0 means no snapshot, 0xFF means no
driving alarm parameter modification
Fatigue driving Unit: 100ms . The value range is 1~5, and the
27 alarm photo BYTE default value is 2
taking interval 0xFF means no modification of parameters
28 Reserve BYTE Reserved fields
29 Video BYTE Unit: seconds, value range: 0-60, default
recording time value: 5

48
T/JSATL 12 —2017

before and 0 means no recording, 0xFF means no


after calling parameter modification
the police
Number of
photos of the
The value range is 1-10, and the default value
driver's facial
is 3
30 features taken BYTE
0 means no snapshot, 0xFF means no
when making
parameter modification
or receiving a
phone call
The interval
between
taking photos
Unit: 100ms . The value range is 1~5, and the
of the driver's
31 BYTE default value is 2
facial features
0xFF means no modification of parameters
when making
or receiving
calls
Video
Unit: seconds, value range: 0-60, default
recording time
value: 5
32 before and BYTE
0 means no recording, 0xFF means no
after the
parameter modification
smoking alarm
Number of
photos of the
The value range is 1-10, and the default value
driver's
is 3
33 complete BYTE
0 means no snapshot, 0xFF means no
facial features
parameter modification
taken by the
smoking alarm
The interval
time for the
smoking alarm
Unit: 100ms . The value range is 1~5, the
to take a
34 BYTE default is 2
photo of the
0xFFFF means no modification of parameters
driver's
complete
facial features
Video
Unit: seconds, value range: 0-60, default
recording time
value: 5
35 before and BYTE
0 means no recording, 0xFF means no
after the
parameter modification
alarm

49
T/JSATL 12 —2017

Number of
The value range is 1-10, and the default value
distracted
is 3
36 driving BYTE
0 means no snapshot, 0xFF means no
warning
parameter modification
photos
37 Distracted BYTE
driving Unit: 100ms . The value range is 1~5, and the
warning default value is 2
camera 0xFF means no modification of parameters
interval
Unit: seconds, value range: 0-60, default
Abnormal
value: 5
38 driving video BYTE
0 means no recording, 0xFF means no
recording time
parameter modification
39 Number of BYTE
The value range is 1-10, and the default value
photos
is 3
captured of
0 means no snapshot, 0xFF means no
abnormal
parameter modification
driving
Abnormal Unit: 100ms . The value range is 1~5, the
40 driving photo BYTE default is 2
taking interval 0xFF means no modification of parameters
Reserved
41 BYTE[2]
Fields

5.6.3 Query tire pressure monitoring system instructions

Function code: 0x34

The terminal query tire pressure monitoring system parameter command format

is shown in Table 5 -37.

Table 5 -371 Definition of the format for querying tire pressure monitoring system
parameters

Peripher Functi Data Area


al on
number code
0x66 0x34 null
receiving the terminal Table 5 -37command, the peripheral device should respond

according to the command content. The specific response data format definition is as

follows Table 5 -38.

50
T/JSATL 12 —2017

Table 5 -382 Response parameter command format definition

Peripher Functi Data Area


al on
number code
0x66 0x34 SeeTable 5 -39

Table 5 -393 Tire pressure monitoring system parameter format definition

Start Byte Fields Data Types Description and Instructions


Tire
Example: 195/65R15 91V 12 characters,
0 specifications BYTE[12]
expressed in ASCII . Default value is "900R20"
and models
0x00: kg/cm2
0x01: bar
Tire pressure 0x02: Kpa
12 WORD
unit 0x03: PSI
The default value is 0x03. 0xFFFF means no
modification of parameters
The unit is the same as the tire pressure unit ,
Normal tire
14 WORD the default value is 140
pressure
0xFFFF means no modification of parameters
Tire pressure Unit: % (percentage), value range: 0~100
imbalance (reaching the cold air pressure value), default
16 WORD
alarm value: 20
threshold 0xFFFF means no modification of parameters
Unit: % (percentage), value range: 0~100
Slow leak
(reaching the cold air pressure value), default
18 alarm WORD
value: 5
threshold
0xFFFF means no modification of parameters
Low pressure The unit is the same as the tire pressure unit ,
20 alarm WORD the default value is 110
threshold 0xFFFF means no modification of parameters
High pressure The unit is the same as the tire pressure unit ,
twenty two alarm WORD the default value is 189
threshold 0xFFFF means no modification of parameters
High
temperature Unit: Celsius , default value: 80
twenty four WORD
alarm 0xFFFF means no modification of parameters
threshold
The unit is % (percentage), the value range is
Voltage alarm
26 WORD 0~100, the default value is 10 ,
threshold
0xFFFF means no modification of parameters
28 Regular WORD The unit is seconds , the value range is 0~

51
T/JSATL 12 —2017

3600 , the default value is 60,


reporting
0 means no report, 0xFFFF means no
interval
parameter modification
Reserved
30 BYTE[6] Zero-fill reserved items
Items

5.6.4 Query the blind spot monitoring system instructions

Function code: 0x34

See the command format for querying blind spot monitoring system parameters

Table 5 -40.

Table 5 -404 Query blind spot monitoring system parameter format definition

Peripher Functi Data Area


al on
number code
0x67 0x34 null
receiving the instruction, the peripheral device Table 5 -40should respond

according to the instruction content. The specific response data format is defined in

Table 5 -41.

Table 5 -415 Response parameter command format definition

Peripher Functi Data Area


al on
number code
0x67 0x34 SeeTable 5 -42

Table 5 -426 Blind spot monitoring system parameter format definition

Start Byte Fields Data Types Description and Instructions


Rear approach The unit is seconds, the value range is 1~10 ,
0 warning time BYTE and the default value is 2
threshold 0xFF means no modification of parameters
Side rear The unit is seconds, the value range is 1~10 ,
approach and the default value is 2
1 BYTE
warning time 0xFF means no modification of parameters
threshold

52
T/JSATL 12 —2017

5.6.5 Advanced driver assistance system parameter setting command

Function code: 0x35

See Table 5 -43the terminal setting advanced driver assistance system parameter

command format .

Table 5 -437 Advanced driver assistance system parameter setting command format
definition

Peripher Functi Data Area


al on
number code
0x64 0x35 SeeTable 5.1.7 -34
receiving the instruction, the peripheral device Table 5 -43should respond

according to the instruction content. The specific response data format is defined in

Table 5 -44.

Table 5 -448 Response parameter command format definition

Peripher Functi Data Area


al on
number code
0x64 0x35 1 byte : 0 - success, 1 - failure

5.6.6 Set the driver status monitoring system parameter command

Function code: 0x35

The terminal setting driver status monitoring system parameter instruction

format is shown in Table 5 -.

Table 5 -29 Definition of the command format for setting the parameters of the driver
status monitoring system

Peripher Functi Data Area


al on
number code
0x65 0x35 See Table 5 -370
After receiving the instruction in Table 5-29, the peripheral should respond

according to the instruction content. The specific response data format is defined in

Table 5-30.

53
T/JSATL 12 —2017

Table 5 -450 Response parameter command format definition

Peripher Functi Data Area


al on
number code
0x65 0x35 1 byte : 0 - success, 1 - failure

5.6.7 Set tire pressure monitoring system parameters command

Function code: 0x35

The terminal setting tire pressure monitoring system parameter command format

is shown in Table 5-31.

Table 5.3.1 Definition of instruction format -46setting tire pressure monitoring system
parameters

Peripher Functi Data Area


al on
number code
0x66 0x35 See Table 5 -393
receiving the instruction, the peripheral device Table 5.3.1 Definition of

instruction format -46should respond according to the instruction content. The

specific response data format is defined in Table 5 -47.

Table 5 -472 Response parameter command format definition

Peripher Functi Data Area


al on
number code
0x66 0x35 1 byte : 0 - success, 1 - failure

5.6.8 Commands for setting blind spot monitoring system parameters

Function code: 0x35

See the command format for setting blind spot monitoring system parameters

Table 5.3.3 Definition of command format -48.

Table 5.3.3 Definition of command format -48setting blind spot monitoring system
parameters

Peripher Functi Data Area

54
T/JSATL 12 —2017

al on
number code
0x67 0x35 SeeTable 5 -42
After receiving the instruction, the peripheral device Table 5.3.3 Definition of

command format -48should respond according to the instruction content. The specific

response data format is defined in Table 5 -49.

Table 5 -494 Response parameter command format definition

Peripher Functi Data Area


al on
number code
0x64 0x35 1 byte: 0 - success, 1 - failure

5.7 Event and alarm commands

5.7.1Advanced driver assistance system warning instructions

Function code: 0x36

The format of events and alarm instructions uploaded by the Table 5 -

50advanced driver assistance system to the terminal is shown in the figure .

Table 5 -505 Event and alarm command format definition

Peripher Functi Data Area


al on
number code
0x64 0x36 SeeTable 5 -52
After receiving the command, the terminal Table 5 -50should respond according

to the command content. The specific response data format is defined in Table 5.3.6

Definition of event -51.

Table 5.3.6 Definition of event -51alarm response format

Peripher Functi Data Area


al on
number code
0x64 0x36 null

55
T/JSATL 12 —2017

Table 5 -527 Event and alarm content format definition

Start Byte Fields Data length Description and requirements


According to the alarm sequence, the count
0 Alarm ID DWORD
starts from 0 and accumulates in a cycle.
0x00: Not available
0x01: Start flag
0x02: End mark
This field is only applicable to alarms or events
4 Flag Status BYTE
with start and end marks. If the alarm type or
event type does not have start and end marks,
this bit is unavailable and can be filled with
0x00.
0x01: Forward collision warning
0x02: Lane departure warning
0x03: Vehicle distance too close alarm
0x04: Pedestrian collision alarm
Alarm/Event 0x05: Frequent lane change alarm
5 BYTE
Type 0x06: Road sign overrun alarm
0x07~0x0F: User-defined
0x10: Road sign recognition event
0x 11 : Active capture event
0x12~0x1F: User-defined
The unit is km/h , the range is 0~ 250 , and it is
Front vehicle
6 BYTE valid only when the alarm type is 0x01 and
speed
0x02.
Distance from
The unit is 100ms, the range is 0~ 100 , and it
the
7 BYTE is valid only when the alarm type is 0x01 ,
vehicle/pedestri
0x02 and 0x04.
an ahead
0x 01 : Left deviation
8 Deviation type BYTE 0x02: Right deviation
Only valid when the alarm type is 0x02
0x01: Speed limit sign
0x 02 : Height limit sign
Road sign
9 BYTE 0x 03 : Weight limit sign
recognition type
Only valid when the alarm type is 0x06 and
0x10.
Road sign
10 BYTE Data on recognized road signs .
recognition data
11 Speed BYTE Unit: Km/h . Range: 0~ 250
12 Elevation WORD Altitude, in meters (m)

56
T/JSATL 12 —2017

The latitude value in degrees is multiplied by


14 latitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
The latitude value in degrees is multiplied by
18 longitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
twenty two Date and Time BCD[6] YY-MM-DD-hh-mm-ss (GMT+8 time)
28 Vehicle status WORD See Table 5 -9
Total number of
alarm additional
30 BYTE
multimedia
information lists
Multimedia The format of the media information list is
31
message list shown in Table 5 -538

Table 5 -38 Media Information List Format Definition

Start Byte Fields Data length describe


0x00: Picture
Multimedia
0 BYTE 0x01: Audio
Type
0x02: Video
1 Multimedia ID DWORD >0

5.7.2 Driver status monitoring system warning instructions

Function code: 0x 36

the driver status monitoring system is shown in the figure Table 5 -.

Table 5 -39 Event and alarm command format definition

Peripher Functi Data Area


al on
number code
SeeTable
0x3 6 SeeTable 5 -
5 -18
After receiving the command, the terminal Table 5 -should respond according to

the command content. The specific response data format is defined in Table 5 -.

Table 5 -40 Event and alarm response format definition

Peripher Functi Data Area


al on

57
T/JSATL 12 —2017

number code
SeeTable
0x3 6 null
5 -18

Table 5 -41 Event and alarm content format definition

Start Byte Fields Data length Description and requirements


According to the alarm sequence, the count
0 Alarm ID DWORD
starts from 0 and accumulates in a cycle.
0x00: Not available
0x01: Start flag
0x02: End mark
This field is only applicable to alarms or events
4 Flag Status BYTE
with start and end marks. If the alarm type or
event type does not have start and end marks,
this bit is unavailable and can be filled with
0x00.
0x01 : Fatigue driving alarm
0x02 : Make a phone call to the police
0x03 : Smoking alarm
0x04 : Distracted driving alarm
Alarm/Event
5 BYTE 0x05 : Driver abnormal alarm
Type
0x06~0x0F: User-defined
0x 10: Actively capture events
0x 11: Driver change event
0x1 2 ~0x1F: User-defined
Indicates the fatigue degree, ranging from 1 to
10. The larger the value, the more serious the
6 Fatigue level BYTE
fatigue degree . It is only valid when the alarm
type is 0x 01 .
7 Reserve BYTE [4] Reserve
11 Speed BYTE Unit: Km/h . Range: 0~ 250
12 Elevation WORD Altitude, in meters (m)
The latitude value in degrees is multiplied by
14 latitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
The latitude value in degrees is multiplied by
18 longitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
twenty two Date and Time BCD[6] YY-MM-DD-hh-mm-ss (GMT+8 time)
28 Vehicle status WORD See Table 5 -9
30 Total number of BYTE

58
T/JSATL 12 —2017

alarm additional
multimedia
information lists
Multimedia
31 Media information list format seeTable 5 -54
message list

Table 5 -542 Media information list format definition

Start Byte Fields Data length describe


0x00: Picture
Multimedia
0 BYTE 0x01: Audio
Type
0x02: Video
1 Multimedia ID DWORD >0

5.7.3 TPMS Commands

Function code: 0x 36

The format of events and alarm instructions uploaded by the tire pressure

monitoring system to the terminal is shown in the figure Table 5 -55.

Table 5 -553 event and alarm command format definition

Peripher Functi
al on Data Area
number code
SeeTable
0x3 6 See Table 5 -565
5 -18
After receiving the instruction Table 5 -43 , the terminal should respond according

to the instruction content. The specific response data format is defined in Table 5 -4 .

Table 5 -44 Event and alarm response format definition

Peripher Functi Data Area


al on
number code
SeeTable
0x3 6 null
5 -18

Table 5 -45 Event and alarm content format definition

Start Byte Fields Data length Description and requirements


0 Alarm ID DWORD According to the alarm sequence, the count

59
T/JSATL 12 —2017

starts from 0 and accumulates in a cycle.


0x00: Not available
0x01: Start flag
0x02: End mark
This field is only applicable to alarms or events
4 Flag Status BYTE
with start and end marks. If the alarm type or
event type does not have start and end marks,
this bit is unavailable and can be filled with
0x00.
5 Speed BYTE Unit: Km/h . Range: 0~ 250
6 Elevation WORD Altitude, in meters (m)
The latitude value in degrees is multiplied by
8 latitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
The latitude value in degrees is multiplied by
12 longitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
16 Date and Time BCD[6] YY-MM-DD-hh-mm-ss (GMT+8 time)
twenty two Vehicle status WORD SeeTable 5 -25
Total number of
twenty four BYTE
alarm/event lists
Alarm/event
25 See Table 5-4 6
information list

Table 5 -46 Tire pressure monitoring alarm/event information list format

Start Byte Fields Data length describe


Alarm tire position number
(Starting from the left front wheel, the wheels
Tire pressure
0 BYTE are numbered in a Z-shape from 0 to 0. The
alarm location
numbers have nothing to do with whether
TPMS is installed.)
0 means no alarm, 1 means alarm
bit0 : Tire pressure ( regular reporting)
bit1 : Tire pressure too high alarm
bit2 : Low tire pressure alarm
Alarm/Event bit3 : Tire temperature too high alarm
1 WORD
Type bit4 : Sensor abnormality alarm
bit5 : Tire pressure imbalance alarm
bit6 : Slow leak alarm
bit7 : Low battery alarm
bit8 ~ bit15 : Reserved

60
T/JSATL 12 —2017

3 Tire pressure WORD Unit: Kpa


Tire Unit:℃
5 WORD
temperature
7 Battery level WORD unit %

5.7.4 Blind Spot Monitoring System Commands

Function code: 0x 36

See 7 for the format of events and alarm instructions uploaded to the terminal by

the blind spot monitoring system Table 5 -.

Table 5 -47 event and alarm command format definition

Peripher Functi Data Area


al on
number code
SeeTable
0x3 6 See Table 550 -579
5 -18
After receiving the instruction Table 5 -47 , the terminal should respond according

to the instruction content. The specific response data format is defined in Table 5 -8 .

Table 5 -48 Event and alarm response format definition

Peripher Functi Data Area


al on
number code
SeeTable
0x3 6 null
5 -18

Table 5 -49 event and alarm content format definition

Start Byte Fields Data length Description and requirements


0 Reserve BYTE Reserve
0x00: Not available
0x01: Start flag
0x02: End mark
This field is only applicable to alarms or events
4 Flag Status BYTE
with start and end marks. If the alarm type or
event type does not have start and end marks,
this bit is unavailable and can be filled with
0x00.
5 Alarm/Event BYTE 0x01 : Rear approach alarm

61
T/JSATL 12 —2017

0x02: Left rear approach alarm


Type
0x03: Right rear approach alarm
6 Speed BYTE Unit: Km/h . Range: 0~ 250
7 Elevation WORD Altitude, in meters (m)
The latitude value in degrees is multiplied by
9 latitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
The latitude value in degrees is multiplied by
13 longitude DWORD 10 to the sixth power, accurate to one millionth
of a degree
17 Date and Time BCD[6] YY-MM-DD-hh-mm-ss (GMT+8 time)
twenty three Vehicle status WORD SeeTable 5 -25

5.8 Peripheral working status instructions

5.8.1 Query peripheral working status command

Function code : 0x 37

The terminal requests the peripheral working status instruction format, see Table

550 -5750

Table 550 -57instruction format definition

Peripher Functi Data Area


al on
number code
SeeTable
0x37 null
5 -18
After receiving the instruction from terminal Table 5 -50 , the peripheral device should respond

according to the instruction content. The specific response data format definition is shown in

Table 5-51 .

Table 5 -51 Multimedia Instruction Format Definition

Peripher Functi Data Area


al on
number code
SeeTable
0x37 Working status , see Table 5-5 4
5 -18

62
T/JSATL 12 —2017

5.8.2 Peripheral upload working status command

Function code : 0x 38

The format of the peripheral upload working status command is shown in Table 5

-52

Table 5 -52 Peripheral upload working status command format

Peripher Functi
al on Data Area
number code
SeeTable
0x38 Working status , see Table 5-5 4
5 -18
After receiving the instruction in the peripheral table 5-52, the terminal should respond according to

the instruction content. The specific response data format definition is shown in Table 5-53 .

Table 5 -53 Peripheral upload working status command format

Peripher Functi
al on Data Area
number code
SeeTable
0x38 null
5 -18

Table 5 -54 peripheral working status

Start Byte Fields Data length Description and requirements


0x01: Normal operation
0x 02 : Standby state
0 Working status BYTE
0x03: Upgrade and maintenance
0x04: Device abnormality
Bitwise setting: 0 for no, 1 for yes
bit0: Camera abnormality
bit1: Main memory abnormality
bit2: Auxiliary memory abnormality
bit3: Infrared fill light abnormality
1 Alarm status DWORD bit4 : Speaker abnormality
bit5 : Battery abnormality
bit6 ~ bit9 : reserved
bit10 : Communication module abnormality
bit11 : Definition module exception
bit12~bit31: reserved

63
T/JSATL 12 —2017

5.9 Multimedia Commands

5.9.1 Request multimedia data command

Function code: 0x50

The terminal request multimedia data instruction format is shown in Table 5 -5.

Table 5 -55 Multimedia instruction format definition

Peripher Functi Data Area


al on
Message ID Multimedia ID
number code
SeeTable
0x 50 1 byte, see Table 5 -57 DWORD
5 -18
receiving the terminal table 5-55 instruction , -the peripheral device should respond

according to the instruction content. The specific response data format definition is shown in

Table 5-56 .

Table 5 -56 Multimedia command response format definition

Peripher Functi Data Area


al on
number code
SeeTable
0x 50 null
5 -18

Table 5 -57 Multimedia message ID definition table

Message definition Description and requirements


ID
After receiving the command, the peripheral device replies
0x00 Request image
the image data to the terminal
After receiving the command, the peripheral device replies
0x01 Request Audio
audio data to the terminal
After receiving the command, the peripheral device replies
0x02 Request Video
the video data (including audio data) to the terminal.

5.9.2 Transmit multimedia data instructions

Function code: 0x51

See 8 for the instruction format of peripheral transmission of multimedia data

64
T/JSATL 12 —2017

Table 5 -.

Table 5 -58 Transmit multimedia data instruction format definition

Peripheral Function Data Area


number code Message ID Multimedia ID Multimedia data formats
SeeTable 5 - 1 byte, see Table 5
0x51 DWORD See Table 5 -9
18 -57

Table 5 -59 Multimedia data format

Start Byte Fields Data length Description and requirements


Total number of multimedia data packets
Total number of
0 WORD The total number of packets is 0, indicating
packages
that there is no corresponding data
The current multimedia data packet sequence
2 Package number WORD number, the packet sequence number starts
from 0
It is recommended that the actual data per
4 Multimedia Data BYTE[n] packet does not exceed 1024 bytes. There is no
limit for network communication.
receiving Table 5 -the instruction 8, the terminal should reply with the response

result, see Table 5 -60 .

Table 5 -60 Receive multimedia data response format definition

Peripheral Function Data Area


number code Message ID Multimedia ID Response results
SeeTable 5 - 1 byte, see Table 5
0x51 DWORD See Table 5 -61
18 -57

Table 5 -61 Receive multimedia data response result format definition

Start Byte Fields Data length Description and requirements


Total number of multimedia data packets
Total number of
0 WORD The total number of packets is 0, indicating
packages
that there is no corresponding data
The current multimedia data packet sequence
2 Package number WORD number, the packet sequence number starts
from 0
0: Success
4 Response results BYTE
1: Failure

65
T/JSATL 12 —2017

5.10Take photo now command

Function code: 0x 5 2

The format of the command to take a photo immediately sent by the terminal is

shown in Table 5 -62 .

Table 5 -Definition of the format of the command for taking photos immediately sent
by the 62 terminal

Peripher Functi
al on Data Area
number code
SeeTable
0x 5 2 none
5 -18
receiving the immediate photo taking command, the peripheral device shall

respond according to the command content . The specific response data format is

defined in Table 5-63 -.

Table 5 -583 Peripheral control command response format definition

Peripher Functi Data Area


al on
number code
SeeTable 0: Success
0x 5 2
5 -18 1: Failure

After receiving the immediate photo-taking command , the peripheral device takes photos according to
the relevant parameters of the active photo-taking function . After the photo is taken , the active capture
event is reported .

66

You might also like