vt202 gps tracker gprs protocol v1 - tracker, gps tracking … · 2019. 3. 21. · rä /l znk...

41
VT202 GPS Tracker GPRS Protocol File Status [ ] Draft [√] Release Officially [ ] Editing File No.: ZKXT-17-025 Editor Andy Version V1.8 Update Date Oct.9 th , 2017

Upload: others

Post on 06-Mar-2021

20 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

VT202 GPS Tracker GPRS Protocol

File Status [ ] Draft [√] Release Officially [ ] Editing

File No.: ZKXT-17-025 Editor Andy

Version V1.8 Update Date Oct.9th, 2017

Page 2: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

1.1 Introduction ................................1.2 Writing purpose ................................1.3 Protocol Introduction

2 Protocol Explanation ................................2.1 Protocol List ................................2.2 Protocol Explanation 2.3 Protocol Notice ................................

3 Protocol content ................................3.1 Login Packet(Uplink Code:AP00, Answer:BP00)3.2 Location Packet (Uplink Code:AP01, Answer:BP01)3.3 Heartbeat Packet (Uplink Code: CP01, Answer:DP01)3.4 Remote Arm/Disarm (Downlink Code:BP02, Answer:AP02)3.5 Remote cut off petrol/power (downlink code:BP03, Answer:AP03)3.6 Remote restore petrol/power (downlink code:BP04, Answer:AP04)3.7 Set GPRS Time Interval (Downlink Code:BP07, Answer:AP07)3.8 AGPS (Uplink Code:AP14, Answer:BP14)3.9 Set device language (Downlink Code:BP08 Answer:AP08)3.10 Set Device Stationary Speed (Downlink Code3.11 Report Device Info (Uplink Code: INFO)3.12 Set timing Arm/Disarm (Downlink Code: BP72, Answer:A3.13 ON/OFF SMS Alarm (Downlink Code:BP733.14 Set Over Speed (Downlink Code:BP743.15 Server and Tracker Time Synchronization3.16 Report Device IMSI and ICCID to Server (Uplink3.17 Alarm Packet and Address Reply3.18 Set SOS numbers(Downlink C3.19 Device report SOS number3.20 Device Report Time Interval3.21 Set Device Moving Speed Filter3.22 Set Secondary IP, Port3.23 ON/OFF Vibration Sensor

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Content ................................................................................................................................

................................................................................................................................Protocol Introduction ................................................................................................

................................................................................................................................................................................................................................

................................................................................................................................................................................................................................

................................................................................................Login Packet(Uplink Code:AP00, Answer:BP00)................................................................Location Packet (Uplink Code:AP01, Answer:BP01) ................................Heartbeat Packet (Uplink Code: CP01, Answer:DP01) ................................Remote Arm/Disarm (Downlink Code:BP02, Answer:AP02) ................................Remote cut off petrol/power (downlink code:BP03, Answer:AP03) ................................Remote restore petrol/power (downlink code:BP04, Answer:AP04) ................................Set GPRS Time Interval (Downlink Code:BP07, Answer:AP07) ................................AGPS (Uplink Code:AP14, Answer:BP14) ................................................................Set device language (Downlink Code:BP08 Answer:AP08) ................................Set Device Stationary Speed (Downlink Code:DP 29, Answer:CP29)Report Device Info (Uplink Code: INFO)................................................................Set timing Arm/Disarm (Downlink Code: BP72, Answer:AP72) ................................ON/OFF SMS Alarm (Downlink Code:BP73,Answer: AP73) ................................Set Over Speed (Downlink Code:BP74,Answer: AP74) ................................Server and Tracker Time Synchronization(Uplink Code:AP76 Answer: BP76Report Device IMSI and ICCID to Server (Uplink Code:YP02, Answer:ZP02)Alarm Packet and Address Reply(Uplink Code:AP10,Answer:BP10

Downlink Code:DP16,Answer:CP16) ................................Device report SOS number(Uplink code:CP17,Answer:DP17)Device Report Time Interval(Downlink Code:DP25,Answer:CP25Set Device Moving Speed Filter(Downlink Code:DP18,Answer:Set Secondary IP, Port(Downlink Code:DP19,Answer:CP19) ................................ON/OFF Vibration Sensor(Downlink Code:BP59,Answer:AP59

Version 1.8 Update Date: Oct.19th, 2017

.................................................... 1 ............................................ 1

.................................................................. 1 .................................................. 1

.................................................... 1 ................................................................... 2

............................................. 3 ......................................................... 3

................................................. 3 ......................................................................... 4

..................................................................... 6 .......................................................... 8

........................................... 9 ........................................ 10

................................................... 11 ............................................................ 12 .......................................................... 13

CP29) ................................. 13 ............................................................. 14

.................................................. 16 ...................................................... 17

............................................................... 18 Uplink Code:AP76 Answer: BP76) .............. 19

Code:YP02, Answer:ZP02) ...................... 20 BP10) .......................... 21

................................................. 23 ) ..................................... 24

CP25) ............................. 25 :CP18) ...................... 26 ........................................ 27

AP59) .................................. 28

Page 3: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

3.24 ON/OFF Sleep Status When 29 3.25 Set Deep Sleep to Trigger Voltage and Recover VoltageAnswer:CP22) ................................3.26 Initialization(Downlink Code3.27 Remote Reboot(Downlink Code3.28 Set Device IP and Port3.29 Set External Low Power Alarm3.30 Set Heading Change Alarm3.31 Remote Turn Off Device3.32 Ask for Location(Downlink Code03.33 ON/OFF ACC Alarm(

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

ON/OFF Sleep Status When Device Stationary(Downlink Code:DP21

Set Deep Sleep to Trigger Voltage and Recover Voltage(Downlink Code................................................................................................................................

Downlink Code:BP62,Answer:AP62) ................................Downlink Code:BP61, Answer:AP61) ................................

Set Device IP and Port(Downlink Code:DP20,Answer:CP20) ................................Set External Low Power Alarm(Downlink Code:DP23,Answer:Set Heading Change Alarm(Downlink Code:DP24,Answer:CP24Remote Turn Off Device(Downlink Code:DP26,Answer:CP26)

Downlink Code0:DP35,Answer: CP35) ................................(Downlink Code:DP36,Answer:CP36) ................................

Version 1.8 Update Date: Oct.19th, 2017

DP21,Answer:CP21)

Downlink Code:DP22,.................................................... 30

............................................................ 31 .................................................... 32

........................................ 32 :CP23) ........................ 33

CP24) .............................. 34 ) .................................... 35

................................................... 36 ............................................. 37

Page 4: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

1.1 Introduction 1.2 Writing purpose

This file is about GPRS protocol, for platform developer protocol integration. As per this file, developer could test device data

1.3 Protocol IntroductionThis protocol is used for VT202 GPS Tracker.

2 Protocol Explanation2.1 Protocol List

Protocol Code

AP00 AP01 CP01 BP02 BP03 Remote Cut off Petrol/PowerBP04 Remote Restore Petrol/PowerBP07 AP14 BP08 DP29 Set Device Stationary SpeedINFO BP72 BP73 BP74

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Writing purpose GPRS protocol, for platform developer protocol integration. As per this

file, developer could test device data if correct and platform troubleshooting.

Protocol Introduction This protocol is used for VT202 GPS Tracker.

xplanation

Description Need Answer?

Login Packet Need Location Packet No need

Heartbeat Packet Need Remote Arm/Disarm Need

Remote Cut off Petrol/Power Need Remote Restore Petrol/Power Need

Set Time Interval Need AGPS Need

Set Device Language Need Set Device Stationary Speed Need

Report Device Info Need Set Timing Enable Arm Need

ON/OFF SMS Alarm Need Set Over Speed Need

Version 1.8 Update Date: Oct.19th, 2017

GPRS protocol, for platform developer protocol integration. As per this if correct and platform troubleshooting.

Answer? Uplink/Downlink

Uplink No need Uplink

Uplink Downlink Downlink Downlink Downlink Uplink Downlink Downlink Uplink Downlink Downlink Downlink

Page 5: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

AP76 Server and Tracker Time

YP02 Report Device IMS

AP10 Alarm Packet and DP16 CP17 Device Report SOS NumberDP25 Device Report Time IntervalDP18 Set Device Moving Speed FilterDP19 BP59 ON/OFF Vibration SensorDP21 ON/OFF Sleep Status When Device

DP22 Set Deep Sleep to Trigger Voltage

BP62 BP61 DP20 DP23 Set External Low Power Alarm DP24 Set Heading Change AlarmDP26 Remote Turn Off DeviceDP35 DP36

2.2 Protocol ExplanationName

Device------Server Server------Device Header Ending Separator

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Server and Tracker Time

Synchronization Need

Report Device IMSI and ICCID to Server

Need

Alarm Packet and Address Reply Need Set SOS Number Need

Device Report SOS Number Need Device Report Time Interval Need

Set Device Moving Speed Filter Need Set Secondary IP, Port Need

ON/OFF Vibration Sensor Need ON/OFF Sleep Status When Device

Stationary Need

Set Deep Sleep to Trigger Voltage and Recover Voltage

Need

Initialization Need Remote Reboot Need

Set Device IP and Port Need Set External Low Power Alarm Need

Set Heading Change Alarm Need Remote Turn Off Device Need

Ask for Location Need ON/OFF ACC Alarm Need

Protocol Explanation Explanation

Uplink Downlink IW # ,(comma) |( vertical linesymbol is used for data separator

Version 1.8 Update Date: Oct.19th, 2017

Uplink

Uplink

Uplink Downlink Uplink Downlink Downlink Downlink Downlink Downlink

Downlink

Downlink Downlink Downlink Downlink Downlink Downlink Downlink Downlink

Explanation

vertical line) These specific symbol is used for data separator

Page 6: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

2.3 Protocol Notice1. The GPS information part of the positioning package and alarm packet please

protocol to ensure the consistency of the length and protocol.2. If the protocol involves Chinese names or Chinese characters will be converted using

Unicode encoding. 3. In the process of interaction may be due to network and other reasons to cause

combined package, device to prevent this situation occurred, it is recommended to carry out multiple-package solution resolution

3 Protocol content3.1 Login Packet(Uplink CodeUplink Example TRVAP00353456789012345Explanation Sample Fieldname

TRV HeaderAP00 Protocol Code353456789012345 IMEI

# EndingAnswer Example TRVBP00#

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Protocol Notice

The GPS information part of the positioning package and alarm packet pleaseprotocol to ensure the consistency of the length and protocol. If the protocol involves Chinese names or Chinese characters will be converted using

In the process of interaction may be due to network and other reasons to causepackage, device to prevent this situation occurred, it is recommended to carry

package solution resolution

Protocol content Uplink Code:AP00, Answer:BP00)

353456789012345#

dname Note

Header Protocol Code

Default 15-bit device unique identification

Ending

Version 1.8 Update Date: Oct.19th, 2017

The GPS information part of the positioning package and alarm packet please follow the

If the protocol involves Chinese names or Chinese characters will be converted using

In the process of interaction may be due to network and other reasons to cause package, device to prevent this situation occurred, it is recommended to carry

:BP00)

