diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-25 14:59:17 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-25 14:59:17 +1200 |
commit | 763c2fac94e48c1a96b5d3bd1949e91dbca0a7f8 (patch) | |
tree | 751a638808b8b726f010d87436bb6bde78c69f6c /test/org/traccar/protocol | |
parent | 2dbe885fda32cce8da7519aac13c20fe733650a9 (diff) | |
download | traccar-server-763c2fac94e48c1a96b5d3bd1949e91dbca0a7f8.tar.gz traccar-server-763c2fac94e48c1a96b5d3bd1949e91dbca0a7f8.tar.bz2 traccar-server-763c2fac94e48c1a96b5d3bd1949e91dbca0a7f8.zip |
Decode GV500 fuel information
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/Gl200ProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java index 6eeb9c13b..1a816554f 100644 --- a/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gl200ProtocolDecoderTest.java @@ -12,6 +12,12 @@ public class Gl200ProtocolDecoderTest extends ProtocolDecoderTest { Gl200ProtocolDecoder decoder = new Gl200ProtocolDecoder(new Gl200Protocol()); verify(decoder.decode(null, null, + "+RESP:GTOBD,1F0109,864251020135483,,gv500,0,78FFFF,,1,12613,,,,,,,,,,,,,,1286,0,0.0,0,17.1,3.379630,6.529701,20150813074639,0621,0030,51C0,A2B3,00,0.0,20150813074641,A7E6$")); + + verify(decoder.decode(null, null, + "+RESP:GTOBD,1F0109,864251020135483,4T1BE46KX7U018210,gv500,0,78FFFF,4T1BE46KX7U018210,1,13411,981B81C0,787,3,43,,921,463,1,10,0300030103030304001200310351035203530354,20,55,,1286,0,6.5,74,21.6,3.379710,6.529714,20150813074824,0621,0030,51C0,A2B3,00,0.0,20150813074828,A7E9$")); + + verify(decoder.decode(null, null, "+RESP:GTSTT,1A0401,860599000508846,,41,0,0.0,84,107.5,-76.657998,39.497203,20150623160622,0310,0260,B435,3B81,,20150623160622,0F54$")); verify(decoder.decode(null, null, |