You are on page 1of 34

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

Communication Protocol for Chainway


GPS-Tracker CW-801B/701

Document Control Seal:


Version:

V1.3

Total Pages:
Released by:

Chainway ITS Co., Ltd.

Confidentiality Level:

Level 1

Created by:
Reviewed by:
Approved by:

Release Date: 2011-12-6

Table of Contents
1

Overview .................................................................................................................................. 4

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway
2

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

1.1
Version Update Description ................................................................................................................... 4
Message Description................................................................................................................. 4
2.1
Definition of Data Type ......................................................................................................................... 4
2.2
Message Format..................................................................................................................................... 5
2.3
Definition of Message Field .................................................................................................................. 6
2.3.1
Packet Header/Packet Trailer Flag Bit .............................................................. 6
2.3.2
Command Word ................................................................................................ 6
2.3.3
Terminal ID....................................................................................................... 9
2.3.4
Message SN/Time ............................................................................................. 9
2.3.5
Message Body................................................................................................... 9
2.3.6
Check Code..................................................................................................... 10
2.4
Message Sending Mode ....................................................................................................................... 10
Downlink Message ................................................................................................................. 10
3.1
Type A Message................................................................................................................................... 10
3.1.1
Alarm Configuration Message ........................................................................ 10
3.1.2
Red Alarm Message ........................................................................................ 11
3.1.3
Geo-Fence Alarm Setting................................................................................ 12
3.1.4
Enclosure Alarm Setting ................................................................................. 12
3.2
Type B Message................................................................................................................................... 13
3.2.1
Center Locating Message................................................................................ 13
3.2.2
Handshake Message Response ....................................................................... 14
3.2.3
Reading Parameter of Terminal ...................................................................... 14
3.2.4
Reading Status of Terminal............................................................................. 14
3.2.5
IP Address Setting........................................................................................... 15
3.2.6
Phone Number Setting .................................................................................... 15
3.2.7
Speed Limit Setting ........................................................................................ 16
3.2.8
Listen In .......................................................................................................... 16
3.2.9
Location Report Interval Setting (Car stopped) .............................................. 17
3.2.10 Set Restrict Dangerous Area of Vehicle .......................................................... 17
3.3
Type C Message................................................................................................................................... 18
3.3.1
Public Message to LCD .................................................................................. 18
3.3.2
Dispatching Message to LCD ......................................................................... 18
3.4
Type D Message................................................................................................................................... 19
3.4.1
Location Report Interval Setting (Car moving) .............................................. 19
3.4.2
Location Report Interval Setting (By distance) .............................................. 19
3.5
Type G Message................................................................................................................................... 20
3.5.1
Take Real-time Picture (701 only) .................................................................. 20
3.5.2
Send Route File to Terminal ........................................................................... 20
3.5.3
Collect Driving Data (701 only) ..................................................................... 21
3.5.4
Driving Data Package Confirmation (701 only) ............................................. 21
3.6
Type H Message................................................................................................................................... 22
3.6.1
Circuit Control Signal (I01) ............................................................................ 22
3.6.2
Fuel Control Signal (I02)................................................................................ 22
Uplink Message ...................................................................................................................... 23

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

4.1

Type A Message................................................................................................................................... 23
4.1.1
Yellow Alarm Message ................................................................................... 23
4.1.2
Red Alarm Message ........................................................................................ 24
4.2
Type B Message................................................................................................................................... 25
4.2.1
Handshake Message........................................................................................ 25
4.2.2
Response to Reading Terminal Parameters..................................................... 25
4.2.3
Response to Reading Operation State of Terminal ......................................... 27
4.2.4
Response to Roll Call Message....................................................................... 28
4.2.5
Terminal Registration Message....................................................................... 28
4.3
Type C Message................................................................................................................................... 29
4.3.1
Driver Login/Logout (701 only) ..................................................................... 29
4.4
Type D Message................................................................................................................................... 30
4.4.1
Location Report Message (Car moving - 801A)............................................. 30
4.4.2
Location Report Message (Car moving - 801B)............................................. 30
4.4.3
Break-point Location Report Message (CW-801B)........................................ 31
4.5
Type G Message................................................................................................................................... 31
4.5.1
Respond to Collect Driving Data (701 only) .................................................. 31
4.5.2
Failure Respond to Collect Driving Data (701 only) ...................................... 32
4.6
Type H Message................................................................................................................................... 32
4.6.1
Respond to Circuit Control (I01) .................................................................... 32
4.6.2
Respond to Fuel Control (I02) ........................................................................ 33
Appendix ................................................................................................................................ 33

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

1 Overview
This document specifies the communication protocol between the vehicle-mounted terminal and the
communication gateway of Shenzhen Chainway Intelligent Transportation System (ITS) Co., Ltd. The protocol
sets the messages from the monitoring center to the terminal to be downlink instructions, and the messages from
the terminal to the monitoring center to be uplink instructions. By default, the terminal works in the GPRS mode,
and transfers the messages between the terminal and the monitoring center through TCP/IP protocol. When getting
out of the GPRS signal coverage area, the terminal hands over to the SMS text mode automatically; when entering
the GPRS signal coverage area again, the terminal is re-connected to the monitoring center in the GPRS mode
automatically. In the two transfer modes, the message format is the same as message contents, but the data frame
format is different.

1.1 Version Update Description

2 Message Description
2.1 Definition of Data Type
Data type

Description

CHAR

Single ASCII code character

C_STRING

ASCII string. In case the string has a fixed length and the bits are not
enough to make the length, the binary space will be added to the right side
to make up the length (0x20H).
Exception exists if otherwise specified.

N_STRING

Digital string that contains 0..9. In case the string has a fixed length and the
bits are not enough to make the length, the ASCII code 0 will be added to
the left side to make up the length (0x30H).
Exception exists if otherwise specified.

H_STRING

Digital string that contains 0..F. In case the string has a fixed length and the
bits are not enough to make the length, the ASCII code 0 will be added to
the left side to make up the length (0x30H). Exception exists if otherwise
specified.

HEX_STRING

Hexadecimal string, e.g., 1 is expressed by 31.


In case the string has a fixed length and the bits are not enough to make the
length, the ASCII code 0 will be added to the left side to make up the
length (0x30H). Exception exists if otherwise specified.

BIN

Binary data

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

Data type
BYTE

Description
8-digit integer that contains no symbol, 0..255

2.2 Message Format


The messages between the vehicle and the gateway are transferred through data frames. A complete data frame
structure in the GPRS mode is defined in the following figure:
Packet
header
flag

Message SN/time

1 byte

12 bytes

Command word
4 bytes

Message body
N byte (N is not greater
than 2K)

