aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-13 14:24:28 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-13 14:25:08 +1200
commit13bd5f99a4dde7d42ffa0fa7e323ba266a081d70 (patch)
treecb6673bc8f75adc848e4b4eb9db1020dcdbd47d6 /test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
parent33ddc7a4087b0bc091c5ce4db44409668c591a7a (diff)
downloadtrackermap-server-13bd5f99a4dde7d42ffa0fa7e323ba266a081d70.tar.gz
trackermap-server-13bd5f99a4dde7d42ffa0fa7e323ba266a081d70.tar.bz2
trackermap-server-13bd5f99a4dde7d42ffa0fa7e323ba266a081d70.zip
Add support for GV500 protocol
Diffstat (limited to 'test/org/traccar/protocol/Gl200ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Gl200ProtocolDecoderTest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
index 4bb66d960..b4f3addf2 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -10,6 +10,15 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest {
Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new Gl200Protocol());
+ verifyPositions(decoder, text(
+ "+RESP:GTFRI,1F0101,135790246811220,1G1JC5444R7252367,,,00,2,1,4.3,92,70.0,121.354335,31.222073,20090214013254,0460,0000,18d8,6141,00,0,4.3,92,70.0,121.354335,31.222073,20090101000000,0460,0000,18d8,6141,00,2000.0,12345:12:34,,,80,210100,,,50,20090214093254,11F0$"));
+
+ verifyPositions(decoder, text(
+ "+RESP:GTFRI,1F0101,135790246811220,1G1JC5444R7252367,,,00,1,1,4.3,92,70.0,121.354335,31.222073,20090214013254,0460,0000,18d8,6141,00,2000.0,12345:12:34,,92,80,210100,,,50,20090214093254,11F0$"));
+
+ verifyPositions(decoder, text(
+ "+RESP:GTFRI,1F0201,864251020108126,1C6RR7GM4FS572742,,13286,10,1,3,0.0,191,211.2,-76.729721,39.798626,20160407155620,0310,0260,043F,7BE0,00,18800.6,00038:08:54,,,0,220000,679,48,,20160407155624,25A1$"));
+
verifyPosition(decoder, text(
"+RESP:GTSTT,060228,862894020178276,,21,0,0.0,0,411.3,-63.169745,-17.776330,20160319132220,0736,0003,6AD4,5BAA,00,20160319092223,1FBD$"));