aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-02-18 13:56:32 -0800
committerAnton Tananaev <anton@traccar.org>2023-02-18 13:56:32 -0800
commit8ae0436e5edb76243e59ee6e9b2c1a6132fd9464 (patch)
treeb85665e339876d3e8d5931be11188bffa7e0c7b3 /src/test/java/org/traccar/protocol
parentec2b7b64a83aa1c3dcd0cd69c1ae7b2d0d8a7864 (diff)
downloadtrackermap-server-8ae0436e5edb76243e59ee6e9b2c1a6132fd9464.tar.gz
trackermap-server-8ae0436e5edb76243e59ee6e9b2c1a6132fd9464.tar.bz2
trackermap-server-8ae0436e5edb76243e59ee6e9b2c1a6132fd9464.zip
Fix Queclink GL53MG decoding
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-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 f3a77228c..5696353c4 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));
+ verifyPositions(decoder, false, buffer(
+ "+BUFF:GTFRI,2E0503,861106050005423,,,0,1,,,,,,,,,,,,0,0,,98,1,0,,,20200101000001,0083$"));
+
verifyAttribute(decoder, buffer(
"+RESP:GTERI,271002,863457051562823,,00000002,,10,1,1,0.0,15,28.2,-58.695253,-34.625413,20230119193305,0722,0007,1168,16B3BB,00,0.0,,,,99,210100,2,1,28F8A149F69A3C25,1,0190,20230119193314,07C7$"),
Position.PREFIX_TEMP + 1, 25.0);