aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-03-13 19:22:02 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-03-13 19:22:02 -0800
commit3f790f5b10448d7993f9df6c4550afed4893c6a0 (patch)
treeaaf92ae6bd75260469ea75dbd13fac52f79fef57 /src/test
parentb747bc81526ef877c34d3eeca6fcd8d997b6fba8 (diff)
downloadtrackermap-server-3f790f5b10448d7993f9df6c4550afed4893c6a0.tar.gz
trackermap-server-3f790f5b10448d7993f9df6c4550afed4893c6a0.tar.bz2
trackermap-server-3f790f5b10448d7993f9df6c4550afed4893c6a0.zip
Support GV600MG format
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
index b35b78992..cd8a11b0d 100644
--- a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest {
Gl200TextProtocolDecoder decoder = new Gl200TextProtocolDecoder(null);
+ verifyAttributes(decoder, buffer(
+ "+RESP:GTINF,DC0103,865284049247079,gv600mg,21,89883070000007211665,22,0,11,12913,12917,4.26,0,1,,,20210216154607,1,79,,01,00,,,20210216104606,1EBE$"));
+
verifyPositions(decoder, buffer(
"+RESP:GTERI,040A00,862894022579562,gv200,00000002,,10,1,1,96.1,180,749.7,39.222692,24.165463,20210225065756,0420,0004,759C,3360,00,15529.8,,,2789,,01,00,2,2,282BD47A0B000063,1,FFE2,281FDD5D0B000057,1,FFC8,20210225065800,6974$"));