MEITRACK T622 GPRS Protocol
Copyright © 2017 Meitrack Group All rights reserved. - 32 -
3.37
Reading the Temperature Sensor SN and Number – C42
GPRS Sending
C42
GPRS Reply
C42,SN1 and number 1,SN2 and number 2,…SNn and number n
Description
SNn: indicates the n(th) sensor SN, and has eight bytes in hexadecimal format.
Number n: indicates the n(th) sensor number, and has one byte in hexadecimal format.
The value ranges from 0 to 255. If the value is
0
, the temperature sensor is not
registered.
Applicable Model
T622
Example
(ASCII is used to display examples because hexadecimal characters cannot be displayed.)
GPRS Sending
@@m25,012896001078259,C42*89\r\n
GPRS Reply
$$t45,012896001078259,C42,(B4v#040000R00,(1BD5#040000W00*13\r\n
3.38
Setting a Temperature Value for the High/Low Temperature Alert and Logical
Name – C43
GPRS Sending
C43,
Number 1
/
SN1
/
High temperature value 1
/
Low temperature value 1
/
High
temperature alert 1
/
Low temperature alert 1
/
Logical name 1
/…
Number n
/
SNn
/
High
temperature value n
/
Low temperature value n
/
High temperature alert 1
/
Low
temperature alert 1
/
Logical name n
GPRS Reply
C43,
Number 1
/
Result 1
/
Number 2
/
Result 2
…/
Number n
/
Result n
Description
n: The maximum value is 8.
Number: one byte in hexadecimal format.
SN: indicates the temperature sensor SN, and has eight bytes in hexadecimal format.
High/Low temperature value: two bytes in hexadecimal format. The first byte is the
integer part. When the high bit is
1
, the first byte is a negative integer. When the high
bit is
0
, the first byte is a positive integer. The second byte is the decimal part.
High temperature alert: one byte in hexadecimal format.
Low temperature alert: one byte in hexadecimal format.
Logical name (customized name): 16 bytes in hexadecimal format. If the name length is
less than 16 bytes, add 0x00. There are 15 English characters, and # is located at the end
of English characters to distinguish the Unicode and English characters. A maximum of
eight Chinese characters can be supported. Chinese characters must be the Unicode.
Result: one byte in hexadecimal format.
0x01
indicates setting succeeded.
0x02
indicates that the number is not located.
0x03
indicates that setting failed due to wrong
parameters.
Note: Separators (/) are not required between parameters.
Applicable Model
T622
Example
(ASCII is used to display examples because hexadecimal characters cannot be displayed.)
GPRS Sending
@@o57,012896001078259,C43,01(1BD5#040000W<0005000101T1#000000000000000
00000000000*3F