aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-05-17 21:47:03 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-05-17 21:47:03 -0700
commit9702fc67d842017f27832abd3b8edba47cda0f4f (patch)
treecc06ee1feacce20f05a97e5225a74772f858a104 /src/test
parentb9bcc74cf1945360dcd8dac12e2718c8f8971562 (diff)
downloadtrackermap-server-9702fc67d842017f27832abd3b8edba47cda0f4f.tar.gz
trackermap-server-9702fc67d842017f27832abd3b8edba47cda0f4f.tar.bz2
trackermap-server-9702fc67d842017f27832abd3b8edba47cda0f4f.zip
Decode additional data (fix #4677)
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index d45d7acd9..f285fde97 100644
--- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -18,6 +18,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
"78780D01086471700328358100093F040D0A"));
verifyAttribute(decoder, binary(
+ "78782b1215050d03041bcf031ff30a0be795bc001c17014e14a065dd95314504b6040000001c00000cd90ab8fb6f0d0a"),
+ Position.PREFIX_TEMP + 1, 0);
+
+ verifyAttribute(decoder, binary(
"7878151330802b00000642014f0008720000802b5ee4d4c90d0a"),
Position.KEY_BATTERY_LEVEL, 6);