aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-02 03:21:21 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-02 03:21:21 +1300
commit70a3fd581b79556b3feb083d79228384efdf66d2 (patch)
tree1af68c13a79d49663fc0a85baa83e5f6d9a5165e /test/org/traccar/protocol/Gl200ProtocolDecoderTest.java
parent8949b8275c730a008cd4dd677f03630f4111aba9 (diff)
downloadtrackermap-server-70a3fd581b79556b3feb083d79228384efdf66d2.tar.gz
trackermap-server-70a3fd581b79556b3feb083d79228384efdf66d2.tar.bz2
trackermap-server-70a3fd581b79556b3feb083d79228384efdf66d2.zip
Handle Prime AT Plus protocol
Diffstat (limited to 'test/org/traccar/protocol/Gl200ProtocolDecoderTest.java')
-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 d3c82fb3a..fa8373898 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());
verifyAttributes(decoder, text(
+ "+RESP:GTINF,210102,A10000499AEF9B,,41,,0,0,0,15.0,9,3.87,0,1,1,0,0,20161101140211,72,,,,,20161101140211,00A3$"));
+
+ verifyAttributes(decoder, text(
+ "+RESP:GTNMR,210102,A10000499AEF9B,,0,0,1,9,0.0,0,288.0,-76.902364,39.578828,20161101134145,,,,,00,73,20161101134145,009F$"));
+
+ verifyPositions(decoder, text(
+ "+RESP:GTFRI,210102,A10000499AEF9B,,0,1,1,9,0.5,0,288.0,-76.902364,39.578828,20161101134124,,,,,00,73,20161101134123,009D$"));
+
+ verifyAttributes(decoder, text(
+ "+RESP:GTRTL,210102,A10000499AEF9B,,0,0,1,10,0.2,0,305.4,-76.902274,39.578517,20161101155001,,,,,00,73,20161101155001,00A6$"));
+
+ verifyAttributes(decoder, text(
+ "+RESP:GTINF,110100,358688000000158,,41,898600810906F8048812,18,99,0,33.23,1,4.19,1,1,1,0,0,20110714104934,100,,,,,20110714104934,0014$"));
+
+ verifyAttributes(decoder, text(
"+RESP:GTINF,080100,135790246811220,,16,898600810906F8048812,16,0,1,11870,,4.1,0,0,0,,20090214013254,,12340,,00,00,+0800,0,20090214093254,11F0$"));
verifyAttributes(decoder, text(