aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-07-23 11:49:28 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-07-23 11:49:28 +1200
commite176392ddbea44dc94c0904f21338a11b862ad4d (patch)
tree33b0fe820068470a68741ed51b897fe6db5ee496 /test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
parent83d2fdc694ca75eaef53adef76dad938e1bd6262 (diff)
downloadtrackermap-server-e176392ddbea44dc94c0904f21338a11b862ad4d.tar.gz
trackermap-server-e176392ddbea44dc94c0904f21338a11b862ad4d.tar.bz2
trackermap-server-e176392ddbea44dc94c0904f21338a11b862ad4d.zip
Improve GpsGate protocol decoder
Diffstat (limited to 'test/org/traccar/protocol/GpsGateProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/GpsGateProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java b/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
index 30861099f..11cfb66f5 100644
--- a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class GpsGateProtocolDecoderTest extends ProtocolTest {
GpsGateProtocolDecoder decoder = new GpsGateProtocolDecoder(new GpsGateProtocol());
verifyPosition(decoder, text(
+ "$FRCMD,356406061385182,_SendMessage,,5223.88542,N,11440.45866,W,951.2,0.027,,220716,153507.00,1*5F"));
+
+ verifyPosition(decoder, text(
"$FRCMD,353067011068246,_SendMessage,,1918.1942,N,09906.3696,W,2246.5,000.0,295.9,150416,213147.00,1,Odometer=*70"));
verifyNothing(decoder, text(