Packet
trailer flag
1 byte

complete

data frame structure in the SMS mode is defined in the following figure:
Packet
header
flag

Message SN/time

1 byte

12 bytes

Terminal ID
Command word
4 bytes

15 bytes

Message body
N byte (In unicode, the
length is not greater than 70 characters. In other code modes, the
length is not greater than 140 characters)

Check bit

Packet
trailer flag

2 bytes

1 byte

Each
complete data switching frame must contain packet header flag, SN/Time, command word, message body and
packet trailer flag.

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

2.3 Definition of Message Field


2.3.1

Packet Header/Packet Trailer Flag Bit

A flag bit indicates the start or the end of a message frame. 0X2AH (i.e., character *) serves as a start indicator,
and 0X5EH (i.e., character ^) serves as an end indicator. When transferring binary data, in order to ensure
accuracy of data transfer, it is necessary to perform escape processing on the indicators that appear in the form of
bytes in the message except packet header, packet trailer and command word. In the current protocol, the escape
rules are not enabled, and the terminal program ignores the circumstance that special characters are contained in
the message contents. The monitoring center shall avoid special characters 0x2A (*), 0x5E (^), and 0x5C (\)
in the message contents.
The definition is as follows:
2AH7DH + 03H
5EH7DH + 02H
7DH7DH + 01H

2.3.2

Command Word

Length: 4 bytes, C_STRING character


Function: Define the type of payload information transferred by the data frame, which indicates the function of the
data. The message is defined in the following table:
Table 2 Message definition
Message
category

Message
subcategory

Message
SN#

Command description

00

Message of configuring alarm

01

Red alarm message

00

Rollcall message

01

Handshake signal message

03

Message of reading operation state


of terminal

04

Message of reading operation state


of terminal

06

Message of configuring IP address

07

Message of configuring center


number

11

Message of configuring phone


number

12

Set the maximum speed of vehicle

Remarks
Warning and
alarm
configuration
information
Terminal
parameter
information

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway
Message
category

www.chainwayits.com

Message
subcategory

Message
SN#

Tel: 86-755- 33633903 Fax:86-755- 33633934

Command description

14

Set the static back-transmission


interval of vehicle

15

Wiretap command

17

Read configuration of terminal


phone number

00

Public message

01

Scheduling information

03

Ordinary
Radio call contention message (taxi) communication
information
Radio call message (taxi)

04

Navigation message

00

Equi-time continuous
back-transmission setting

01

Equi-distance continuous
back-transmission setting

00

Response to uplink yellow alarm


message

01

Response to uplink red alarm


message

07

Response to passenger deal message


(taxi)

00

Circuit control signal

01

Fuel route control signal

02

One-Key Talk configuration


command

03

Read One-Key Talk configuration

00

Response to universal uplink result


resolution

01

Message of configuring alarm

02

Command of configuring terminal


functions

03

Command of configuring terminal


mode

04

Command of initializing terminal

02

Remarks

Vehicle
positioning
information

Response
message

F
G

Control signal

Extended
message

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway
Message
category

www.chainwayits.com

Message
subcategory

Up (uplink
message)

Message
SN#

Tel: 86-755- 33633903 Fax:86-755- 33633934

Command description

05

Command of configuring
vehicle-restricted area

00

Yellow alarm message

01

Red alarm message

00

Handshake signal message

02

Response to reading terminal


parameters

03

Response to reading operation state


of terminal

04

Rollcall message

05

Terminal registration message

00

Uplink information

07

Passenger deal message (taxi)

00

Equi-time continuous
back-transmission message

01

Equi-distance continuous
back-transmission message

02

Continuous back-transmission end


message

04

Transmit data from break point

00

Response to downlink alarm


configuration message

01

Response to downlink red alarm


message

04

Response to scheduling information

05

Response to reading configuration


of phone number

06

Response to configuration of phone


number

08

Response to equi-time
back-transmission setting
information

Remarks

Warning and
alarm
information

Information
related to
terminal state

Ordinary
communication
information

Vehicle
positioning
information

Response
message

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway
Message
category

www.chainwayits.com

Message
subcategory

Message
SN#
09

Tel: 86-755- 33633903 Fax:86-755- 33633934

Command description

Remarks

Response to equi-distance
back-transmission setting
information

10

Response to setting the static


back-transmission interval of
vehicle

20

Response to radio call contention


message (taxi)

21

Response to radio call message


(taxi)

23

Response to navigation message

00

Response to circuit control

01

Response to fuel route control

02

Response to One-Key Talk


configuration query

00

Response to universal downlink


resolution results

F
G

Response
control signal

Extended
message

# The message SN not defined is reserved for future extension of message.


# DX00 and UX00 can be sent anytime to handle emergencies that occur in the message resolution.

2.3.3
Length:
Function:

2.3.4

Terminal ID
Fixed 15 bytes, C_STRINGType.
This field is optional, and occurs only in the SMS data packet.

Message SN/Time

Length:
Fixed 12 bytes, C_STRINGType.
When the monitoring center sends a message that requires response, these 12 bytes represent the serial number
(SN) of the message. This SN shall be identical to the SN of the response message from the terminal. In other
circumstances, all these 12 bytes constitute the time chop field.

2.3.5
Length:
Function:

Message Body
Variable, 1024 bytes, possibly null.
Determine the subscriber data information under the corresponding command word.

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway
2.3.6

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

Check Code

Length:
2-byte, HEX_STRING Type, appearing on in SMS packet
Check algorithm: Check word exclusive of the packet header, exclusive-OR for all bytes

2.4 Message Sending Mode


Messages are sent primarily in the GPRS mode and secondarily in the SMS mode. When the GPRS mode fails,
the message will be sent again in the SMS mode. Since the terminal may work in the SMS mode, the monitoring
center shall also be capable of receiving and transmitting short messages. When sending an SMS packet, both the
monitoring center and the terminal must ensure the short message length not to be greater than 140 bytes, and one
message cannot be sent through more than one short message.

3 Downlink Message
Downlink means the message is sent from software center to terminal.

3.1 Type A Message


3.1.1

Alarm Configuration Message


DA00ZXX
DA00: Fixed keyword
Z: Alarm message code, 1 byte (hex), ASCII.
XX: Alarm content.
Alarm message code & content:
1:

Content

2: Enable circuit alarm.


3: Disable circuit alarm.
4: Enable power alarm.
5: Disable power alarm.
6: Enable voice communication.
7: Disable voice communication.
8: Enable SOS alarm.

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

9: Disable SOS alarm.


