aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-06-15 06:53:13 -0700
committerAnton Tananaev <anton@traccar.org>2024-06-15 06:53:13 -0700
commitbc65eb120807b7c899d3fd95fbb6684934bfa3ef (patch)
treeb48cbd60b050423ef70edbee835eef5cc7194ede /src/test/java/org
parent0c6880698769d87a866ebbb60c84dbe13ee42ce7 (diff)
downloadtrackermap-server-bc65eb120807b7c899d3fd95fbb6684934bfa3ef.tar.gz
trackermap-server-bc65eb120807b7c899d3fd95fbb6684934bfa3ef.tar.bz2
trackermap-server-bc65eb120807b7c899d3fd95fbb6684934bfa3ef.zip
Support GT06 RFID card
Diffstat (limited to 'src/test/java/org')
-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 05a33cc72..962bcb5c8 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(
+ "7878281718060e021831c6026e8acc0c361b1000140001cc00286d000f4dbf0000012ca7e001000004b2630d0a"),
+ Position.KEY_DRIVER_UNIQUE_ID, "0000012ca7e00100");
+
+ verifyAttribute(decoder, binary(
"78782732180214123324ca0162bdf0041f45d900190b0a02d4000bc5270000ec025206040202005e07e10d0a"),
Position.KEY_ALARM, Position.ALARM_POWER_CUT);