Special Explanation If the uploaded device IMEI number is greater than or less than 15 digits does not apply this protocol, please contact protocol provider

Page 7: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

Explanation Sample Fieldname

TRV Protocol CodeBP00 IMEI # EndingNote: Each time the device disconnects from the server, the login packet needs to be sent again (the server must respond

3.2 Location Packet Uplink Example TRVAP01080524A2232.9806N11404.9355E000.1061830323.8706000908000102,460,0,9520,3671# Explanation Sample FieldnameTRV Protocol

Code AP01 IMEI 080524 Time A GPS Signal

2232.9806 Latitude

N Southern and Northern Latitude Flag

11404.9355 Longitude

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note

Protocol Code

Ending : Each time the device disconnects from the server, the login packet needs to be sent

e server must respond)

Location Packet (Uplink Code:AP01, Answer

080524A2232.9806N11404.9355E000.1061830323.8706000908000102,460,0,9520,

Fieldname Note Special ExplanationProtocol

May.24th, 2018

GPS Signal A= GPS signal valid V= GPS signal invalid

GPS coordinates is 0000.0000N00000.0000E use LBS data

Latitude 22 degree 32.9806 min. Format= ddmm.mmmm Add 0 before it when length insufficient

Invalid latitude, all defaults to 0, eg.:0000.0000N00000.0000E

Southern

Northern Latitude Flag

N= northern latitude S= southern latitude

Longitude 114 degree 04.9355min Format= dddmm.mmmm Add 0 before it when

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

: Each time the device disconnects from the server, the login packet needs to be sent

Answer:BP01)

