aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-02-28 06:06:16 -0800
committerAnton Tananaev <anton@traccar.org>2024-02-28 06:06:16 -0800
commit0e77bb0fd407806ce11593db37aa8557101022fe (patch)
treeaaf62ab16781944ccf4bf49dbb8c036eec1c4192 /src/test
parent35829121adea923d0184e88d38939713bd5f9d4a (diff)
downloadtrackermap-server-0e77bb0fd407806ce11593db37aa8557101022fe.tar.gz
trackermap-server-0e77bb0fd407806ce11593db37aa8557101022fe.tar.bz2
trackermap-server-0e77bb0fd407806ce11593db37aa8557101022fe.zip
Add GV350M series CAN support
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 6327f6579..a6e1c212f 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 {
var decoder = inject(new Gl200TextProtocolDecoder(null));
+ verifyAttributes(decoder, buffer(
+ "+RESP:GTCAN,F10413,862599050467479,GV350M,0,1,C18CFDFF,3BKHHZ8X7GF723380,2,H2898058,232160.50,896,0,64,L/H1.5,P99.20,0,40532.95,,,,,,,,,,,1,0.0,234,2812.2,-78.508807,-0.218812,20240226211921,,,,,,20240226211922,DE03$"));
+
verifyPositions(decoder, buffer(
"+RESP:GTFRI,8020040305,866314060272661,,,50,1,1,0.0,0,2957.9,-78.691727,-0.951205,20231227162916,,,,,00,0.0,,,,,100,210100,,,,20231227162916,0117$"));