diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-04 05:35:12 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-04 13:35:56 +1300 |
commit | 8f7ed4ed8ab881c480c22f605d1ff14918a3e43f (patch) | |
tree | 8c4d6cadfae72c98c3eeea7cfdfde472da291af5 /test | |
parent | da251c52ba6a001e85574f688455a698a6998855 (diff) | |
download | trackermap-server-8f7ed4ed8ab881c480c22f605d1ff14918a3e43f.tar.gz trackermap-server-8f7ed4ed8ab881c480c22f605d1ff14918a3e43f.tar.bz2 trackermap-server-8f7ed4ed8ab881c480c22f605d1ff14918a3e43f.zip |
Decode GPS103 DTCs (fix #2401)
Diffstat (limited to 'test')
-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 72b0be1b5..2640051fb 100644 --- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class Gps103ProtocolDecoderTest extends ProtocolTest { Gps103ProtocolDecoder decoder = new Gps103ProtocolDecoder(new Gps103Protocol()); verifyAttributes(decoder, text( + "imei:359710049057798,OBD,161003192752,1785,,,0,54,96.47%,75,20.00%,1892,0.00,P0134,P0571,,;")); + + verifyAttributes(decoder, text( "imei:359710049090138,OBD,160629022949,51442,0.00,15.88,5632,122,40.39%,95,0.00%,2101,13.80,,,,;")); verifyPosition(decoder, text( |