aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-02 10:16:21 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-02 10:16:21 +1200
commit4137d1fa6c85676d9b7ded79b526bb9d57c511a0 (patch)
treef538ed5a0ab9ccf21f2983406adccf5161f2e5d3 /test/org/traccar
parent6a294a6f574c610e6577224c0eea0e65ce8993f2 (diff)
downloadtrackermap-server-4137d1fa6c85676d9b7ded79b526bb9d57c511a0.tar.gz
trackermap-server-4137d1fa6c85676d9b7ded79b526bb9d57c511a0.tar.bz2
trackermap-server-4137d1fa6c85676d9b7ded79b526bb9d57c511a0.zip
Support ERI GV300 messages
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/Gl200ProtocolDecoderTest.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
index 811c0f62c..9e27ea3ee 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -11,6 +11,21 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest {
Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new Gl200Protocol());
verifyPositions(decoder, text(
+ "+RESP:GTERI,060502,861074023376992,,00000002,27239,10,1,1,0.2,312,183.3,-79.320820,-2.499110,20170401212005,0740,0000,EE4E,C98F,00,0.0,02114:36:35,,,90,220504,2,0,0,20170401212007,9E3D$"));
+
+ verifyPositions(decoder, text(
+ "+RESP:GTFRI,060502,861074023689626,,25202,10,1,1,0.0,0,2744.1,-78.261047,0.023452,20170401211940,,,,,,0.0,00079:19:15,,,51,110000,,,,20170401212003,4DA7$"));
+
+ verifyPositions(decoder, text(
+ "+RESP:GTFRI,060100,135790246811220,,,00,1,1,4.3,92,70.0,121.354335,31.222073,20090214013254,0460,0000,18d8,6141,00,2000.0,12345:12:34,,,80,210100,,,,20090214093254,11F0$"));
+
+ verifyPositions(decoder, text(
+ "+RESP:GTERI,06020B,862170010196747,,00000000,,10,1,2,1.8,0,-2.5,117.198440,31.845219,20120802061037,0460,0000,5663,0358,00,0.0,,,,0,410000,20120802061040,0012$"));
+
+ verifyPositions(decoder, text(
+ "+RESP:GTERI,060502,861074023692562,,00000002,14197,10,1,1,0.2,220,491.8,-79.064212,-2.159754,20170401212007,0740,0000,EE49,CE25,00,0.0,01509:10:58,,,87,220104,2,0,0,20170401212010,D14D$"));
+
+ verifyPositions(decoder, text(
"+RESP:GTFRI,210102,354524044925825,,1,1,1,29,2.8,0,133.7,-90.203063,32.265473,20170318005208,,,,,10800,4,20170318005208,0002$"));
verifyPositions(decoder, false, text(