aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-05 18:46:26 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-05 18:46:26 +1300
commit1909b845a8c77a2463c0ad8d4c1952b8c0852ae2 (patch)
tree98d96af828d4b4c9ae709251ab3e3d1c67d5b76a /test/org/traccar/protocol
parent4e37ce80b615e126f82e567d06a60beff8c82fb0 (diff)
downloadtrackermap-server-1909b845a8c77a2463c0ad8d4c1952b8c0852ae2.tar.gz
trackermap-server-1909b845a8c77a2463c0ad8d4c1952b8c0852ae2.tar.bz2
trackermap-server-1909b845a8c77a2463c0ad8d4c1952b8c0852ae2.zip
Fix GL200 wifi message parsing
Diffstat (limited to 'test/org/traccar/protocol')
-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 e4625405b..51c4950f5 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());
verifyNotNull(decoder, text(
+ "+RESP:GTWIF,210102,354524044608058,,4,c413e200ff14,-39,,,,c413e2010e55,-39,,,,c8d3ff04a837,-43,,,,42490f997c6d,-57,,,,,,,,100,20170201020055,0001$"));
+
+ verifyNotNull(decoder, text(
"+RESP:GTWIF,210102,354524044484948,,1,08626693fb98,-36,,,,,,,,97,20170119071300,05E3$"));
verifyAttributes(decoder, text(