diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-17 10:03:31 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-17 10:03:31 +1300 |
commit | c422898f913eaea260170cf2f4c05e7c932a80ff (patch) | |
tree | 5f69b1c6fe13157ed0bd54be793da1e28b880d25 /test/org/traccar/protocol | |
parent | 271263e6feb2b78f7f23a04cb1cbca86eb8c4c64 (diff) | |
download | traccar-server-c422898f913eaea260170cf2f4c05e7c932a80ff.tar.gz traccar-server-c422898f913eaea260170cf2f4c05e7c932a80ff.tar.bz2 traccar-server-c422898f913eaea260170cf2f4c05e7c932a80ff.zip |
Fix GPS103 protocol OBD decoding
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/Gps103ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java index ab59ba331..aecbe2ef1 100644 --- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class Gps103ProtocolDecoderTest extends ProtocolTest { Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new Gps103Protocol()); + verifyAttributes(decoder, text( + "imei:359710049028435,OBD,160316053657,70430,,,0,49,60.00%,46,19.22%,859,0.00,U1108,,,;")); + verifyPosition(decoder, text( "359769031878322imei:359769031878322,tracker,1602160718,2,F,221811.000,A,1655.2193,S,14546.6722,E,0.00,,")); |