From f4855e513e121b59e923af0da8d129007349c639 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 12 Jul 2020 10:34:23 -0700 Subject: Fix ICCID decoding --- src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/test/java/org/traccar') diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java index 3e022765e..46d6a6dab 100644 --- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -17,6 +17,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "78780D01086471700328358100093F040D0A")); + verifyAttribute(decoder, binary( + "79790020940a035985708236675805200502187214018966051912408052452f000355560d0a"), + Position.KEY_ICCID, "8966051912408052452"); + verifyPosition(decoder, binary( "7878252612030C063816C3026C10540C38C9700144030901CC002866000EEE0C06040302000DA2DB0D0A")); -- cgit v1.2.3