A: Set over speed alarm interval (A0009: hex, maximum 65635 seconds, set over speed alarm
interval to 9 seconds, when over speed for 9 seconds will cause alarm.)
B: Set stop & rest time interval (B0009_0003: hex, maximum 65635 seconds, after driving for 9
seconds, must rest for 3 seconds, if no rest, will cause alarm.)
C: Set route deviation alarm (C0009: hex, maximum 65635 seconds, when deviate from route
for 9 seconds, will cause alarm.)
D: Open area alarm
E: Close area alarm
Length

>=6 bytes, <=24 bytes


*040331141830DA00B0009_0003^

Example

This message means:


040331141830: The message is sent at 14:18:30 on 31-Mar-2004 local time. DA00: the message
type is downlink, it is alarm configuration message. B0009_0003: After driving for 9 seconds,
must rest for 3 seconds, if no rest, will cause alarm.

Response

Terminal must respond with UE00ZX...X, message content same as configuration message.

Note

LCD screen will display alarm type, & loud speaker will voice remind.

3.1.2

Red Alarm Message


DA01ZXX
DA01: Fixed keyword
Z: Alarm message code, 1 byte, ASCII.

Content
XX: Alarm content.
Alarm message code & content:
1: Over speed alarm. (Message code 1 is fixed, content can be changed)
Length

>=6 bytes, <=24 bytes


*040331141830DA011OverSpeedAlarm^

Example

Response

This message means:


040331141830: The message is sent at 14:18:30 on 31-Mar-2004 local time. DA01: the message
type is downlink, it is alarm configuration message. 1OverSpeedAlarm: After driving for 9
seconds, must rest for 3 seconds, if no rest, will cause alarm.
Terminal must respond with UE01ZX...X, message content same as configuration message.

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway
Note

3.1.3

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

LCD screen will display alarm type, & loud speaker will voice remind.

Geo-Fence Alarm Setting


DX08+B0+AreaID+AlarmType+AreaInfo
DX08: Fixed keyword
B0: Operation Code, value:
0: Add Geo-Fence Alarm
1: Query Geo-Fence Alarm
2: Delete Geo-Fence Alarm
Area ID: 10 bytes, N_STRING fixed length.

Content

Alarm Type: 1 byte, value:


0: In-Area Alarm
1: Out-Area Alarm
2: In-Out-Area Alarm
Area Info: Alarm Interval (3 bytes N_STRING, unit: second, default: 060)+ longitude northwest
+ latitude northwest + longitude southeast + latitude southeast (consist of 4 parts, each part 9
bytes N_STRING, if 9 bytes not full, fill with 0x30 on the left).
When alarm occurs, terminal sends UA00.

Length

68 bytes
*040331141830DX080AlarmID0010060129.1233,29.1232_127.1233,28.1232_130.1233,27.12
32_129.2233,29.3232^

Example

This message means:


040331141830: The message is sent at 14:18:30 on 31-Mar-2004 local time. DX08: the message
type is downlink, to set geo-fence alarm. 0: Add geo-fence alarm. AlarmID001: Alarm ID. 0:
In-area alarm. 060129.1233,29.1232_127.1233,28.1232_130.1233,27.1232_129.2233,29.3232:
Alarm interval is 60 seconds, alarm area location.

Response

Terminal responds with UX00, message content same as configuration message.

Note

You can add only one geo-fence alarm area for each terminal.

3.1.4
Content

Enclosure Alarm Setting


DX05+B0+AreaInfo

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

DX05: Command word. When drive-out enclosure area, will alarm.


B0: Operation Code, value:
0: Add Enclosure Alarm
1: Query Enclosure Alarm
2: Delete Enclosure Alarm
Area Info: Alarm Interval (3 bytes N_STRING, unit: second, default: 060)+ longitude northwest
+ latitude northwest + longitude southeast + latitude southeast (consist of 4 parts, each part 9
bytes N_STRING, if 9 bytes not full, fill with 0x30 on the left).
When alarm occurs, terminal sends UA00.
Length

72 bytes
*040331141830DX050060129.1233,29.1232_127.1233,28.1232_130.1233,27.1232_129.2233,2
9.3232^

Example

This message means:


040331141830: The message is sent at 14:18:30 on 31-Mar-2004 local time. DX05: the
message type is downlink, to set enclosure alarm. 0: Add enclosure alarm. 060129.1233,2
9.1232_127.1233,28.1232_130.1233,27.1232_129.2233,29.3232: Alarm interval is 60 second
s, alarm area location.

Response

Terminal responds with UX00, message content same as configuration message.

Note

This message is applicable to all terminals.

3.2 Type B Message


3.2.1

Center Locating Message

Content

DB00LOG

Length

7 Bytes
*040331141830DB00LOG^

Example

This message means: The message is sent at 14:18:30 on 2004-3-31, message type is downlink
message, and the message is a center locating message (asking for current location).

Response

The terminal responds with UB04.

Note

This message is applicable to all terminals.

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway
3.2.2

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

Handshake Message Response

Content

DB01HSO

Length

7 Bytes
*040331141830DB01HSO^

Example

This message means: The message is sent at 14:18:30 on 2004-Mar-31, the message type is
downlink handshake message. It is response message to UB00.

Response

No response is required.

Note

This message is applicable to all terminals.

3.2.3

Reading Parameter of Terminal

Content

DB03

Length

4 Bytes
*040331141830DB03 ^

Example

This message means: The message is sent at 14:18:30 on 2004-3-31, message type is downlink
message, for reading parameter configuration of terminal.
The terminal responds with UB02.

Response

Example:
*040331141830+UB02+terminal
ID_IP:port_0000_0000_0_0_1_0_0_28_0000_0000_0000_0000_0000_0000_0000_0000^

Note

3.2.4

This message is applicable to tracker terminals and navigation-type terminals. Need to know
terminal venders ID, firmware version, hardware version.

Reading Status of Terminal

Content

DB04

Length

4 Bytes
*040331141830DB04 ^

Example

This message means: The message is sent at 14:18:30 on 2004-3-31, message type is downlink
message, for reading status of terminal.
The terminal responds with UB03.

Response

Example:
*040331141830+UB03+Terminal
ID_IP:port_2008-04-20_2008-06-06_2008-06-06_xx-xx_00_00:00_LL_00_00^

Note

This message is applicable to tracker terminals and navigation-type terminals. Need to know
parameters of terminal.

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway
3.2.5

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

IP Address Setting
DB06LL

Content

DB06: Fixed keyword


LL: Center IP address & port. Format: IP:port. IP: 9-15 bytes, port: fixed 4 bytes.

Length

>=13 bytes, <=19 bytes


*040331141830DB06211.144.172.148:2000^

Example