080524A2232.9806N11404.9355E000.1061830323.8706000908000102,460,0,9520,

Special Explanation

GPS signal invalid or coordinates is 0000.0000N00000.0000E use LBS data

Invalid latitude, all defaults to 0, eg.: 0000.0000N00000.0000E

Page 8: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

E East and Western Longitude Flag

000.1 Speed061830 GMT

323.87 Direction06000908000102 Device Status

460 MCC Base Station Country Code

0 MNC Operator Code

9520 LAC Base Station Cell Code

3671 CID Base Station Tower Code

# EndingAnswer Example TRVBP01# Explanation

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

length insufficient

East and Western Longitude

E= east longitude W= west longitude

Speed Uni: km/h 06:18 :30 24-hour

system

Direction Direction degree 323.87° Device Status 060:GSM signal

009:located satellite numbers 080:battery value 0:ACC status. 1=ACC On, 2:ACC Off, 0=ACC invalid 01: Armed status 02=working mode (Armed, 00=invalid or no setting)

Base Station Country

In decimal

Operator

Base Station Cell Code

Base Station Tower Code

Ending

Version 1.8 Update Date: Oct.19th, 2017

Page 9: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

Sample Fieldname

TRV Header BP01 Protocol Code# Ending Note: 1. Server can save some traffic without respondingwith server weather answer this location packet.2. The location packet is resolved by length (before the first comma), and the packet length and data bit content must be consistent with the Protocol, otherwise the package resolves an exception.

3.3 Heartbeat Packet Uplink Example TRVCP01, 0600090800020030101010020111Explanation Sample FieldnameTRV HeaderCP01 Protocol

Code 060009080002 Status

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note

Protocol Code

erver can save some traffic without responding this location packet

with server weather answer this location packet. The location packet is resolved by length (before the first comma), and the packet length

and data bit content must be consistent with the Protocol, otherwise the package resolves

eartbeat Packet (Uplink Code: CP01, Answer

0600090800020030101010020111,0125#

Fieldname Note Special ExplanationHeader Protocol

060: GSM signal 009: Located satellite numbers 080: Battery Value 0: ACC Status.1=ACC ON, 2=ACC OFF, 0= ACC invalid 02: Working Mode(00=invalid or no settting)

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

this location packet, need confirm

The location packet is resolved by length (before the first comma), and the packet length and data bit content must be consistent with the Protocol, otherwise the package resolves

Answer:DP01)

Special Explanation

Page 10: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

003010101002011 Status

0125 Status

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

0030: GPRS time interval,

unit = 30seconds 1: Manually Arm ON/OFF (vibration alarm). 1 =open, 2=close 010: Sensitivity of vibration sensor, 1-100 1: Auto Arm ON/OFF. 1=open,2=close

0020: Set Auto Arm Time, Unit = 20seconds 1: Petrol/power status. 1=petrol/power connected ,2=petrol/power disconnected

1: External power status. 1=external power connected, 2=external power disconnected, 0=no external power 1: Device moving status, 1= device is moving, 2= device is stationary, 0=status invalid

0125: external power value. 0125/10=12.5V

Version 1.8 Update Date: Oct.19th, 2017

Page 11: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

# EndingAnswer Example TRVDP01# Explanation Sample Fieldname

TRV Header DP01 Protocol Code# Ending Note: 1. When the device is stationary, it can be connected with the platform and the static drift is resolved by this command. 2. Heartbeat packet upload frequency do not minutes, suggest 3 minutes advisable. Time is too long to cause the communication disconnected.

3.4 Remote Arm/Disarm Answer:AP02)

Downlink Example TRVBP020000010# Explanation Sample FieldnameTRV HeaderBP02 Protocol

Code 000001 Serial

Number0 Flag of

Arm/Disarm# EndingAnswer Example

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Ending

eldname Note

Protocol Code

Note: 1. When the device is stationary, it can be connected with the platform and the static drift is resolved by this command. 2. Heartbeat packet upload frequency do not minutes, suggest 3 minutes advisable. Time is too long to cause the communication

Remote Arm/Disarm (Downlink Code:BP02)

Fieldname Note Special Explanationder

Protocol

Number Server send serial number, device return

Flag of Arm/Disarm

0=arm, 1=disarm

Ending

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

Note: 1. When the device is stationary, it can be connected with the platform and the static drift is resolved by this command. 2. Heartbeat packet upload frequency do not exceed 5 minutes, suggest 3 minutes advisable. Time is too long to cause the communication

2,

Special Explanation

Page 12: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

TRVAP020000010# Explanation Sample Fieldname

TRV Header AP02 Protocol Code000001 Serial Number

0 Command execution status

# Ending

3.5 Remote cut off petrol/powerAnswer:AP03)

Downlink Example TRVBP030000020# Explanation Sample FieldnameTRV HeaderBP03 Protocol

Code 000002 Serial

Number0 Flag of cut

off petrol/power

# 包尾 Answer Example TRVAP030000020# Explanation Sample Fieldname

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note

tocol Code

Serial Number Server send serial number, device return

Command execution status

0= successful, 1=failed

Remote cut off petrol/power (downlink code3)

Fieldname Note Special ExplanationHeader Protocol

Number Server send serial number, device return

Flag of cut

petrol/pow

0= cut off petrol, 1=cut off power

Fieldname Note

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

downlink code:BP03,

Special Explanation

Special

Page 13: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

TRV Header AP03 Protocol Code000002 Serial Number

0 Command execution status

# Ending

3.6 Remote restore petrol/power Answer:AP04)

Downlink Example TRVBP040000030# Explanation Sample FieldnameTRV HeaderBP04 Protocol

Code 000003 Serial

Number0 Restore

petrol/power# EndingAnswer Example TRVAP040000030# Explanation Sample Fieldname

TRV Header AP04 Protocol Code000003 Serial Number

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Protocol Code Serial Number Server send serial number,

device return Command execution status

0= successful, 1=failed

Remote restore petrol/power (downlink code4)

Fieldname Note Special ExplanationHeader Protocol

Number Server send serial number, device return

Restore petrol/power

0= restore petrol, 1= restore power

Ending

Fieldname Note

Protocol Code Serial Number Server send serial number,

Version 1.8 Update Date: Oct.19th, 2017

Explanation

downlink code:BP04,

Special Explanation

Special Explanation

Page 14: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

0 Command execution status

# Ending

