diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-16 20:49:33 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-16 20:49:33 -0700 |
commit | db45cf357db965691f87bff6d206608189afb25e (patch) | |
tree | 742ca081d6b10cf118187fba2fffc9a605676f77 /src/test/java/org/traccar/protocol | |
parent | 372743857314a0dfad83eef65ed2418a62dae04b (diff) | |
download | traccar-server-db45cf357db965691f87bff6d206608189afb25e.tar.gz traccar-server-db45cf357db965691f87bff6d206608189afb25e.tar.bz2 traccar-server-db45cf357db965691f87bff6d206608189afb25e.zip |
Support AM01 protocol
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r-- | src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java index ab1fc33f4..f3e5779e8 100644 --- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -17,6 +17,12 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "78780D01086471700328358100093F040D0A")); + verifyNotNull(decoder, binary( + "78783B2E10010D02020201CC00287D001F713E287D001F7231287D001E232D287D001F4018000000000000000000000000000000000000FF00020005B14B0D0A")); + + verifyPosition(decoder, binary( + "787822220F0C1D023305C9027AC8180C46586000140001CC00287D001F71000001000820860D0A")); + verifyAttribute(decoder, binary( "78782b1215050d03041bcf031ff30a0be795bc001c17014e14a065dd95314504b6040000001c00000cd90ab8fb6f0d0a"), Position.PREFIX_TEMP + 1, 0x1c); |