This message means: 040331141830: The message is sent at 14:18:30, 2004-3-31; DB06:
the message type is downlink, for setting IP address & port; 211.144.172.148:2000: IP ad
dress: 211.144.172.148, port: 2000.

Response

No response is required.

Note

This message is applicable for all terminals.

3.2.6

Phone Number Setting


DB11ZZ_HH_FF_ CC_B1B1_B2B2
DB11: Fixed keyword
ZZ: Center number. >=3, <=15.
_: Fixed separator, 1 byte.
HH: Traffic department number. >=3, <=15.
FF: Branch number. >=3, <=15.
CC: Enterprise number. >=3, <=15.

Content

B1B1: Start number segment 1. >=3, <=15.


B2B2: End number segment 2. >=3, <=15.
Phone number can set maximum 6 numbers.
When terminal receive this command, if terminal already have that number, then replace the old
number; if terminal does not have that number, then add the number; if terminal already have that
number, & input is empty, then delete the old number. If user want to modify, delete or add
number, must configure through this command.

Length

>=79 Bytes

Example

*040331141830DB11Center:02389183666_TrafficDepartment:0237890123_Branch:1308688

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

6888_Enterprise:02386885777_StartNumber:13768326516_EndNumber:13768321675^
This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31; DB1
1: the message type is downlink, to set phone number. Center number: 02389183666. T
raffic department number: 0237890123. Branch number: 13086886888. Enterprise nu
mber: 02386885777.
ATTN: If numbers less then 6, must keep the _ separator.
Response

The terminal responds with UE06.

Note

This message is applicable for all terminals.

3.2.7

Speed Limit Setting


DB12XXXX

Content

DB12: Fixed keyword


XXXX: Maximum speed limit (kilometer/h)

Length

Flexible
*040331141830DB120120^

Example

This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31; DB1
2: the message type is downlink, to set maximum speed limit. Speed limit: 120km/h.

Response

No response is required.

Note

This message is applicable for all terminals.

3.2.8

Listen In
DB15XX

Content

DB15: Fixed keyword


XX: Listen in number

Length

Flexible
*040331141830DB1500918197997848^

Example

This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31; DB1
5: the message type is downlink, to start terminal listen in. 00918197997848: Listen in n
umber is 00918197997848.

Response

The terminal responds with UB06.

Note

This message is applicable for all terminals.

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway
3.2.9

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

Location Report Interval Setting (Car stopped)


DB14XXXX

Content

DB14: Fixed keyword


XXXX: Time interval (s), H_STRING 4-byte fixed length, max. 65535s.

Length

Flexible
*040331141830DB1401F4^

Example

Response
Note

This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31; DB14: the
message type is downlink, to set interval for reporting location data when terminal is static
(speed less then 3 km/h). 01F4: (hex) Static back-transmission interval is 500s.
The terminal responds with UE10.
Example: *040331141830UE1001F4^
This message is applicable to all terminals.

3.2.10 Set Restrict Dangerous Area of Vehicle


DB09XZ.Z_YYMMDDHH _AA:AA,BB:BB _LL
DB09: Fixed keyword
X: 1 Byte. Value: 0, 1, 2.
0: Add restrict area
1: Delete restrict area
2: Modify restrict area
Content

Z.Z: Restrict area number. 10 Bytes.


YYMMDDHH: Valid time of restrict area. YY: Year, MM: Month, DD: Day, HH: hour.
00000000 mean the restrict area is valid forever.
AA:AA,BB:BB: Time period that allows to go out restrict area. When cause alarm, will generate
3 alarm messages maximum.
LL: Restrict area location (Rectangle area). 4 groups of latitude, longitude.

Length

30 Bytes
*040331141830DB0902007060509_07060700_00:00,23:00_129.1233,29.1232_127.1233,28.12
32_130.1233,27.1232_129.2233,29.3232^

Example

This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31; DB0
9: the message type is downlink, to set restrict area of vehicle. 0: Add restrict area. 200
7060509: Restrict area number. 07060700: Restrict area is valid until 2007-Jun-07, 00. 0

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

0:00,23:00: From 00:00 to 23:00, vehicle can go out restrict area. 129.1233,29.1232_127.
1233,28.1232_130.1233,27.1232_129.2233,29.3232: Restrict area location.
Response
Note

The terminal responds with UE22.


Example: *070321152847UE2220070605^
This message is applicable for taxi terminals, in terminal flash can have only 1 restrict area.

3.3 Type C Message


3.3.1

Public Message to LCD


DC00XX

Content

DC00: Fixed keyword


XX: Public message. Weather, route, advertisementetc.

Length

<=100 Bytes
*040331141830DC00Today is sunny^

Example

This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31; DC00: the
message type is downlink, to send public message to LCD. Today is sunny: Text message.

Response

No response is required.

Note

This message is applicable to all terminals. When terminal received message, display on LCD.

3.3.2

Dispatching Message to LCD


DC01YYXX
DC01: Fixed keyword

Content

YY: Message number. Fixed 20 Bytes.


XX: Dispatch message. Weather, route, advertisementetc.

Length

<=100 Bytes
*040331141830DC01120060608090102001101Need your vehicle, HF street^

Example

This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31; DC01: The
message type is downlink, to send dispatch message to LCD. 120060608090102001101:
Dispatch message number. Need your vehicle, HF street: Text message.

Response

The terminal responds with UE04.

Note

This message is applicable to all terminals. When terminal received message, display on LCD.

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

3.4 Type D Message


3.4.1

Location Report Interval Setting (Car moving)


DD00XXXXYYZZ
DD00: Fixed keyword (command word)
XXXX: Time interval of continuous data-transmitted messages. Unit: Second, total 4 bytes,
H_STRING, max. 65535s. In case XXXX = 0, continuous data transmission is stopped.

Content

YYZZ: Total time of data-transmission, unit: YY: hour, ZZ: minute. Total 4 bytes, H_STRING,
max. FFFF, i.e., 255 hours and 255 minutes. In case YYZZ = 0, data is transmitted back
continuously at the time interval (none-stop).
When neither XXXX nor YYZZ is 0, the message is transmitted back continuously at the time
interval until the total duration is reached.

Length

12 Bytes
*040331141830DD0000050014^

Example

This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31. DD00: the
message type is downlink, to set interval of reporting location data when car is moving (speed
more then 3 km/h). 0005: (hex) data is transmitted back every 5 seconds. 0014: (hex) The total
duration of back-transmission is 20 minutes.

Response

The terminal responds with UE08.


Example: *040331141830UE0800050014^

Note

If the time interval is set less than the minimum time interval (default 5 second, set by
manufacturer), the data will be transmitted back at the minimum time interval. Otherwise, it will
be transmitted back at the set time interval.

3.4.2

Location Report Interval Setting (By distance)


