diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-17 10:52:11 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-17 10:52:11 +1300 |
commit | 0aaf7151eec458f4163e24768dca79328f47c7d7 (patch) | |
tree | 45688fd7337044938302f5b3c1191776a0cd41d6 /test/org | |
parent | 5d51aafba634c04576948fd380fa3467bd260c45 (diff) | |
download | trackermap-server-0aaf7151eec458f4163e24768dca79328f47c7d7.tar.gz trackermap-server-0aaf7151eec458f4163e24768dca79328f47c7d7.tar.bz2 trackermap-server-0aaf7151eec458f4163e24768dca79328f47c7d7.zip |
Support GL200 ignition messages
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/Gl200ProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java index bf7e3f175..8f0ca230b 100644 --- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java @@ -10,6 +10,12 @@ public class Gl200ProtocolDecoderTest extends ProtocolTest { Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new Gl200Protocol()); + 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( + "+BUFF:GTIGF,060228,862894020180553,,1958,0,0.0,240,390.3,-63.089213,-17.764712,20160309122854,0736,0003,6AB8,5A23,00,,936.8,20160309082858,1368$")); + verifyPositions(decoder, text( "+RESP:GTFRI,060228,862894020180553,,,10,1,1,20.0,147,329.7,-62.899703,-17.720434,20160309113548,0736,0003,6AAE,3381,00,913.3,,,,0,220101,,,,20160309073554,132B$")); |