diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-06 15:55:08 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-06 15:55:08 +1200 |
commit | 4749a641514d86a7fd6b369e8d4467e253ca517f (patch) | |
tree | 3c4db13d8a382f94dc56dc9dc9f94425bd86b73f /test | |
parent | d6367d8252d546bc2f79602f5cbbe87fd9febe95 (diff) | |
download | trackermap-server-4749a641514d86a7fd6b369e8d4467e253ca517f.tar.gz trackermap-server-4749a641514d86a7fd6b369e8d4467e253ca517f.tar.bz2 trackermap-server-4749a641514d86a7fd6b369e8d4467e253ca517f.zip |
Implement GVT-800 decoding (fix #1334)
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/MegastekProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java index f6810558c..a9b7c4f0a 100644 --- a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java +++ b/test/org/traccar/protocol/MegastekProtocolDecoderTest.java @@ -12,6 +12,9 @@ public class MegastekProtocolDecoderTest extends ProtocolDecoderTest { MegastekProtocolDecoder decoder = new MegastekProtocolDecoder(new MegastekProtocol()); verify(decoder.decode(null, null, + "$MGV002,013777007536434,,R,010114,000057,V,0000.0000,N,00000.0000,E,00,00,00,99.9,0.000,0.00,0.0,80.263,510,89,2342,030B,,0000,0000,200,96,0, , ,,,,Timer;!")); + + verify(decoder.decode(null, null, "STX,GerAL22,$GPRMC,174752.000,A,3637.060059,S,6416.2354,W,0.00,0.00,030812,,,A*55,F,,imei:861785000249353,05,180.6,Battery=100%,,1,722,310,0FA6,39D0;8F")); verify(decoder.decode(null, null, |