Hi!
I have an device using gt06, protocol and in the web platform I'm receiving continuous alarms, so I started to make my own research and got the following package (from device):
2017-08-21 13:03:35 DEBUG: [4A04F54C: 5023 < 21.4.7.5] HEX: 78780a13400503020100741c3b0d0a
78780a13400503020100741c3b0d0a
where
40
is Terminal Information
05
is voltage level
03
is GSM strength signal
0201
is Alarm/Language
According with gt06 protocol documentation, Terminal Information segment (in the package it woul be the string: 40 turns out to be: 01000000
, where the bit 6 with 1 value means GPS Tracking is on, AND value 000 in bits 3-4-5 means Normal.
The problem is in the Alarm/Language segment, because 0201, where 02 (former bit) means Power Cut Alarm.
So, in the first segment means no alarm, while in the second segment there is, the question (finally) is, wich one is correct?
Thanks!!
As far as I understand it, the first byte (02
) is alarm mask. The second one (01
) is language, Chinese in your case.
Sorry, what do you mean with "mask alarm", it's is not a real alarm?
In the documentation of protocol, it says:
Alarm/Language
0x00 (former bit) 0x01 (latter bit)
former bit: terminal alarm status (suitable for alarm packet and electronic fence project)
former bit:
0x00: normal
0x01: SOS
0x02: Power Cut Alarm
0x03: Shock Alarm
0x04: Fence In Alarm
0x05: Fence Out Alarm
Your device reports power cut, so as far as I can see, everything working as per documentation.
Hi!
I have an device using gt06, protocol and in the web platform I'm receiving continuous alarms, so I started to make my own research and got the following package (from device):
78780a13400503020100741c3b0d0a
where
40
is Terminal Information05
is voltage level03
is GSM strength signal0201
is Alarm/LanguageAccording with gt06 protocol documentation, Terminal Information segment (in the package it woul be the string: 40 turns out to be:
01000000
, where the bit 6 with 1 value means GPS Tracking is on, AND value 000 in bits 3-4-5 means Normal.The problem is in the Alarm/Language segment, because 0201, where 02 (former bit) means Power Cut Alarm.
So, in the first segment means no alarm, while in the second segment there is, the question (finally) is, wich one is correct?
Thanks!!