aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-11-23 18:11:56 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-11-23 18:11:56 -0800
commitf1a283153c790434087a6b5011e7a50c78a5ad55 (patch)
tree7e63ade6693ee75eb4eefd17fe8bc9d333162afb /src/test
parent05e44d8cf956f6a0d44497aa0b357036139425dd (diff)
downloadtrackermap-server-f1a283153c790434087a6b5011e7a50c78a5ad55.tar.gz
trackermap-server-f1a283153c790434087a6b5011e7a50c78a5ad55.tar.bz2
trackermap-server-f1a283153c790434087a6b5011e7a50c78a5ad55.zip
Decode additional attributes
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index 0f7b2fbce..fd5d55a50 100644
--- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -17,6 +17,9 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
verifyNull(decoder, binary(
"78780D01086471700328358100093F040D0A"));
+ verifyAttributes(decoder, binary(
+ "797900B2700000000102003500010400330012000000000000000000000000000000000000003400061354A48DFF00003400061154A48E56000011000A000000000000000000000001000803537601000282180002000802140743044211890003000A89340752000038689636001800020182002B000116002C000454A4FF350009000100000A0001010028000100002E000400000000002A00010000290004000000000030000A000101680014016802D00000B38F0D0A"));
+
verifyAttribute(decoder, binary(
"78780c95130a071223200100013ad10d0a"),
Position.KEY_ALARM, Position.ALARM_GENERAL);