3.7 Set GPRS Time Interval (Downlink CodeAnswer:AP07)

Downlink Example TRVBP070000080020# Explanation Sample FieldnameTRV HeaderBP07 Protocol

Code 000008 Serial

Number0020 Time interval

# EndingAnswer Example TRVAP070000080# Explanation Sample Fieldname

TRV HeaderAP07 Protocol 0 Serial Number

# Command execution status

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

device return

Command execution status

0= successful, 1=failed

Set GPRS Time Interval (Downlink Code:BP07)

Fieldname Note Special ExplanationHeader Protocol

Number Server send serial number, device return

Time interval GPRS time interval, unit=second

Ending

Fieldname Note

Header Protocol Code Serial Number Server send serial

number, device return

Command execution

0= successful, 1=failed

Version 1.8 Update Date: Oct.19th, 2017

P07,

Special Explanation

Special Explanation

0= successful,

Page 15: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

Ending

3.8 AGPS (Uplink CodeUplink Example TRVAP14,460,0,9520,3671#Explanation Sample FieldnameTRV HeaderAP14 Protocol

Code 460,0,9520,3671 LBS Base

Station data

# EndingAnswer Example TRVBP14,23.113,113.123# Explanation Sample FieldnameTRV HeaderBP14 Protocol

Code 23.113,113.123 Coordinates# EndingNote: 1. The platform must respond back. 2. Responded latitude and longitude after the decimal point is recommended to retaisupplier whether there is an impact.

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Ending

Uplink Code:AP14, Answer:BP14)

,460,0,9520,3671#

Fieldname Note Special EHeader Protocol

LBS Base Station data

MCC: country code 460: China 0:MNC 0: China Mobile 9520:LAC, in decimal 3671,CID, in decimal

Ending

eldname Note Special ExplanationHeader Protocol

Coordinates Latitude, Longitude Ending

Note: 1. The platform must respond back. 2. Responded latitude and longitude after the decimal point is recommended to retain only 5 digits, if too long, please consult the device supplier whether there is an impact.

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

Special Explanation

Note: 1. The platform must respond back. 2. Responded latitude and longitude after the n only 5 digits, if too long, please consult the device

Page 16: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

3.9 Set device language Downlink Example TRVBP08000009,zh-cn# Explanation Sample FieldnameTRV HeaderBP08 Protocol

Code 000009 Serial

Numberzh-cn Language

# EndingAnswer Example TRVAP080000090# Explanation Sample FieldnameTRV HeaderAP08 Protocol

Code 000009 Serial

Number0 Command

execution status

# Ending

3.10 Set Device Stationary Speed Answer:CP29

Downlink

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Set device language (Downlink Code:BP08

Fieldname Note Special ExplanationHeader Protocol

Number Server send serial number, device return

Language International standard, eg.: English = en-us, French=fr

Ending

Fieldname Note Special ExplanaHeader Protocol

Number Server send serial number, device return

Command execution

0= successful, 1=failed

Ending

Set Device Stationary Speed (Downlink CodeCP29)

Version 1.8 Update Date: Oct.19th, 2017

Answer:AP08)

Special Explanation

Special Explanation

Downlink Code:DP 29,

Page 17: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

Example TRVDP29000008010# Explanation Sample FieldnameTRV HeaderDP29 Protocol

Code 000008 Serial

Number010 Stationary

Speed

# EndingAnswer Example TRVCP290000080# Explanation Sample FieldnameTRV HeaderCP29 Protocol

Code 000008 Serial

Number0 Command

execution status

# EndingNote: When G-sensor is closed, if the speed is set, device filters the location packet which speed slow than preset value, and the device default to static state

3.11 Report Device Info Uplink

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note Special ExplanationHeader Protocol

Number Server send serial number, device return

Stationary Speed

The first two digits are integral parts, and the third is a decimal part 010=lower than 1km/h as static

Hardware default filter less than 3km/h location pack

Ending

Fieldname Note Special ExplanationHeader Protocol

Number Server send serial number, device return

Command execution

0= successful, 1=failed

Ending sensor is closed, if the speed is set, device filters the location packet which

than preset value, and the device default to static state

Report Device Info (Uplink Code: INFO)

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

Hardware default filter less than 3km/h location pack

Special Explanation

sensor is closed, if the speed is set, device filters the location packet which

Page 18: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

Example TRVINFO,355512345678910,W20_IN_V1_27_20140624,CKT50D_3232_1zt.net,8011,cmet,30,1,7,1,1,1,1#Explanation Sample FieldnameTRV HeaderINFO Protocol

Code 355512345678910 IMEI

W20_IN_V1_27_20140624

Firmware Version

CKT50D_3232_11B_HW

Hardware version

100 GSM signalgps.sdwzt.net IP/port

8011 Port cmnet APN 30 GPRS time

interval1 GPS status7 Satellite

numbers1 ON/OFF

power cut alarm

1 Power Cut status

1 ON/OFF vibration alarm

1 Vibration status

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

,355512345678910,W20_IN_V1_27_20140624,CKT50D_3232_1et,30,1,7,1,1,1,1#

Fieldname Note Special ExplanationHeader Protocol

Device Unique identification

Firmware Version

Device current firmware version

Hardware version

Device current hardware version

signal port Device set server domain

or IP

Device set port

GPRS time interval

Device current GPRS time interval, unit=second

status 1 =Normal, 0=Abnormal atellite

numbers

ON/OFF wer cut

alarm

1=open, 0=close

Power Cut

1 =Normal, 0=Abnormal

ON/OFF vibration

1=open, 0=close The device enters the manual arm or the automatic arm condition, namely vibration alarm to open, the other state vibration alarm is off.

Vibration

1 =Normal, 0=Abnormal

Version 1.8 Update Date: Oct.19th, 2017

,355512345678910,W20_IN_V1_27_20140624,CKT50D_3232_11B_HW,100,gps.sdw

Special Explanation

The device enters the manual arm or the automatic arm condition, namely vibration alarm to open, the other state vibration alarm is off.

Page 19: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

# EndingAnswer Example TRVINFO,0K# Explanation Sample FieldnameIW HeaderINFO Protocol

Code 0K Analysis

results# EndingNote: 1. After the platform receives the TRVINFO packets uploaded by the device, it needs to analyze whether the parameters are correct, return OK if correct, and FALL if the parameter is incorrect. 2. Power Cut Alarm is more special, when the product does not have internal power, the alarm state is certainly abnormal, return 0, so the platform to determine whether the parameters of the device upload correctly, do not check the power cut alarm status is normal. 3. Each time the device is powered on, the packet must be sent to

