aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-09-07 12:40:37 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-09-07 12:40:37 +1200
commit9e902a42c36a8fb5791cf619fd68c6af96e12aab (patch)
tree7bad4dc89af43cd3a7cd7c35143f51f57df2de4f /test/org/traccar/protocol
parent36b23f0fe4ec1334102fa5d0a21d3692e9ce6da9 (diff)
downloadtraccar-server-9e902a42c36a8fb5791cf619fd68c6af96e12aab.tar.gz
traccar-server-9e902a42c36a8fb5791cf619fd68c6af96e12aab.tar.bz2
traccar-server-9e902a42c36a8fb5791cf619fd68c6af96e12aab.zip
Fix megastek decoder (fix #382)
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/MegastekProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
index 33ef6fe40..d1cb945a6 100644
--- a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
@@ -26,6 +26,9 @@ public class MegastekProtocolDecoderTest {
assertNotNull(decoder.decode(null, null,
"STX123456 $GPRMC,063709.000,A,2238.1998,N,11401.9670,E,0.00,,250313,,,A*7F,460,01,2531,647E,11,87,1000,001001,0000,0.00,0.02,0.00,Timer;4A"));
+ assertNotNull(decoder.decode(null, null,
+ "STX260475 $GPRMC,104032.001,A,4022.1119,N,01811.4081,E,000.0,000.0,060913,,,A*67,222,01,815A,D455,11,99,0000,0001,0,Timer;"));
+
}
}