aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-19 14:58:32 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-19 14:58:32 +1300
commitcb82a22fc74e225fd74e3b88b2080a31a777e425 (patch)
tree2d4ec08c6ebb98889e9671cf85b21801e9d9a590 /test
parent2757798d95d3d9b9e81dcbf1dbeb5e3c009e0473 (diff)
downloadtrackermap-server-cb82a22fc74e225fd74e3b88b2080a31a777e425.tar.gz
trackermap-server-cb82a22fc74e225fd74e3b88b2080a31a777e425.tar.bz2
trackermap-server-cb82a22fc74e225fd74e3b88b2080a31a777e425.zip
Support iButton for GL200 protocol
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/Gl200ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
index 8f0ca230b..13064bd0d 100644
--- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest {
Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new Gl200Protocol());
verifyPosition(decoder, text(
+ "+RESP:GTIDA,060228,862894020178276,,,01C68011010000C7,1,1,0,0.0,0,413.0,-63.169675,-17.776349,20160317222129,0736,0003,6AD4,32CF,00,34.9,,,,,20160317182130,1626$"));
+
+ verifyPosition(decoder, text(
"+RESP:GTIGN,060228,862894020180553,,9860,0,0.2,189,420.0,-63.158195,-17.800608,20160309022951,0736,0003,6AD4,3471,00,,881.2,20160308222956,129A$"));
verifyPosition(decoder, text(