aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-14 08:09:16 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-14 08:09:16 -0700
commita9199ab710056dda371aa3dd25cffc225374c0d6 (patch)
treed2d0fa417439777cde54bd4acc05e13d0a278323 /src/test/java
parent92807c47464a840999716d2e732f569351deaea0 (diff)
downloadtrackermap-server-a9199ab710056dda371aa3dd25cffc225374c0d6.tar.gz
trackermap-server-a9199ab710056dda371aa3dd25cffc225374c0d6.tar.bz2
trackermap-server-a9199ab710056dda371aa3dd25cffc225374c0d6.zip
Support AT20 protocol format
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java
index 83498b5ac..df5734568 100644
--- a/src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class TotemProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new TotemProtocolDecoder(null));
verifyPosition(decoder, text(
+ "$$0111AA353081090067318|0804400022070722520240400005B364ED5003107300001.700000002245.3919N10231.6952W000001860E"));
+
+ verifyPosition(decoder, text(
"$$0112E5864606045334223|201112223514,-68.923106,-22.455926,$Cloud,1738,621,730,12100,0,0,255,0,40,40,0,0,255,|13"));
verifyPosition(decoder, text(