3.12 Set timing Arm/DisarmAnswer:AP72)

Downlink Example TRVBP7200000130# Explanation Sample FieldnameTRV HeaderBP72 Protocol

Code 000001 Serial

Number30 Start Arm

Time

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Ending

Fieldname Note Special ExplanationHeader Protocol

Analysis results

0K=successful, Fall=failed

Ending platform receives the TRVINFO packets uploaded by the device, it needs to

analyze whether the parameters are correct, return OK if correct, and FALL if the parameter is incorrect. 2. Power Cut Alarm is more special, when the product does not have internal power, the alarm state is certainly abnormal, return 0, so the platform to determine whether the parameters of the device upload correctly, do not check the power cut alarm status is normal. 3. Each time the device is powered on, the packet must be sent to

Set timing Arm/Disarm (Downlink Code: B)

Fieldname Note Special ExplanationHeader Protocol

Number Server send serial number, device return

Start Arm

Time interval 00-60mins, Add 0 for signal distigal

Indicates that the QUIESCE has reached preset time. The vehicle

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

platform receives the TRVINFO packets uploaded by the device, it needs to analyze whether the parameters are correct, return OK if correct, and FALL if the parameter is incorrect. 2. Power Cut Alarm is more special, when the product does not have internal power, the alarm state is certainly abnormal, return 0, so the platform to determine whether the parameters of the device upload correctly, do not check the power cut alarm status is normal. 3. Each time the device is powered on, the packet must be sent to server.

Downlink Code: BP72,

Special Explanation

Indicates that the QUIESCE has reached preset time. The vehicle

Page 20: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

# EndingAnswer Example TRVAP720000010# Explanation Sample FieldnameTRV HeaderAP72 Protocol

Code 000001 Serial

Number0 Command

execution status

# Ending

3.13 ON/OFF SMS Alarm AP73)

Downlink Example TRVBP730000011# Explanation Sample FieldnameTRV HeaderBP73 Protocol

Code 000001 Serial

Number0 Command

execution

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

enters the Arm condition (unit: minute), 00= cancels Arm

Ending

Fieldname Note Special ExplanationHeader Protocol

Number Server send serial number, device return

Command execution

0= successful, 1=failed

Ending

ON/OFF SMS Alarm (Downlink Code:BP73

Fieldname Note Special ExplanationHeader Protocol

Number Server send serial number, device return

Command execution

1= enable SMS alarm, 0 = disable SMS alarm

Version 1.8 Update Date: Oct.19th, 2017

enters the Arm condition (unit: minute), 00= cancels Arm

Special Explanation

73,Answer:

Special Explanation

Page 21: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

status # EndingAnswer Example TRVAP730000010# Explanation Sample FieldnameTRV HeaderAP73 Protocol

Code 0 Command

execution status

# Ending

3.14 Set Over Speed Downlink Example TRVBP74000001,600,120# Explanation Sample FieldnameTRV HeaderBP74 Protocol

Code000001 Serial

Number600 Over Speed

duration120 Over speed# EndingAnswer Example TRVAP740000010# Explanation

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Ending

Fieldname Note Special ExplanationHeader Protocol

Command execution

0= successful, 1=failed

Ending

Set Over Speed (Downlink Code:BP74,Answer:

Fieldname Note Special ExplanationHeader Protocol Code

Serial Number

Server send serial number, device return

Over Speed duration

Over speed Unit =second Ending

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

Answer: AP74)

Special Explanation

Page 22: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

Sample FieldnameTRV HeaderAP74 Protocol

Code 000001 Serial

Number# Ending

3.15 Server and Tracker Time SynCode:AP76 Answer:

Uplink Example TRVAP76# Explanation Sample FieldnameTRV HeaderAP76 Protocol

Code# EndingAnswer Example TRVBP7620150114073900#Explanation Sample FieldnameTRV HeaderBP76 Protocol

Code 20150114073900 Time

# Ending

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note Special ExplanationHeader Protocol

Number Server send serial number, device return

Ending

Server and Tracker Time SynchronizationAnswer: BP76)

Fieldname Note Special ExplanationHeader Protocol Code

Ending

20150114073900#

Fieldname Note Special ExplanatHeader Protocol

Server current UTC0 time 2015year 01 month 14 data 07 39min 00second

Ending

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

chronization(Uplink

Special Explanation

Special Explanation

Page 23: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

3.16 Report Device IMSI and ICCID to ServerCode:YP02, Answer

Uplink Example TRVYP02,460023136470163,898602B1191550255484#Explanation Sample FieldnameTRV HeaderYP02 Protocol

Code460023136470163 Device IMSI

898602B1191550255484

Device ICCID

# EndingAnswer Exampl e TRVZP02# Explanation Sample FieldnameTRV HeaderYP02 Protocol

Code # EndingNote: 1. The platform must respond. 2. Use this protocol at a point in time: After the package AP00 sent, and get the platform BP00 response, immediately

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Report Device IMSI and ICCID to Server

Answer:ZP02)

3,898602B1191550255484#

Fieldname Note Special ExplanationHeader Protocol Code

Device IMSI 460: China MCC 02: China Mobile MNC 3136470163: China Mobile’s user identification number MSIN

Device ICCID

Ending

Fieldname Note Special ExplanationHeader Protocol

Ending Note: 1. The platform must respond. 2. Use this protocol at a point in time: After the package AP00 sent, and get the platform BP00 response, immediately

Version 1.8 Update Date: Oct.19th, 2017

