aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-10-04 05:35:12 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-10-04 13:35:56 +1300
commit8f7ed4ed8ab881c480c22f605d1ff14918a3e43f (patch)
tree8c4d6cadfae72c98c3eeea7cfdfde472da291af5 /test/org/traccar/protocol
parentda251c52ba6a001e85574f688455a698a6998855 (diff)
downloadtrackermap-server-8f7ed4ed8ab881c480c22f605d1ff14918a3e43f.tar.gz
trackermap-server-8f7ed4ed8ab881c480c22f605d1ff14918a3e43f.tar.bz2
trackermap-server-8f7ed4ed8ab881c480c22f605d1ff14918a3e43f.zip
Decode GPS103 DTCs (fix #2401)
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/Gps103ProtocolDecoderTest.java3
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(