Вы находитесь на странице: 1из 4

GPRS Protocol

1. Location Data and Heartbeat data


*XX,YYYYYYYYYY,V1,HHMMSS,S,latitude,D,longitude,G,speed,direction,DDMMYY,vehicle_status,
net_mcc,net_mnc,net_lac,net_cellid#

* Command Head
XX, - Manufacturer Name
YYYYYYYYYY, - Serial, GPS TRACKER ID
V1, - Data Type, V1 is heartbeat data, V2 is Location Data
HHMMSS, - Time Hour/Minute/Second, 0 time zone
S, - S=A/V, A is Valid , V is Invalid
latitude, - Latitude
D, - D=N/S, N is North Latitude, S is South Latitude
longitude, - Longitude
G, -G=E/W, E is East Longitude, W is west longitude
speed, - Speed,Speed is NM, not KM
Direction, - Direction
DDMMYY, - Date Day/Month/Year
vehicle_status, - See Appendix I
net_mcc, - GSM operator MMC Code
net_mnc, -GSM Opertor MNC Code
net_lac, -GSM tower base station area code
net_cellid -GSM tower base station code
# -Command End

Vehicle_status ,4 bytes, the data about terminal status and alarm status.
ASCII character represented the hexadecimal value.
Below is the meaning of each variable.
bit uses negative logic, means bit=0 is valid.

Example:
*HQ,2150000452,V1,191046,A,3653.1621,S,17443.7627,E,000.29,000,240217,FBFF9FFF,530,01,06
072,7213#
Appendix I-Vehicle status

No First Byte Second Byte Third Byte Fourth Byte

0 1 Undefined 0 GPS Receiver Error 0 Undefined 1 Undefined

Vehicle Defence
1 0 Tow Alarm 0 Shock alarm 0 0 Thief alarm
alarm on

Overspeed
2 0 Stored way points 0 Undefined 0 ACC off 0
alarm

Disconnect with car


3 0 Car in Oil Cut status 0 battery, using back 1 Undefined 0 Undefined
up battery

Main power off


4 0 alarm(disconnect 1 Undefined 1 Undefined 0 Undefined
with car battery)

5 1 Undefined 1 Undefined 0 Engine 0 Undefined

6 1 Undefined 1 Undefined 1 Undefined 1 Undefined


7 1 Undefined 1 Undefined 1 Undefined 1 Undefined

2. Command List
1. Locate command:Reply google map link
Command:6690000
2. Turn on acc alarm SMS: 886+user password
Eg: 8860000
Turn off acc alarm SMS: 887+user password
Eg: 8870000
Turn on acc alarm phone call: 888+user password
Eg: 8880000
Turn off acc alarm phone call: 889+user password
Eg: 8890000
3. Set admin number
Command: controller phone number+ user password +space+Sequence number (1-3)
Eg: 158111122220000 1
Reply : SET USER NUMBER 1 OK.
Eg: 168111122220000 2
Reply : SET USER NUMBER 2 OK
Eg: 178111122220000 3
Reply : SET USER NUMBER 3 OK
2. Delete admin number :
D101# (Delete 1st admin number)
D102# (Delete 2nd admin number)
D103# (Delete 3rd admin number)
3. Remote voice monitoring:
Command:66
Set admin number first, then send this command from the admin number to gps
tracker, gps tracker will call admin number
4. Change Password:
Remark:admin number can set 1 only, new number will overwrite the old one.
Default password:0000
Command:777+new password +old password (4 figures)
5. Reset:
Command:RESET
6. Restart GPS tracker
Command:RESTART
7. Inquiry parameters:
Command:CXZT
8. APN Setting:
Command1: 803+user password+space+APN
Eg:8030000 CMNET
Command2 : 803+user password+space+APN+space+APN user name+space+APN Password
9. Set ip and port:
Command: 804+user password+space+IP+space+Port
Eg: 8040000 58.64.205.22 8000
10. Over speed alarm:
Command : 122+user password+space+X
Eg: 1220000 120
Reply: SET RATE LIMIT:120
Close command : 1220000 0
Note : X is speed benchmark value, which is an integral number. unit is KM/H with defined domain of
[0, 999].
11. Defense alarm:
Set Up Defence:712+password
Eg:7120000
Reply:SF OK
Set Down Defence:713+password
Eg: 7130000
Reply:CF OK