(Uplink

Special Explanation

Special Explanation

Note: 1. The platform must respond. 2. Use this protocol at a point in time: After the login package AP00 sent, and get the platform BP00 response, immediately sending YP02.

Page 24: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

3.17 Alarm Packet and Address ReplyAnswer:BP10

Uplink Example TRVAP10080524A2232.9806N11404.9355E000.1061830323.8706000908000502,460,0,9520,3671,00,zh-cn,00# Explanation Sample Fieldname

TRV HeaderAP10 Protocol

Code 080524 Year Month

date A GPS Signal

2232.9806N11404.9355E

Coordinates

000.1 Speed061830 Hour Minute

Second

323.87 Heading06000908000102 Device Status

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Alarm Packet and Address Reply(Uplink Code

BP10)

080524A2232.9806N11404.9355E000.1061830323.8706000908000502,460,0,9520,

Fieldname Note

Header Protocol

Year Month

May. 24th, 2008

GPS Signal A= GPS signal valid V= GPS signal invalid

Coordinates If coordinates invalid, default as 0,eg.: 0000.0000N00000.0000E

Northern latitude 22degree 32.9806mins, East longitude 114degree 04.9355mins

Speed Unit: km/h Hour Minute Second

GMT Time 06 Hour 18 min 30 second 06:18:30

Heading Rang:0°-360° Device Status 060:GSM signal

009:located satellite numbers 080:battery value 0:ACC status. 1=ACC On, 2:ACC Off, 0=ACC invalid

Version 1.8 Update Date: Oct.19th, 2017

Uplink Code:AP10,

080524A2232.9806N11404.9355E000.1061830323.8706000908000502,460,0,9520,

Special Explanation

GPS signal invalid or coordinates is 0000.0000N00000.0000E use LBS data

latitude 22degree

longitude

0:ACC status. 1=ACC On, 2:ACC

Page 25: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

460,0,9520,3671 LBS Base Station da

00 Alarm Status

zh-cn Device Language

00 SMS Reply settings

# EndingAnswer Example TRVBP106df157335e0253575c71533a53576d7759279053003100300037003953f7002000200068007400740070003a002f002f007700770077002e006700700073002e0063006f006d002f006d00610070002e0061007300700078003f006c00610074003d00320033002e0031003200330026006c006e0067003d00310031003300

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

01: Armed status 02=working mode (Armed, 00=invalid or no setting)

LBS Base Station data

MCC: country code 460: China 0:MNC 0: China Mobile 9520:LAC, in decimal 3671,CID, in decimal

Alarm Status 01: SOS 02: external power disconnect 03: vibration 04: Enter in Geo-fence 05: Exit geo-fence 13: Over speed alarm 09: Movement alarm 10: Inner battery low power alarm26: ACC ON 27:ACC OFF 33: External power low

Device Language

SMS Reply settings

The 1st 0: whether reply address? 0=no need reply, 1=need reply The 2nd 0: whether address including URL? 0=not including, 1= including

Ending

6df157335e0253575c71533a53576d7759279053003100300037003953f7002000200068007400740070003a002f002f007700770077002e006700700073002e0063006f006d002f006d00610070002e0061007300700078003f006c00610074003d00320033002e0031003200330026006c006e0067003d003100310033002e003100320033#

Version 1.8 Update Date: Oct.19th, 2017

02=working mode (Armed,

r battery low power alarm

whether address

6df157335e0253575c71533a53576d7759279053003100300037003953f7002000200068007400740070003a002f002f007700770077002e006700700073002e0063006f006d002f006d00610070002e0061007300700078003f006c00610074003d00320033002e003100320

Page 26: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

Explanation Sample Fieldname

TRV Header BP10 Protocol Code6df157335e0253575c71533a53576d7759279053003100300037003953f7002000200068007400740070003a002f002f007700770077002e006700700073002e0063006f006d002f006d00610070002e0061007300700078003f006c00610074003d00320033002e0031003200330026006c006e0067003d003100310033002e003100320033

SMS content

# Ending

3.18 Set SOS numbersDownlink Example TRVDP16,123456 ,13510212185,13510212186,13510212187#Explanation Sample FieldnameTRV HeaderDP16 Protocol

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note

Protocol Code SMS content The platform response

address contains hex Unicode encoding, not plaintext, and the above example is: 深圳市南山区南海大道1079号http://www.gps.com/map.aspx?lat=23.123&lng=113.123 Content language according to AP10 data packet language automatic judgment, whether reply URL also according to AP10 state judgment

Set SOS numbers(Downlink Code:DP16,Answer

,13510212185,13510212186,13510212187#

Fieldname Note Special ExplanationHeader Protocol

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

Answer:CP16)

Special Explanation

Page 27: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

Code 123456 Serial

Number13510212185 SOS No.113510212186 SOS No. 213510212187 SOS No.3# EndingAnswer Example TRVCP16,123456,1# Explanation Sample FieldnameTRV HeaderCP16 Protocol

Code 123456 Serial

Number1 Command

execution status

# Ending

3.19 Device report SOS numberDP17)

Uplink Example TRVCP17 ,13510212185,13510212186,13510212187#Explanation Sample FieldnameTRV HeaderCP17 Protocol

Code

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Number

SOS No.1 If delete thcorresponding number bit is NULL, need placeholder

SOS No. 2 SOS No.3

Ending

Fieldname Note Special ExplanationHeader Protocol

Number

Command execution

0= successful, 1=failed

Ending

Device report SOS number(Uplink code:CP17

,13510212185,13510212186,13510212187#

Fieldname Note Special ExplanationHeader Protocol

Version 1.8 Update Date: Oct.19th, 2017

If delete the corresponding number bit is NULL, need placeholder

Special Explanation

CP17,Answer:

Special Explanation

Page 28: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

13510212185 SOS No.1

13510212186 SOS No. 213510212187 SOS No. 3# EndingAnswer Example TRVDP17,1 # Explanation Sample FieldnameTRV HeaderDP17 Protocol

Code 1 Command

execution status

# EndingNote: After the SMS Modified SOS number, report the packet

3.20 Device Report Time IntervalAnswer:CP25

Downlink Example TRVDP25,123456,3# Explanation Sample FieldnameTRV HeaderDP17 Protocol

Code 123456 Serial

Number3 Time Interval

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

SOS No.1 If delete the

corresponding number bit is NULL,placeholder

SOS No. 2 SOS No. 3

Ending

Fieldname Note Special ExplanationHeader Protocol

Command execution

0= successful, 1=failed

Ending Note: After the SMS Modified SOS number, report the packet

Device Report Time Interval(Downlink CodeCP25)

Fieldname Note Special ExplanationHeader Protocol

Number

Time Interval Unit = minute

Version 1.8 Update Date: Oct.19th, 2017

If delete the corresponding number bit is NULL, need placeholder

Special Explanation

Downlink Code:DP25,

Special Explanation

Page 29: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

# Answer Example TRVCP25,123456,1# Explanation Sample FieldnameTRV c CP17 Protocol

Code 123456 Serial

Number1 Command

execution status

# Ending

3.21 Set Device Moving Speed FilterAnswer:CP18

Downlink Example TRVDP18,123456,5# Explanation Sample FieldnameTRV HeaderDP18 Protocol

Code 123456 Serial

Number5 Filter moving

speed

# EndingAnswer

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note Special Explanation

Protocol

Number

Command execution

0= successful, 1=failed

Ending

Set Device Moving Speed Filter(Downlink CodeCP18)

Fieldname Note Special ExplanationHeader Protocol

Number

Filter moving

Unit:km/h, filtering data packet which speed below 5km/h

When device is moving, default setwhich speed faster than 1km/h

Ending

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

Downlink Code:DP18,

Special Explanation

When device is moving, default set to report data which speed faster than 1km/h

Page 30: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

Example TRVCP18,123456,1# Explanation Sample FieldnameTRV HeaderCP18 Protocol

Code 123456 Serial

Number1 Command

execution status

# Ending

3.22 Set Secondary IP, PortCP19)

Downlink Example TRVDP19, 123456,0,127.0.0.1,8011# Explanation Sample FieldnameTRV HeaderDP19 Protocol

Code 123456 Serial

Number1 IP or domain

Flag 127.0.0.1 or gps.123456.com

IP or Domain

8011 Port # EndingAnswer Example

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note Special ExplanationHeader Protocol

Number

Command execution

0= successful, 1=failed

Ending

Set Secondary IP, Port(Downlink Code:DP19

127.0.0.1,8011# or TRVDP19,000001,1,gps.123456.com,8011#

Fieldname Note Special ExplanationHeader Protocol

Number

IP or domain 0=IP, 1=Domain

IP or Domain

Ending

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

DP19,Answer:

gps.123456.com,8011#

Special Explanation

Page 31: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

TRVCP19,123456,1# Explanation Sample FieldnameTRV HeaderCP19 Protoc

Code 123456 Serial

Number1 Command

execution status

# EndingNote: The secondary IP port is used to connect after the standby IP port resolution fails

3.23 ON/OFF Vibration SensorAnswer:AP59

Downlink Example TRVBP59, 123456,1,40# Explanation Sample FieldnameTRV HeaderBP59 Protocol

Code 123456 Serial

Number1 ON/OFF

Status 40 Sensitivity

# EndingAnswer

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note Special ExplanationHeader Protocol

Number

Command execution

0= successful, 1=failed

Ending Note: The secondary IP port is used to connect after the standby IP port resolution fails

ON/OFF Vibration Sensor(Downlink CodeAP59)

Fieldname Note Special ExplanationHeader Protocol

Number

ON/OFF

1=open, 0=close Device default set = open

Sensitivity Vibration sensitivity Sensitivitymaximum SensitivityDevice default set=1

Ending

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

Note: The secondary IP port is used to connect after the standby IP port resolution fails

Downlink Code:BP59,

Special Explanation

Device default set = open

Sensitivity=1, the maximum Sensitivity Device default set=1

Page 32: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

Example TRVAP59, 123456,1,40# Explanation Sample FieldnameTRV HeaderAP59 Protocol

Code 123456 Serial

Number1 ON/OFF

Status 40 Sensitivity# Ending

3.24 ON/OFF Sleep Status When Device Stationary(Downlink Code

Downlink Example TRVDP21,123456,1# Explanation Sample FieldnameTRV HeaderDP21 Protocol

Code 123456 Serial

Number1 ON/OFF

Status

# EndingAnswer Example

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note Special ExplanationHeader Protocol

Number

ON/OFF

1=open, 0=close

Sensitivity Ending

ON/OFF Sleep Status When Device StationaryDownlink Code:DP21,Answer:CP21)

Fieldname Note Special ExplanationHeader Protocol

Number

ON/OFF

1: enable sleep mode when device is stationary 0: disable sleep mode when device is stationary

Device default set = open

Ending

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

ON/OFF Sleep Status When Device Stationary)

Special Explanation

Device default set = open

Page 33: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

TRVCP21,123456,1# Explanation Sample FieldnameTRV HeaderCP21 Protocol

Code 123456 Serial

Number1 Command

execution status

# Ending

3.25 Set Deep Sleep to Trigger Voltage and Recover Voltage(Downlink Code

Downlink Example TRVDP22, 123456,5.0,12.0#Explanation Sample FieldnameTRV HeaderDP22 Protocol

Code 123456 Serial

Number5.0 Deep sleep

to trigger voltage

12.0 Recover Voltage

# EndingAnswer Example TRVCP22,123456,1#

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note Special ExplanationHeader Protocol

Number

Command execution

0= successful, 1=failed

Ending

Set Deep Sleep to Trigger Voltage and Recover Downlink Code:DP22,Answer:

#

Fieldname Note Special ExplanationHeader Protocol

Number

Deep sleep to trigger voltage

5.0V, Unit: V Default trigger voltage=0Vdisable deep sleep

Recover Voltage

12.0V, Unit: V

Ending

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

Set Deep Sleep to Trigger Voltage and Recover :CP22)

Special Explanation

Default trigger voltage=0V , 0V means disable deep sleep

Page 34: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

Explanation Sample FieldnameTRV HeaderCP22 Protocol

Code 123456 Serial

Number1 Command

execution status

# EndingNote: The recover voltage can not be

3.26 InitializationDownlink Example TRVBP62# Explanation Sample FieldnameTRV HeaderBP62 Protocol

Code # EndingAnswer Example TRVAP62# Explanation Sample FieldnameTRV HeaderAP62 Protocol

Code # Ending

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note Special ExplanationHeader Protocol

Number

Command execution

0= successful, 1=failed

Ending Note: The recover voltage can not be lower than trigger voltage.

nitialization(Downlink Code:BP62,Answer

Fieldname Note Special ExplanationHeader Protocol

Ending

ieldname Note Special ExplanationHeader Protocol

Ending

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

Answer:AP62)

Special Explanation

Special Explanation

Page 35: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

3.27 Remote RebootDownlink Example TRVBP61# Explanation Sample FieldnameTRV HeaderBP61 Protocol

Code # EndingAnswer Example TRVAP61# Explanation Sample FieldnameTRV HeaderAP61 Protocol

Code # Ending

3.28 Set Device IP and PortCP20)

