aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-08 23:02:40 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-08 23:02:40 +1300
commite2da4f276230e3687e42b11b4d94889fb3889436 (patch)
tree1d5de1a13727cca90277d54852aa6bb8b32cccd4 /test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
parent18ec7e54839430503b5a73cbf2e63dfa2e234e7b (diff)
downloadtrackermap-server-e2da4f276230e3687e42b11b4d94889fb3889436.tar.gz
trackermap-server-e2da4f276230e3687e42b11b4d94889fb3889436.tar.bz2
trackermap-server-e2da4f276230e3687e42b11b4d94889fb3889436.zip
Extend GpsGate protocol support
Diffstat (limited to 'test/org/traccar/protocol/GpsGateProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/GpsGateProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java b/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
index c4ed38656..788830e52 100644
--- a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class GpsGateProtocolDecoderTest extends ProtocolTest {
GpsGateProtocolDecoder decoder = new GpsGateProtocolDecoder(new GpsGateProtocol());
verifyNothing(decoder, text(
+ "$FRCMD,862950025974620,_Ping,voltage=4*4F"));
+
+ verifyPosition(decoder, text(
+ "$FRCMD,862950025974620,_SendMessage, ,2721.5781,S,15259.145,E,61,0.00,61,080316,092612,1,SosButton=0,voltage=4*60"));
+
+ verifyNothing(decoder, text(
"$FRLIN,,user1,8IVHF*7A"));
verifyNothing(decoder, text(