DD01XXXXYYYY
DD01: Fixed keyword (command word)
XXXX: Distance between data-transmitted messages. Unit: meter, total 4 bytes, hex string, max.
65535m. In case XXXX = 0, distance data transmission is stopped.

Content

YYYY: Total distance of data-transmission, unit: km, total 4 bytes, hex string, will /10 then send
command. Max 65535/10=6553.5km, i.e., 0011, it will be 17/10 = 1.7km. In case YYYY
= 0, data is transmitted back continuously by distance (none-stop).
When neither XXXX nor YYYY is 0, the message is transmitted back continuously by the
distance interval until the total distance is reached.

Length

12 Bytes

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

*040331141830DD0102000014^
Example

This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31. DD00: the
message type is downlink, to set interval of reporting location data when car is moving (speed
more then 3 km/h). 0200: (hex) data is transmitted back every 512 meters. 0200: (hex) The total
distance of back-transmission is 51.2 km.

Response

The terminal responds with UE09.


Example: *040331141830UE0900050014^

Note

This message is applicable to terminals.

3.5 Type G Message


3.5.1

Take Real-time Picture (701 only)


DG00XXYYZZ
DG00: Fixed keyword
XX: Number of pictures, range: 01-FF, ASCII code.
YY: Interval of taking picture, range: 0A-FF seconds, ASCII code.

Content

ZZ: Size of picture, range: 00-03, 16, ASCII code.


00: 320*240, black-white picture
01: 320*240, color picture
02: 640*480, black-white picture
03: 640*480, color picture

Length

>6<24 Bytes
*040331141830DG00011001^

Example

This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31; DG00: the
message type is downlink, for taking real-time picture. 01: (hex) Take one picture. 10: Interval of
taking picture is 16 seconds. 01: Color picture, size 320*240

Response

The terminal responds with UG00XXZ.Z. But no need to check if re-sends DG00XXYY.

Note

This message is applicable to terminals support camera.

3.5.2

Send Route File to Terminal


DG01XX_YY_PP_ZZ_FF_M..M

Content
DG01: Fixed keyword
Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway
Length

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

36 Bytes

Example
Response

The terminal responds with UG01.

Note

This message is applicable to all terminals.

3.5.3

Collect Driving Data (701 only)


DG03RecorderProtocolString
DG03: Fixed keyword.
RecorderProtocolString: 2~30 bytes, different string stands for different type of data collected.

Content