Downlink Example TRVDP20, 123456,0,127.0.0.1,8011# Explanation Sample FieldnameTRV HeaderDP20 Protocol

Code 123456 Serial

Number

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Remote Reboot(Downlink Code:BP61, Answer

Fieldname Note Special ExplanationHeader Protocol

Ending

Fieldname Note Special ExplanationHeader Protocol

Ending

Set Device IP and Port(Downlink Code:D

127.0.0.1,8011# 或 TRVDP20,000001,1,gps.123456.com,8011#

Fieldname Note Special ExplanationHeader Protocol

Number

Version 1.8 Update Date: Oct.19th, 2017

, Answer:AP61)

Special Explanation

Special Explanation

DP20,Answer:

gps.123456.com,8011#

Special Explanation

Page 36: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

1 IP or Domain Flag

127.0.0.1 or gps.123456.com

IP or Domain

8011 Port # EndingAnswer Example TRVCP20,123456,1# Explanation Sample FieldnameTRV HeaderCP20 Protocol

Code 123456 Serial

Number1 Command

execution status

# Ending

3.29 Set External Low Power AlarmAnswer:CP23

Downlink Example TRVDP23, 123456,5.0# Explanation Sample FieldnameTRV HeaderDP23 Protocol

Code 123456 Serial

Number

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

IP or Domain 0: IP

1: Domain

IP or Domain

Ending

Fieldname Note Special ExplanationHeader Protocol

Number

Command execution

0= successful, 1=failed

Ending

Set External Low Power Alarm(Downlink CodeCP23)

Fieldname Note Special ExplanationHeader Protocol

Number

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

ink Code:DP23,

Special Explanation

Page 37: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

5.0 Value of external power low alarm

# EndingAnswer Example TRVCP23,123456,1# Explanation Sample FieldnameTRV HeaderCP23 Protocol

Code 123456 Serial

Number1 Command

execution status

# Ending

3.30 Set Heading Change AlarmAnswer:CP24

上行 Example TRVDP24,123456,1,30# Explanation Sample FieldnameTRV HeaderDP24 Protocol

Code 123456 Serial

Number1 ON/OFF

status

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Value of external power low

Unit: V Default = 0V, means closeThe alarm only takes effect after Setup

Ending

Fieldname Note Special ExplanationHeader Protocol

Number

Command execution

0= successful, 1=failed

Ending

Set Heading Change Alarm(Downlink CodeCP24)

Fieldname Note Special ExplanationHeader Protocol

Number

ON/OFF

Default set = open 1=open

Default set = open

Version 1.8 Update Date: Oct.19th, 2017

Default = 0V, means close The alarm only takes effect after Setup

Special Explanation

Downlink Code:DP24,

Special Explanation

Default set = open

Page 38: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

30 Heading degree

# EndingAnswer Example TRVCP24, 123456,1# Explanation Sample FieldnameTRV HeaderCP24 Protocol

Code 123456 Serial

Number1 Command

execution status

# Ending

3.31 Remote Turn Off DeviceCP26)

