Tzonedigital_TT18 V2.1 Apr27, 2017
GSM status
1
Variable
Bit 7 to bit 6 are reserved for future use.
Bit 5: 1 Internet connection is established
0 Internet connection is not established
Bit4: 1 GPRS is registered successfully
0 GPRS is not registered
Bit3: 1 The GSM is in roaming mode
0 The GSM is in home network mode
Bit2: 1 GSM is registered successfully
0 GSM is not registered yet
Bit1: 1 Detected SIM card
0 Not detected SIM card
Bit0: 1 The GSM module is started
0 The GSM module is not started yet
Battery voltage
2
0
Unit:10mv,
for example: 0195H=405(DEC), 405*10mV=4.05V.
Temperature
2
0
Unit:0.01
℃,
convert to binary first, mark in the highest bit
,
1-disconnect
0-connect
,
negative/positive mark
1-mean the temperature is negative
0-mean the temperature is positive.
Remaining is the temperature value, convert to HEX
first , and multiply 0.01
℃
.
for example:09 DA=25.22
℃
, 49 DA= - 25.22
℃
80 00= not connect temperature/humidity sensor
humidity
1
0
Unit:100%, Hex code,
for example: 45=69%,
FF = not connect temperature /humidity sensor
Extension bits
B=0
For future use, currently, this part has nothing, does not
have any byte
Extension bits
C=0
For future use, currently, this part has nothing, does not
have any byte
Packet index
2
Variable
The value range of this part is between 1 and 9999
CRC
2
Variable
The checked content is from the “protocol number” to
the end at “CRC”, including “protocol number”,
excluding “CRC”.
Stop bits
2
0x0D 0x0A
Indicate this packet is finished