diff options
author | Stefan Clark <stefanclark@gmail.com> | 2022-08-06 17:42:22 +0100 |
---|---|---|
committer | Stefan Clark <stefanclark@gmail.com> | 2022-08-06 17:42:22 +0100 |
commit | dbc5fc5dcf697dcc00d357bbca5fe4669325148b (patch) | |
tree | 86396e0e6f4f2baa2af9e43f17b749eae7f651ec /src/test/java/org/traccar/protocol/Xexun2FrameDecoderTest.java | |
parent | 42e88c2bf95962f1274a8bbb6e8fc09af95f627f (diff) | |
download | trackermap-server-dbc5fc5dcf697dcc00d357bbca5fe4669325148b.tar.gz trackermap-server-dbc5fc5dcf697dcc00d357bbca5fe4669325148b.tar.bz2 trackermap-server-dbc5fc5dcf697dcc00d357bbca5fe4669325148b.zip |
Updated Xexun2 Protocol
Diffstat (limited to 'src/test/java/org/traccar/protocol/Xexun2FrameDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/Xexun2FrameDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Xexun2FrameDecoderTest.java b/src/test/java/org/traccar/protocol/Xexun2FrameDecoderTest.java index 7209a423b..34437862c 100644 --- a/src/test/java/org/traccar/protocol/Xexun2FrameDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Xexun2FrameDecoderTest.java @@ -14,6 +14,10 @@ public class Xexun2FrameDecoderTest extends ProtocolTest { binary("faaf0014000286147503139003400032f2b001002f4260b0d6a0008019104a3378323130333135317c323130333132303100704020308715758089502023015648643670faaf"), decoder.decode(null, null, binary("faaf0014000286147503139003400032f2b001002f4260b0d6a0008019104a3378323130333135317c323130333132303100704020308715758089502023015648643670faaf"))); + verifyFrame( + binary("FAAF123456FAAF123456FBBF123456FAAF"), + decoder.decode(null, null, binary("FAAF123456FBBF01123456FBBF02123456FAAF"))); + } } |