Downlink Example TRVDP26,123456# Explanation Sample FieldnameTRV HeaderDP26 Protocol

Code 123456 Serial

Numb# EndingAnswer

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

0= close

Heading degree

Unit:° Default set =30°

Ending

Fieldname Note Special ExplanationHeader Protocol

Number

Command xecution

0= successful, 1=failed

Ending

Remote Turn Off Device(Downlink Code:

Fieldname Note Special ExplanationHeader Protocol

Number

Ending

Version 1.8 Update Date: Oct.19th, 2017

Default set =30°

Special Explanation

:DP26,Answer:

Special Explanation

Page 39: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

Example TRVCP26,123456,1# Explanation Sample FieldnameTRV HeaderCP26 Protocol

Code 123456 Serial

Number1 Command

execution status

# EndingNote: This command works only after device disconnect from external power.

3.32 Ask for LocationDownlink Example TRVDP35# Explanation Sample FieldnameTRV HeaderDP35 Protocol

Code # Serial

NumberAnswer Example TRVCP35# Explanation Sample FieldnameTRV HeaderCP35 Protocol

Code

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Fieldname Note Special ExplanationHeader Protocol

Number

Command execution

0= successful, 1=failed

Ending rks only after device disconnect from external power.

Ask for Location(Downlink Code0:DP35,

Fieldname Note Special ExplanationHeader Protocol

Number

Fieldname Note Special ExplanationHeader Protocol

Version 1.8 Update Date: Oct.19th, 2017

Special Explanation

rks only after device disconnect from external power.

,Answer: CP35)

Special Explanation

Special Explanation

Page 40: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

# Serial Number

Note: Device answer after received this command, then open GPS and report GPS location packet if it’s GPS located in 3min, repor

3.33 ON/OFF ACC AlarmCP36)

Downlink Example TRVDP36,123456,1# Explanation Sample FieldnameTRV HeaderDP36 Protocol

Code 123456 Serial

Number1 ON/OFF

Status # EndingAnswer Example TRVCP36, 123456,1# Explanation Sample FieldnameTRV HeaderCP36 Protocol

Code 123456 Serial

Number1 ON/OFF

Status # EndingNote: After ACC alarm enabled, ACC ON or OFF more than 5seconds to report this alarm.

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Number

Note: Device answer after received this command, then open GPS and report GPS location packet if it’s GPS located in 3min, report LBS location packet if gsp signal invalid.

ON/OFF ACC Alarm(Downlink Code:DP36

Fieldname Note Special ExplanationHeader Protocol

Number

ON/OFF

1: ACC Alarm enabled 0: ACC Alarm disabled

Default set = 0

Ending

Fieldname Note Special ExplanationHeader Protocol

Number

ON/OFF

1: ACC Alarm enabled 0: ACC Alarm disabled

Default set = 0

Ending Note: After ACC alarm enabled, ACC ON or OFF more than 5seconds to report this alarm.

Version 1.8 Update Date: Oct.19th, 2017

Note: Device answer after received this command, then open GPS and report GPS location t LBS location packet if gsp signal invalid.

DP36,Answer:

Special Explanation

Default set = 0

Special Explanation

Default set = 0

Note: After ACC alarm enabled, ACC ON or OFF more than 5seconds to report this alarm.

Page 41: VT202 GPS Tracker GPRS Protocol V1 - Tracker, GPS Tracking … · 2019. 3. 21. · rä /l znk vxuzuiur ot\ur\ky )notkyk tgsky ux )notkyk ingxgizkxy ]orr hk iut\kxzkj [yotm ;toiujk

File Name: VT202 GPRS Protocol VersionProject: VT202 Update Dat

Version 1.8 Update Date: Oct.19th, 2017