MEITRACK T622 GPRS Protocol
Copyright © 2017 Meitrack Group All rights reserved. - 31 -
2)
If the number is 0, the temperature sensor is not numbered. Then send the C42
command to read the mappings of sensor SNs and numbers.
3)
Use the C40 command to index all sensors and bind information in the database,
such as the IMEI number, SN, number, and customized name.
4)
If a high or low temperature alert is required, send the C43 command to set the
temperature value and customize a name. You are advised to use the installation
path as the name and save the name to the database.
5)
If the sensor is pulled out or replaced when the device is online, use the C46
command to check the sensor. If data is inconsistent, use the C40 and C43
commands to set data.
The device uploads current temperature data by the AAA event. If the number in
temperature data is 0, the temperature sensor is not registered. The platform
automatically sends the C42 command to obtain the temperature sensor SN and
number list. Find out the sensor whose number is 0, and register it.
n: The maximum value is 8.
SN: unique number to identify a temperature sensor. Eight bytes. Hexadecimal string.
The SN is displayed on the platform like 28 1B D5 23 04 00 00 57, which is the same as
that on the sensor label.
Number: one byte. Hexadecimal. The value ranges from 1 to 254.
Registration result: 0x01, 0x02, 0x03, and 0x04
0x01: The registration is successful.
0x02: The number or SN already exists.
0x03: All sensors are registered.
0x04: Registration failed. Hexadecimal.
Applicable Model
T622
Example (
ASCII is used to display examples because hexadecimal characters cannot be displayed.
)
GPRS Sending
@@q35,012896001078259,C40,(1BD5#040000W02*50\r\n
GPRS Reply
$$q36,012896001078259,C40,(1BD5#040000W0201*1B \r\n
3.36
Deleting a Registered Temperature Sensor – C41
GPRS Sending
C41,
Number 1
,
Number 2
,…
Number n
GPRS Reply
C41,
Number 1
,
Result
,
Number 2
,
Result
,…
Number n
,
Result
Description
Number: indicates the registered sensor number; hexadecimal. The value ranges from 1
to 254.
Result: Decimal.
1
indicates deletion succeeded.
2
indicates that the number does not
exist.
3
indicates deletion failed.
To delete all registered temperature sensors, send command C41 only. If deletion is
successful,
OK
is returned. If not,
Error
is returned.
Applicable Model
T622
Example
GPRS Sending
@@n28,012896001078259,C41,01*19\r\n
GPRS Reply
$$n30,012896001078259,C41,01,1*37\r\n