Recorder Command (2 bytes HEX_STRING) + Driving License (18 bytes C_STRING + Start
Time (5 bytes BCD) + End Time (5 bytes BCD). Please refer to <Driving Data Recorder
Communication Protocol>.

Length

19~47 Bytes
*040331141830DG0308000000000000000000^

Example

Response
Note

3.5.4

This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31; DG


03: the message type is downlink, to collect driving data of CW-701. 08: Recorder Com
mand, collect 2 days mileage data, 000000000000000000: Driving License, please refer to
<Driving Data Recorder Communication Protocol>.
*120328142325DG0305000000000000000000^
This message means: 05: Collect 15 days speed data.
The terminal responds with UG03 or UG04.
Example: *040331141830UG0308MileageDataPackage^
This message is applicable for driving data recorder CW-701 only, mileage & speed date get
from Odometer & save in Flash, the mileage signal line must be connected.

Driving Data Package Confirmation (701 only)


DG04XXYY
DG04: Fixed keyword.

Content

XX: Total package. Value: 01~99.


YY: Current package. Value: 01~99.

Length
Example

21 Bytes
*040331141830DG043302^
This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31; DG

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

04: the message type is downlink, to confirm data package received, inform terminal tota
l package & current package. 33: Total package is 33, 02: Current package is 2.
Response
Note

The terminal responds with next data package.


Example: *040331141830UG03330208NextMileageDataPackage^
This message is applicable for driving data recorder CW-701 only, mileage & speed date get
from Odometer & save in Flash, the mileage signal line must be connected.

3.6 Type H Message


3.6.1

Circuit Control Signal (I01)


DH00YY
DH00: Fixed keyword

Content

YY: Message SN, fixed 2 bytes


00: Off
01: On

Length

100 Bytes
*040331141830DH0000^ 00: output 1, 00: cirkuit off

Example

*040331141830DH0001^ 00: output 1, 01: cirkuit on


This message means: The message is sent at 14:18:30 on 2004-3-31, and the message type is
downlink circuit control signal.
The terminal responds with UH00.

Response

Example:
*040331141830DH0000^ *040331141830UH0000^
*040331141830DH0001^ *040331141830UH0001^

Note

3.6.2

This message is applicable to terminals with relay.

Fuel Control Signal (I02)


DH01YY
DH01: Fixed keyword

Content

YY: Message SN, fixed 2 bytes


00: Off
01: On

Length

100 Bytes

Example

*040331141830DH0100^ 01: output 2, 00: fuel disconnect

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

*040331141830DH0101^ 01: output 2, 01: fuel connect


This message means: The message is sent at 14:18:30 on 2004-3-31, and the message type is
downlink fuel control signal.
The terminal responds with UH01.
Response

Example:
*040331141830DH0100^ *040331141830UH0100^
*040331141830DH0101^ *040331141830UH0101^

Note

This message is applicable to terminals with relay.

4 Uplink Message
Uplink means the message is sent from terminal to software center.

4.1 Type A Message


4.1.1

Yellow Alarm Message


UA00XZZ+GPS data
UA00: Fixed keyword
X: Alarm message code, 1 byte (hex).
ZZ: Alarm content.
Alarm message code & content:
1: Over speed alarm. ZZ: Road name_Over speed time(s)_Speed limit_Current Speed_Over
speed mileage(m).

Content

2: Enter station remind. ZZ: Road name_Station name.


3: Leave station remind. ZZ: Road name_Station name.
4: No-arrive station alarm. ZZ: Road name_Station name.
5: Rest overtime. ZZ: Road name_Continuous driving time(s)_Rest time(s).
6: Driving overtime. ZZ: Road name_Allowed driving time(s).
7: Dangerous area. ZZ: Road name_Dangerous area name_longitude northwest_ latitude
northwest_ longitude southeast_ latitude southeast.
8: Departure route. ZZ: Road name_Departure_time(s).

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

9: Insufficiency rest time. ZZ: Road name_Rest point name_Minimum rest time(s).
A: Geo-fence alarm. ZZ: Area ID.
B: Electronic enclosure alarm: ZZ: area info (same as DX05s area info).
GPS data: Please refer to location report.
Length

<100 Bytes
*040331141830UA001000000_009_020_052_133141830A2214.5914N11432.5614E000.0040
331309.6210000000L001200^

Example

This message means:


040331141830: The message is sent at 14:18:30 on 31-Mar-2004 local time. UA00: the message
type is uplink, it is yellow alarm message. 1: Alarm type is over speed alarm.
000000_009_020_052_133: Road name: 000000, over speed time: 9 seconds, over speed limit:
20km/h, current speed: 52km/h, over speed mileage: 133 meters. 141830: GMT standard time is
14:18:30. A: Location data is valid (V: invalid). 2214.5914N11432.5614E: latitude & longitude.
000.0: Speed is 000.0. 040331: GMT standard date is 2004 (year), 03 (month), 31 (day). 309.62:
Direction is 309.62 degree departure from North. 10000000: stands for 8 input status. First bit:
main power, second bit: ACC state, third bit: empty/full load, forth bit: door open/close.
L001200: Mileage is 1200m.
Center responses with DE00X:

Response

Example:
*040331141830DE001^
When terminal receive this message, over speed alram stops.

Note

4.1.2

This message is applicable to tracker terminals and navigation-type terminals.

Red Alarm Message


UA01XZZ+GPS data
UA01: Fixed keyword
X: Alarm message code, 1 byte (hex).
ZZ: Alarm content.
Alarm message code & content:

Content
0: Vehicle power off (Send one time only, center reply automatically).
1: Accident. (Sending frequency: 3 seconds. After receive response from center, stop sending. If
no response received, then sending 8 times & stopped).
2: SOS Alarm. (Sending frequency: 3 seconds. After receive response from center, stop sending.
If no response received, then sending 8 times & stopped).
Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

3: Vehicle Alarm. (Sending frequency: 3 seconds. After receive response from center, stop
sending. If no response received, then sending 8 times & stopped).
GPS data: Please refer to location report.
Length

50 Bytes
*040331141830UA012141830A2214.5914N11432.5614E000.0040331309.6210000000L00120
0^

Example

This message means:


040331141830: The message is sent at 14:18:30 on 31-Mar-2004 local time. UA01: the message
type is uplink, it is red alarm message. 2: Alarm type is SOS Alarm. 141830: GMT standard time
is 14:18:30. A: Location data is valid (V: invalid). 2214.5914N11432.5614E: latitude &
longitude. 000.0: Speed is 000.0. 040331: GMT standard date is 2004 (year), 03 (month), 31
(day). 309.62: Direction is 309.62 degree departure from North. 10000000: stands for 8 input
status. First bit: main power, second bit: ACC state, third bit: empty/full load, forth bit: door
open/close. L001200: Mileage is 1200m.
Center responses with DE01X:

Response

Example:
*040331141830DE012^
When terminal receive this message, SOS alram stops.

Note

This message is applicable to tracker terminals and navigation-type terminals.

4.2 Type B Message


4.2.1

Handshake Message

Content

UB00HSO

Length

7 Bytes
*040331141830UB00HSO^

Example

This message means: The message is sent at 14:18:30 on 2004-Mar-31, the message type is
uplink handshake message.
The center responds with DB01.

Response

Example:
*040331141830DB01HSO^

Note

4.2.2
Content

This message is applicable to all terminals.

Response to Reading Terminal Parameters


UB02X..X_I..I_LL_MM_AA_BB_CC_DD_EE_UU_VV_HHHH_IIII_JJJJ_

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

RRRR_SSSS_TTTT_UUUU
UB02:

Fixed keyword.

_:

Fixed delimiter, 1 byte.

X..X:

Terminal ID.

_:

Fixed delimiter, 1 byte.

I..I:

IP address and port number. Format: IP address: Port number, of which 14 the length
20 bytes.

_:

Fixed delimiter, 1 byte.

LL:

Active SMS number

_:

Fixed delimiter, 1 byte.

MM: Standby SMS number


_:

Fixed delimiter, 1 byte.

AA:

Road alarm state. 1: Enable; 0: Disable

_:

Fixed delimiter, 1 byte.

BB:

Power failure alarm state. 1: Enable; 0: Disable

_:

Fixed delimiter, 1 byte.

CC:

Hijack alarm state. 1: Enable; 0: Disable

_:

Fixed delimiter. 1 byte.

DD:

Talk state. 1: Enable; 0: Disable

_:

Fixed delimiter, 1 byte.

EE:

Alarm voice state. 0: Ordinary; 1: Voice

_:

Fixed delimiter, 1 byte.

UU:

Shortest time interval of equi-time back-transmission in the data mode, composed of 4


bytes, hexadecimal, measured in seconds.

_:

Fixed delimiter, 1 byte.

VV:

Shortest time interval of equi-time back-transmission in the SMS mode, composed of 4


bytes, hexadecimal, measured in seconds.

_:

Fixed delimiter, 1 byte.

HHHH: Shortest distance interval of equi-distance back-transmission in the data mode, composed
of 2 bytes, hexadecimal, measured in meters.
_:

Fixed delimiter, 1 byte.

IIII:

Shortest distance interval of equi-distance back-transmission in the SMS mode,


composed of 2 bytes, hexadecimal, measured in meters.

_:

Fixed delimiter, 1 byte.

JJJJ:

Zero point back-transmission interval. composed of 4 bytes, hexadecimal, measured in


seconds.

_:

Fixed delimiter, 1 byte.

RRRR: Over speed delay interval, composed of 4 bytes, hexadecimal, measured in seconds.
_:

Fixed delimiter, 1 byte.

SSSS:

Route deviation back-transmission interval, composed of 4 bytes, hexadecimal,

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

measured in seconds.
_:

Fixed delimiter, 1 byte.

TTTT:

Maximum travel time interval, composed of 4 bytes, hexadecimal, measured in seconds.

_:

Fixed delimiter, 1 byte.

UUUU: Rest time interval, composed of 4 bytes, hexadecimal, measured in seconds.


Length

<=150 Bytes
*040331141830UB02CW9999C99999998_211.144.172.148:2000_1234_2345_0_1_0_1_1_05_
000A_000B_000C_FFFF_0009_0008_0006_0003^

Example

This message means: The message is sent at 14:18:30 on 2004-3-31, the message type is a uplink
response to reading terminal parameters. Terminal ID: CW9999C99999998; IP address and port
number: 211.144.172.148:2000; active SMS number: 1234; standby SMS number: 1234; route
alarm state: Disable; power failure alarm: Enable; hijack alarm: Disable; conversation state:
Active; alarm sound: Voice; shortest back-transmission time interval in data mode: (05) 5s;
shortest back-transmission time interval in the SMS mode: (0A) 10s; shortest back-transmission
distance interval in the data mode: (0B) 11m; shortest back-transmission distance interval in the
SMS mode: (0C) 12m; zero point back-transmission interval: (FFFF) 65535s; over speed delay
interval: 9s; route deviation travel back-transmission every 8 seconds; maximum operation time:
6s; compulsory time interval: 3s.

Response

No response is required.

Note

This message is applicable to all terminals.

4.2.3

Response to Reading Operation State of Terminal


UB03X..X_I..I_Y..Y_Z..Z_K..K_D..D_J..J _Z..Z_LL_MM_L..L
UB03: Fixed keyword.
The following contents are the manufacturer configuration data read from the flash:

Content

_:

Fixed delimiter, composed of 1 byte.

X..X:

Terminal ID.

I..I:

IP address and port number.

Y..Y:

Hardware version number.

Z..Z:

Software version number.

K..K:

Warning software version number.

H..H:

Route filename (empty. Avoid Chinese characters)

D..D:

Back-transmission interval.

J..J:

Operation time

LL: Mobile phone signal value


Length

<100 Bytes

Example

*040331141830UB03CW9999C99999998_220.292.10.29:8012_2004-06-07_2006-09-09_200609-10_ _20_23:25_12_03_80^

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

This message means: The message is sent at 14:18:30 on 2004-3-31, the message type is uplink
message, for reading operation state of terminal. Terminal ID: CW9999C99999998; IP:
220.292.10.29:8012; hardware version number: 2004-Jun-07; software version number:
2006-Sep-09; warning software: 2006-Sep-10; route file; data-transmission interval: 20s;
operation time: 23:25; mobile phone signal: 12; satellite signal: 04. Maximum speed limit: 80 km
Response

No response is required.

Note

This message is applicable to all terminals.

4.2.4

Response to Roll Call Message


UB04XXY+GPS data
UB04: Fixed keyword.
XX: Terminal ID, 8 bytes.
Y: 1 byte, range: 0, 1, 2, 3, 4, 5, 6.
0: Network provides no coverage or does not support dialing.

Content

1: Network dial-up succeeds, but cannot establish a SOCKET connection (Note: The current IP
address and port number should follow behind it).
2: No IP address exists, and an IP address should be configured.
3: Voice (SMS) state, which enables conversation.
4: Primary response to roll call at the center.
5: The GPS is faulty. No GPS data is reported when the GPS is faulty.
6: The GPS data is invalid. In this case, will not send GPS data.

Length

Flexible
*040331141830UB04CW9999C99999998141830A2214.5914N11432.5614E000.0040331309.6
210000000L001200^

Example

This message means: 040331141830: The message is sent at 14:18:30 on 2004-Mar-31. UB04:
The message type is uplink response to roll call message. CW9999C99999998: Terminal ID.
141830: GMT standard time is 14:18:30. A: Location data is valid (V: invalid).
2214.5914N11432.5614E: latitude & longitude. 000.0: Speed is 000.0. 040331: GMT standard
date is 2004 (year), 03 (month), 31 (day). 309.62: Direction is 309.62 degree departure from
North. 10000000: stands for 8 input status. First bit: main power, second bit: ACC state, third bit:
empty/full load, forth bit: door open/close. L001200: Mileage is 1200m.

Response

No response is required.

Note

This message is applicable to all terminals.

4.2.5
Content

Terminal Registration Message


UB05XXYYZZLMMGPS Data

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

UB05: Fixed keyword.


Following are terminal information read from Flash Rom.
XX: Vendor ID, 2 bytes, hex ASCII char, default value CW.
YY: Software version, 2 bytes, decimal digits.
ZZ: Hardware version, 2 bytes, decimal digits.
L: 1 byte ASCII char. Value: T, C. T: For R&D, test purpose; C: For commercial purpose.
MM: Terminal ID, 8 bytes ASCII char.
Length

64 Bytes
*040331141830UB05CW1010T01020001141830A2214.5914N11432.5614E000.0040331309.6
210000000L001200^

Example

This message means: 040331141830: The message is sent at 14:18:30 on 2004-Mar-31. UB05:
The message type is uplink registration message. CW: Vendor. 10: Software version 1.0. 10:
Hardware version 1.0. 01: Region code is 01. 02: Ship compand code is 02. 0001: Terminal ID.
141830: GMT standard time is 14:18:30. A: Location data is valid (V: invalid).
2214.5914N11432.5614E: latitude & longitude. 000.0: Speed is 000.0. 040331: GMT standard
date is 2004 (year), 03 (month), 31 (day). 309.62: Direction is 309.62 degree departure from
North. 10000000: stands for 8 input status. First bit: main power, second bit: ACC state, third bit:
empty/full load, forth bit: door open/close. L001200: Mileage is 1200m.
There are 3 types of register message:
*920123222825UB05CW0000C00000099101955V0405.2755N00946.4271E000.0100119000.0
0^
Not include I/O
*920123222825UB05CW0000C00000099101955V0405.2755N00946.4271E000.0100119000.0
010000000^
Include I/O
*920123222825UB05CW0000C00000099101955V0405.2755N00946.4271E000.0100119000.0
010000000L000100^
Include I/O & mileage info
Example:

Response

*040331141830DX061^ means effective


*040331141830DX010^ means failure

Note

This message is applicable to all terminals.

4.3 Type C Message


4.3.1

Driver Login/Logout (701 only)


UC06YXXXXXX

Content

UC06: Fixed keyword.


Y: 1 byte, range: 0, 1. Stand for driver login/logout.
XXXXXX: Driver code.

Length

Flexible

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

*040331141830UC061200123^
Example

This message means: 040331141830: The message is sent at 14:18:30 on 2004-Mar-31. UC06:
The message type is uplink message to report driver login/logout. 1: . 200123: Driver code.

Response

Center responds with DE06.

Note

This message is applicable to all terminals.

4.4 Type D Message


4.4.1

Location Report Message (Car moving - 801A)

Content

UD00+GPS data

Length

100 Bytes
*040331141830UD00141830A2214.5914N11432.5614E000.0040331000.0010000000L001200^

Example

This message means:


040331141830: The message is sent at 14:18:30 on 31-Mar-2004 local time. UD00: the message
type is uplink, it is automatic location data report when car is moving (speed more then 3 km/h).
141830: GMT standard time is 14:18:30. A: Location data is valid (V: invalid).
2214.5914N11432.5614E: latitude & longitude. 000.0: Speed is 000.0 km/h. 040331: GMT
standard date is 2004 (year), 03 (month), 31 (day). 000.00: Direction is 000.00 degree departure
from North. 10000000: stands for 8 input status. First bit: main power, second bit: ACC state,
third bit: empty/full load, forth bit: door open/close, other 4 bits: for CW-701 driving recorder.
L001200: Mileage is 1200m.

Response

No response is required.

Note

This message is applicable to cost-effective terminals and navigation-type terminals. After the
total back-transmission time is reached, the back-transmission will stop automatically, and the
back-transmission end message UD02 will sent to the center.

4.4.2

Location Report Message (Car moving - 801B)

Content

UD00+GPS data

Length

100 Bytes
*040331141830UD00141830A2214.5914N11432.5614E000.0040331000.0010000000L001200
O1123^

Example

This message means:


040331141830: The message is sent at 14:18:30 on 31-Mar-2004 local time. UD00: the message
type is uplink, it is automatic location data report when car is moving (speed more then 3 km/h).
141830: GMT standard time is 14:18:30. A: Location data is valid (V: invalid).
2214.5914N11432.5614E: latitude & longitude. 000.0: Speed is 000.0 km/h. 040331: GMT

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

standard date is 2004 (year), 03 (month), 31 (day). 000.00: Direction is 000.00 degree departure
from North. 10000000: stands for 8 input status. First byte: main power state, second byte: ACC
state, third byte: empty/full load, forth byte: door open/close, other 4 bytes: for CW-701 driving
recorder. L001200: Mileage is 1200m. O: Oil flag, fixed. 1123: Fuel sensor voltage is 11.23V.
Response

No response is required.

Note

This message is applicable to cost-effective terminals and navigation-type terminals. After the
total back-transmission time is reached, the back-transmission will stop automatically, and the
back-transmission end message UD02 will sent to the center.

4.4.3

Break-point Location Report Message (CW-801B)

Content

UD04+GPS data

Length

100 Bytes
*040331141830UD04141830A2214.5914N11432.5614E000.0040331000.0010000000L001200
O1234^

Example

This message means:


040331141830: The message is sent at 14:18:30 on 31-Mar-2004 local time. UD04: the message
type is uplink, it is break-point data. 141830: GMT standard time is 14:18:30. A: Location data is
valid (V: invalid). 2214.5914N11432.5614E: latitude & longitude. 000.0: Speed is 000.0 km/h.
040331: GMT standard date is 2004 (year), 03 (month), 31 (day). 000.00: Direction is 000.00
degree departure from North. 10000000: stands for 8 input status. First byte: main power state,
second byte: ACC state, third byte: empty/full load, forth byte: door open/close, other 4 bytes: for
CW-701 driving recorder. L001200: Mileage is 1200m. O: Oil flag, fixed. 1234: Fuel sensor
voltage is 12.34V.

Response

No response is required.

Note

This message is applicable to all terminals. Break-point data is saved when GPRS connection
lost. After new handshake successful, send back 10 data points each time, & delete from flash.

4.5 Type G Message


4.5.1

Respond to Collect Driving Data (701 only)


UG03TotalPackageCurrentPackageRecorderCommandDrivingData
UG03: Fixed keyword.
TotalPackage: 2 bytes N_STRING, 1-99, total number of data package.

Content

CurrentPackage: 2 bytes N_STRING, 1-99, current data package number.


RecorderCommand: 2 bytes HEX_String, stands for different type of command. Please refer to
<Driving Data Recorder Communication Protocol>.

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

DrivingData: Driving data, max 2000 bytes, refer to recorder protocol.


Length

Unfixed
*040331141830UG03330108MileageDataPackage^

Example

Response
Note

4.5.2
Content
Length

This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31; DG


03: the message type is downlink, to send driving data of CW-701 to center. 33: Total 3
3 data package. 01: Current package is the 1st data package. 08: Collect 2 days mileage
data, please refer to <Driving Data Recorder Communication Protocol>.
Center responds with DG04.
Example: *040331141830DG043301^
This message is applicable for driving data recorder CW-701 only, mileage & speed date get
from Odometer & save in Flash, the mileage signal line must be connected.

Failure Respond to Collect Driving Data (701 only)


UG04
UG04: Fixed keyword.
17 bytes
*040331141830UG04^

Example

This message means: 040331141830: The message is sent at 14:18:30 on 2004-3-31; DG


04: the message type is downlink, it is a failure respond to collect driving data.

Response

No respond is required.

Note

This message is applicable for driving data recorder CW-701 only, mileage & speed date get
from Odometer & save in Flash, the mileage signal line must be connected.

4.6 Type H Message


4.6.1

Respond to Circuit Control (I01)


UH00YY
UH00: Fixed keyword

Content

YY: Message SN, fixed 2 bytes


00: Off
01: On

Length
Example

100 Bytes
*040331141830UH0000^ 00: output 1, 00: cirkuit off
*040331141830UH0001^ 00: output 1, 01: cirkuit on

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

This message means: The message is sent at 14:18:30 on 2004-3-31, and the message type is
uplink message, respond to circuit control signal.
Response

No response is required.

Note

This message is applicable to terminals with relay.

4.6.2

Respond to Fuel Control (I02)


UH01YY
UH01: Fixed keyword

Content

YY: Message SN, fixed 2 bytes


00: Off
01: On

Length

100 Bytes
*040331141830UH0100^ 01: output 2, 00: fuel disconnect

Example

*040331141830UH0101^ 01: output 2, 01: fuel connect


This message means: The message is sent at 14:18:30 on 2004-3-31, and the message type is
uplink message, respond to fuel control signal.

Response

No response is required.

Note

This message is applicable to terminals with relay.

5 Appendix
Definition of GPS Location Information Format
Message Field
Time

Field Value
YYMMDD

GPS positioning
is valid

N or S.

Length
(in bytes)

Description

Year, month and day occupy 2


bytes respectively.

A or V. A means the GPS


data is valid, and V means the
GPS data is invalid.

N_STRING

The unit of the former 2 bytes is


degree, and the value ranges from 0
to 90; the unit of the latter 7 bytes is
minute.

CHAR

N means north latitude, and S

N_STRING

CHAR

Latitude

Latitude flag

Type

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

Chainway

www.chainwayits.com

Tel: 86-755- 33633903 Fax:86-755- 33633934

means south latitude

N_STRING

10

The unit of the former 3 bytes is


degree, and the value ranges from 0
to 180; the unit of the latter 7 bytes
is minute.

CHAR

E means east longitude, and W


means west longitude

N_STRING

N_STRING

Direction

N_STRING

IO state

C_STRING

8-digit IO

Mileage flag

CHAR

L indicates provision of mileage

Mileage data, measured in meters

Longitude

Longitude flag

E or W

Speed
Time

Mileage data

HHmmSS

Hour, minute and second occupy 2


bytes respectively.

Designer and Manufacturer of Tracking System Solutions, Home Medical Devices, Home Digital Products.

You might also like