diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-08 23:02:40 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-08 23:02:40 +1300 |
commit | e2da4f276230e3687e42b11b4d94889fb3889436 (patch) | |
tree | 1d5de1a13727cca90277d54852aa6bb8b32cccd4 /test/org/traccar/protocol/GpsGateProtocolDecoderTest.java | |
parent | 18ec7e54839430503b5a73cbf2e63dfa2e234e7b (diff) | |
download | trackermap-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.java | 6 |
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( |