Meitrack p88l Gprs Protocol
Meitrack p88l Gprs Protocol
Change History
File Name MEITRACK P88L GPRS Protocol
Project P88L Creation Date 2020-01-17
Update Date 2020-10-30
Subproject GPRS Protocol Total Pages 40
Version V1.3 Confidential Internal Documentation
Contents
1 Command Format .............................................................................................................................................. - 5 -
1.1 GPRS Command Format ......................................................................................................................... - 5 -
1.2 Tracker Command Format ...................................................................................................................... - 5 -
1.3 Event Code .......................................................................................................................................... - 11 -
2 Command List .................................................................................................................................................. - 12 -
3 Command Details ............................................................................................................................................. - 14 -
3.1 Real-Time Location Query – A10........................................................................................................... - 14 -
3.2 Setting a Heartbeat Packet Reporting Interval – A11 ............................................................................. - 14 -
3.3 Tracking by Time Interval – A12 ............................................................................................................ - 15 -
3.4 Setting the Cornering Report – A13 ...................................................................................................... - 15 -
3.5 Tracking by Distance – A14 ................................................................................................................... - 16 -
3.6 Waking the Device Up by Vibration – A19 ............................................................................................. - 16 -
3.7 Setting GPRS Parameters – A21 ............................................................................................................ - 16 -
3.8 Setting the DNS Server IP Address – A22............................................................................................... - 17 -
3.9 Setting the Standby GPRS Server – A23................................................................................................. - 17 -
3.10 Setting the Man Down Alert – A29...................................................................................................... - 17 -
3.11 Reading All Authorized Phone Numbers – A70 .................................................................................... - 18 -
3.12 Setting Authorized Phone Numbers – A71 .......................................................................................... - 18 -
3.13 Setting the Smart Sleep Mode – A73................................................................................................... - 18 -
3.14 Setting APN Parameters – A81 ............................................................................................................ - 19 -
3.15 Setting the Maximum Working Time of the Woken GPS Module – A83 ................................................ - 19 -
3.16 Setting the Unit of the GPRS Data Interval – A84 ................................................................................. - 20 -
3.17 Setting a Positioning Mode – A85 ....................................................................................................... - 20 -
3.18 Setting the Smart Mode – AA5 ........................................................................................................... - 20 -
3.19 Setting the Time Interval of Searching WiFi Zones – AA6 ..................................................................... - 20 -
3.20 Setting the Audio Playing Function – AA7............................................................................................ - 21 -
3.21 Setting an Alarm Clock – AA8.............................................................................................................. - 21 -
3.22 Setting the Bluetooth Function – AA9 ................................................................................................. - 21 -
3.23 Setting the Vibration Function – AAB .................................................................................................. - 22 -
3.24 Requesting the Platform Response for the SOS Event – AAC ................................................................ - 22 -
3.25 Setting the Response Request Function of the SOS Event – AAE........................................................... - 23 -
3.26 Setting the Calling Mode for Unauthorized Phone Numbers – AAF ...................................................... - 23 -
3.27 Setting the GPS Tracking Time Interval in Smart Mode – AB0............................................................... - 23 -
3.28 Setting the interval between long connection handshakes – ABE ......................................................... - 23 -
3.29 Setting important events requires the platform to confirm successful reception – ABF ......................... - 24 -
3.30 Setting a Geo-Fence – B05.................................................................................................................. - 24 -
3.31 Deleting a Geo-Fence – B06................................................................................................................ - 25 -
3.32 Setting the Speeding Alert – B07 ........................................................................................................ - 25 -
3.33 Setting the Vibration Sensitivity Level – B09........................................................................................ - 25 -
3.34 Fast Setting the Towing Alert – B10..................................................................................................... - 25 -
3.35 Setting a Polygonal Geo-Fence – B11 .................................................................................................. - 26 -
3.36 Turning off the LED Indicator – B31..................................................................................................... - 26 -
1 Command Format
Number of remaining 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
cache records Contains four bytes; hexadecimal; little-endian The number of remaining
cache records is 0.
Number of data packets Indicates the number of data packets in a piece of 0x01 0x00
data. There is only one data packet
Contains two bytes; hexadecimal; little-endian in the piece of data.
Length of a data packet Contains two bytes; hexadecimal; little-endian 0x54 0x00
The length of a data packet is
84 bytes.
Total number of ID in a Contains two bytes; hexadecimal; little-endian 0x13 0x00
data packet There are 19 ID numbers in the
data packet.
Number of 1-byte Value range: 0x00–0xFF 0x05
parameter ID The length of the following parameter ID numbers There are five parameter ID
is one byte. numbers.
0x00: There is no parameter ID
number whose length is one
byte.
Event code Parameter For details, see the section 1.3 "Event Code." 0x23
ID: 0x01 The event code is 35.
GPS Parameter 0x01: The GPS positioning is valid. 0x00
positioning ID: 0x05 0x00: The GPS positioning is invalid. The GPS positioning is invalid.
status
Number of Parameter Indicates the number of received GPS satellites. 0x00
satellites ID: 0x06 The number of received GPS
satellites is 0.
GSM signal Parameter Value range: 0x00–0x31 0x0E
strength ID: 0x07 The GSM signal strength is 14.
Input port Parameter Indicates the status values of eight input ports. 0x00
status ID: 0x15 Bits 0–7 correspond to status of input ports 1–8. Status: Input inactive
Hexadecimal digits need to be converted to binary
digits.
Geo-fence Parameter The data is available only when the GPRS event 0x00
number ID: 0x1B code is 20 or 21. There is no geo-fence number.
Battery Parameter Remaining battery power 0x2E
percentage ID: 0xFE69 The remaining battery power is
46%.
Number of 2-byte Value range: 0x00–0xFF 0x06
parameter ID The length of the following parameter ID numbers There are six parameter ID
is two bytes. numbers.
Speed Parameter Unit: km/h; little-endian 0x00 0x00
ID: 0x08 The driving speed is 0 km/h.
Driving Parameter Unit: degree 0x00 0x00
direction ID: 0x09 When the parameter value is 0, the direction is The driving direction is 0
due north. The parameter value ranges from 0 to degree.
359. Little-endian.
Horizontal Parameter Value range: 5–999 0x00 0x00
dilution of ID: 0x0A Unit: 1/10; little-endian The HDOP is 0.
precision
(HDOP)
Altitude Parameter Unit: meter; little-endian 0x00 0x00
ID: 0x0B The altitude is 0.
AD5 Parameter External power analog <AD5>; little-endian 0xCF 0x01
ID: 0x1A Voltage formula of analog: AD5/100 Convert the digits to decimal
digits.
463/100 = 4.63
The voltage of the external
power supply is 4.63 V.
Number of 4-byte Value range: 0x00–0xFF 0x07
parameter ID The length of the following parameter ID numbers There are seven parameter ID
is four bytes. numbers.
0x00: There is no parameter ID
number.
Latitude Parameter Unit: millionth of a degree; little-endian 0x25 0x87 0x57 0x01
ID: 0x02 Convert the digits to decimal
digits.
The latitude is 22.513445
degrees.
Longitude Parameter Unit: millionth of a degree; little-endian 0xE3 0x60 0xCC 0x06
ID: 0x03 Convert the digits to decimal
digits.
The longitude is 114.057443
degrees.
Date and Parameter Contains four bytes; little-endian 0x6B 0xBB 0x43 0x25
time ID: 0x04 Unit: second The value is 625195883
Starting time: 1 January, 2000, 00:00:00 am seconds.
2019-10-24 01:31:23
Mileage Parameter Indicates the total mileage. 0x00 0x00 0x00 0x00
ID: 0x0C Unit: meter; little-endian The total mileage is 0.
Run time Parameter Indicates the total time. 0xC7 0x54 0x03 0x00
ID: 0x0D Unit: second; little-endian The run time is 584108
seconds.
System flag Parameter The data is available only when the GPRS event 0x01 0x00 0x00 0x00
ID: 0x1C code is 35. The device parameters are
Bit 0: Whether to modify the EEP2 parameter. modified.
When the parameter value is 1, the EEP2
parameter is modified.
Bit 1: Indicates the ACC status. When the
parameter value is 1, the ACC is on.
Bit 2: Indicates the anti-theft status. When the
parameter value is 1, the device is in the arming
state.
Bit 3: vibration flag. When the parameter value is
1, the device is vibrating.
Bit 4: motion flag. When the parameter value is 1,
the device is moving.
Bit 5: Whether to connect the external power
supply. When the parameter value is 1, the
external power supply is connected.
Bit 6: Whether the device is charging. When the
parameter value is 1, the device is charging.
Bit 7: Whether to enable the sleep mode. When
the parameter value is 1, the sleep mode is
enabled.
Bit 8: Whether to connect the FMS. When the
parameter value is 1, the FMS is connected.
Bit 9: Whether to enable the FMS function. When
the parameter value is 1, the FMS function is
enabled.
Bits 10–31: reserved.
Step Parameter Unit: step; little-endian 0x00 0x00 0x00 0x00
ID: 0xFE37 The number of steps is 0.
Number of unfixed-byte Value range: 0x00–0xFF 0x01
parameter ID The length of the following parameter ID numbers There is one parameter ID
is unfixed. The following data has no fixed number.
sequences. For details, see the chapter 4 0x00: There is no parameter ID
"Appendix 1: Parameter ID" and the chapter 5 number whose length is
"Appendix 2: Data Type." unfixed.
WiFi info 1 Parameter When no GPS signal is detected, enable the WiFi 0x08 0x00 0x25 0x86 0xA7
ID: 0x1D function. Then WiFi data can be obtained. 0x0B 0x0A 0xDA 0xFF
<Data length><MAC><RSSI> 0x08: The data length is 8
Data length: hexadecimal; indicates the length of bytes.
the MAC address and RSSI. Unit: byte. The fixed 0x00 0x25 0x86 0xA7 0x0B
data length is 8 bytes. 0x0A:
MAC: Contains 6 bytes; indicates the MAC address The MAC address is 00-25-86-
of the WiFi network. A7-0B-0A.
RSSI: signed; 2 bytes; little-endian; indicates the 0xCF 0xFF: The signal strength
WiFi signal strength. is -49 dbm.
WiFi info 2 Parameter The description is the same as that of WiFi info 1. 0x08 0x38 0x83 0x45 0xE1
ID: 0x1E 0xA6 0x36 0XC7 0xFF
info.
Base Parameter The description is the same as that of the current The description is the same as
station 2 ID: 0x10 base station info. that of the current base station
info.
Base Parameter The description is the same as that of the current The description is the same as
station 3 ID: 0x11 base station info. that of the current base station
info.
Base Parameter The description is the same as that of the current The description is the same as
station 4 ID: 0x12 base station info. that of the current base station
info.
Base Parameter The description is the same as that of the current The description is the same as
station 5 ID: 0x13 base station info. that of the current base station
info.
Network Parameter The network information that the device is 14 01 01 11 4C 54 45 28 45 55
Information ID: 0x4B connecting to. 54 52 41 4E 2D 42 41 4E 44 38
<ID_Len><version><Type><DescriptorLen><Des 29
criptor> 14: The data length is 14 bytes
ID Len: 1 byte 01: version
Version: 1 byte, 0x01 by default 01: using mobile network
Type:The type of network being connected,1 11: The length of the network
byte. 0: No Network, 1: Mobile Network, 2:WIFI descriptor is 17 bytes
(Reserved) 4C 54 45 28 45 55 54 52 41 4E
DescriptorLen: the length of the network 2D 42 41 4E 44 38 29: Network
descriptor, 1 byte, range: 0~32 descriptor is LTE(EUTRAN-
Descriptor: Network descriptor, string BAND8)
Data type:STRUCT
Call record Parameter The data is available only when the GPRS event 1C 01 01 31 33 32 35 30 30 36
ID: 0xFE36 code is 111. 32 37 35 31 30 00 00 00 00 09
< Data length >< Protocol version >< Calling type > 30 14 07 08 19 10 00 00 00
< Phone number >< Date >< Calling time >
1C: The data length is 28 bytes.
Data length: hexadecimal; indicates the length of 01: Indicates the protocol.
the Call record. Unit: byte. 01: Indicates Two-way calling.
Protocol version: contains one byte. 31 33 32 35 30 30 36 32 37 35
Calling type: contains one byte, 01: Two-way 31 30 00 00 00 00: Indicates
calling. 02: Listen-in. the phone number.
Phone number. The data length is 16 bytes. 09 30 14 07 08 19: Indicates
Date: little-endian. The data length is 6 bytes. the date, converted digits:
Calling time: little-endian. Unit: second 190807-14:30:09.
10 00 00 00: Indicates the
calling time; 10 seconds .
WiFi zone Parameter The data is available only when the GPRS event 05 01 31 32 33 34
ID: 0xFE39 code is 150 or 151.
< Data length >< Protocol version >< Geo-fence 05: The data length is 5 bytes.
name > 01: Indicates the protocol
Data length: hexadecimal; indicates the length of version.
the WiFi zone. Unit: byte. 31 32 33 34: Indicates the geo-
Protocol version: contains one byte. fence name
Geo-fence name: contains a maximum of 64 bytes.
Alarm clock Parameter The data is available only when the GPRS event 04 01 31 32 33
info ID: 0xFE40 code is 127.
< Data length >< Protocol version >< Alarm clock 04: The data length is 4 bytes.
name > 01: Indicates the protocol
Data length: hexadecimal; indicates the length of version.
the Alarm clock info. Unit: byte. 31 32 33: Indicates the alarm
Protocol version: contains one byte. clock name;
Alarm clock name; contains a maximum of 32
bytes.
* Contains one byte. It is used to separate the *
command content from the checksum.
ASCII (hexadecimal: 0x2A)
Checksum Contains two bytes. Indicates the sum of 8B
characters from the packet header "$$"to the
asterisk "*" (including the packet header and
asterisk).
Hexadecimal
$$<Data identifier><Data
length>,<IMEI>,<Command type>,<Hexadecimal
data packet><*Checksum>\r\n
\r\n Contains two bytes. This is an ending character. \r\n
The type is ASCII (hexadecimal: 0x0d,0x0a).
Note:
1) If the first byte of ID is 0XFE, it indicates that the ID is an extension ID, and the actual ID is added by the first and
second bytes. For example: 0XFE 0X01 means ID:255;0XFE 0X02 means ID:256, and so on.
2) In order to the tracking platform showing that the P88L is online at any time, if the P88L does not upload data to
the server in more than 10 minutes, it will automatically send a data format of AAA to keep the network link
connected.If there is no need for this, ignore this data or use the ABE command to turn it off.The data format is
as follows (the number of commas is fixed):
$$<Data identifier><Data length>,<IMEI>,AAA,31,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
2 Command List
3 Command Details
interval.
Note:
1. The GPS positioning is enabled first. If it cannot work properly, the WiFi positioning is
enabled, which takes at most five seconds. If you want to obtain a heartbeat packet with
valid positioning information, use the A83 command to enable the GPS module.
2. If the device is in the LBS positioning mode, an event will be generated immediately.
Example
GPRS Sending @@S28,353358017784062,A11,10*FD\r\n
GPRS Reply $$S28,353358017784062,A11,OK*FE\r\n
After the above command is sent successfully, the device will send a GPRS heartbeat
packet to the platform every 10 minutes in sleep mode.
A21,1,192.168.1.1,8800.
Example
GPRS Sending @@H58,353358017784062,A21,1,server.meigps.com,8800,CMNET,,*A0
GPRS Reply $$H28,353358017784062,A21,OK*F4\r\n
0 to 3 and it is in decimal format. The default parameter value is 1. The smaller the value
is, the higher the alert probability is.
Example
GPRS Sending @@S32,353358017784062,A29,1,10,1*BB\r\n
GPRS Reply $$S28,353358017784062,A29,OK*07\r\n
GPRS Sending A71,Phone number 1,Phone number 2,Phone number 3,Phone number 4,Phone number
5
GPRS Reply A71,OK
Description Phone number: Contains a maximum of 16 bytes. If no phone numbers are set, leave
them blank. Phone numbers are empty by default.
Phone number 1/2/3/4/5: SOS phone numbers. When you call the device by using these
phone numbers, you will receive an SMS notification about the location, geo-fence alert
and low power alert.
When the SOS button is pressed, the device will dial phone numbers 1, 2, 3, 4, and 5 in
sequence. It will stop dialing when a phone number responds.
Example
GPRS Sending @@U86,353358017784062,A71,13811111111,13822222222,13833333333,
13844444444,13855555555*7C\r\n
GPRS Reply $$U28,353358017784062,A71,OK*06\r\n
module will stop working and the GSM module will enter the sleep mode. Once an event
is triggered, the GPS, WiFi and GSM modules will be woken up. The above actions will be
cycled.
Sleep level = 3: super deep sleep. If no event is triggered after five minutes, the GPS, WiFi
and GSM module will stop working. Once an event is triggered, the GPS, WiFi and GSM
modules will be woken up. The above actions will be cycled.
Note:
1. Triggering events include the SOS alert, auxiliary button pressed, vibration, towing
alert, USB plug/unplug, charging, alarm clock, reset step event, calling/incoming call
(deep sleep mode), SMS receiving (deep sleep mode).
2. The difference between the Super Deep Sleep mode and the Deep Sleep mode is
that the GSM module of the former will stop working, and the device cannot be
woken up by call and SMS.
3. The heartbeat event is triggered in the Deep Sleep mode and Supper Deep Sleep
mode, which is uploaded every one hour by default.
Example
GPRS Sending @@W27,353358017784062,A73,2*D9\r\n
GPRS Reply $$W28,353358017784062,A73,OK*0A\r\n
3.15 Setting the Maximum Working Time of the Woken GPS Module – A83
3.24 Requesting the Platform Response for the SOS Event – AAC
Data can be sent from the platform only after the platform receives the data from the
device.
Example
GPRS Sending @@W27,353358017784062,AAC,1*F2\r\n
GPRS Reply $$W27,353358017784062,AAC,1*BA\r\n
3.25 Setting the Response Request Function of the SOS Event – AAE
3.26 Setting the Calling Mode for Unauthorized Phone Numbers – AAF
3.27 Setting the GPS Tracking Time Interval in Smart Mode – AB0
Example
GPRS Sending @@W27,353358017784062,ABE,600*E0\r\n
GPRS Reply $$W28,353358017784062,ABE,OK*12\r\n
3.29 Setting important events requires the platform to confirm successful reception –
ABF
1000 meters), it will send a PRS data packet about an Exit Geo-fence alert to the server.
Result: The parameter value ranges from 1 to 5. 1: The file is downloaded successfully. 2:
The memory space is not enough. 3: The file fails to be downloaded. 4: The number of
files to be downloaded exceeds the upper limit. 5: The file has already existed.
H = 1: Delete the audio file. File name: Indicates the name of the audio file to be deleted.
GPRS reply: B67,1,File name,Result
Result: The parameter value is 1 and 2. 1: The file is deleted successfully. 2: The file fails
to be deleted.
Note:
1. The file name contains a maximum of 32 bytes.
2. The parameter * indicates that all audio files are deleted. When the value of parameter
H is 2, 3, or 4, the parameter * does not exist.
Example
GPRS Sending @@P33,353358017784062,B67,0,1.MP3*2C\r\n
GPRS Reply $$P235,353358017784062,B67,0,1.MP3,1*85\r\n
3.45 Setting whether the device is automatically switched on/off when charging– BC8
3.56 Allocating GPRS Cache and GPS Log Storage Space – D73
Mileage: The parameter value ranges from 0 to 4294967295.Decimal; unit: meter. If you
do not want to set the parameter, leave it blank.
Example
GPRS Sending @@D40,353358017784062,F08,0,4825000*51\r\n
GPRS Reply $$D28,353358017784062,F08,OK*FA\r\n
4 Appendix 1: Parameter ID
23 0X1C System flag The data is available only when the GPRS DWORD 4
event code is 35.
Bit 0: Whether to modify the EEP2
parameter. When the parameter value is 1,
the EEP2 parameter is modified.
Bit 1: Indicates the ACC status. When the
parameter value is 1, the ACC is on.
Bit 2: Indicates the anti-theft status. When
the parameter value is 1, the device is in the
arming state.
Bit 3: vibration flag. When the parameter
value is 1, the device is vibrating.
Bit 4: motion flag. When the parameter
value is 1, the device is moving.
Bit 5: Whether to connect the external
power supply. When the parameter value is
1, the external power supply is connected.
Bit 6: Whether the device is charging. When
the parameter value is 1, the device is
charging.
Bit 7: Whether to enable the sleep mode.
When the parameter value is 1, the sleep
mode is enabled.
Bit 8: Whether to connect the FMS. When
the parameter value is 1, the FMS is
connected.
Bit 9: Whether to enable the FMS function.
When the parameter value is 1, the FMS
function is enabled.
Bits 10–31: reserved.
24 0X1D WiFi info 1 <MAC><RSSI> STRUCT 8
MAC: Contains 6 bytes; indicates the MAC
address of the WiFi network.
RSSI: signed; 2 bytes; little-endian; indicates
the WiFi signal strength.
25 0X1E WiFi info 2 <MAC><RSSI> STRUCT 8
MAC: Contains 6 bytes; indicates the MAC
address of the WiFi network.
RSSI: signed; 2 bytes; little-endian; indicates
the WiFi signal strength.
26 0X1F WiFi info 3 <MAC><RSSI> STRUCT 8
MAC: Contains 6 bytes; indicates the MAC
address of the WiFi network.
31 33 32 35 30 30 36 32 37 35 31 30 00 00
00 00: Indicates the phone number. The
data length is 16 bytes.
09 30 14 07 08 19: Indicates the date; little-
endian. Converted digits: 190807-14:30:09.
10 00 00 00: Indicates the calling time;
little-endian.
33 0xFE37 09 00 00 00 dword 4
Step
The number of steps is 9.
34 0xFE39 05 01 31 32 33 34 STRUCT
05: The data length is 5 bytes.
WiFi zone 01: Indicates the protocol version.
31 32 33 34: Indicates the WiFi geo-fence
name; contains a maximum of 64 bytes.
35 0xFE40 04 01 31 32 33 STRUCT
04: The data length is 5 bytes.
Alarm clock
01: Indicates the protocol version.
info
31 32 33: Indicates the alarm clock info;
contains a maximum of 32 bytes.
36 0xFE69 Battery 0x2E BYTE 1
percentage The remaining battery power is 46%.