diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-20 16:45:21 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-06-20 16:45:21 -0700 |
commit | d9d4cc75b78f8094d0ed029d61b6a37733186548 (patch) | |
tree | b89862e23b575e5235104adc2c8679d0140e0805 /src/test/java/org/traccar | |
parent | 29ded4ce1e6e39d4d2c02bacf5e3387e7774c9bd (diff) | |
download | trackermap-server-d9d4cc75b78f8094d0ed029d61b6a37733186548.tar.gz trackermap-server-d9d4cc75b78f8094d0ed029d61b6a37733186548.tar.bz2 trackermap-server-d9d4cc75b78f8094d0ed029d61b6a37733186548.zip |
Update GT06 decoder
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r-- | src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 3 |
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 22544e596..3e022765e 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")); + verifyPosition(decoder, binary( + "7878252612030C063816C3026C10540C38C9700144030901CC002866000EEE0C06040302000DA2DB0D0A")); + verifyAttribute(decoder, binary( "78784A1614051C150204EC02777E560C2A2A2A5314AF000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000007E061B0982004B24C00D0A"), Position.KEY_BATTERY_LEVEL, 100); |