aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-06-28 16:36:06 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-06-28 16:36:06 -0700
commit6c1ba89c82c0a07e6a33e4ea437953fbfc4dc1bd (patch)
tree1e0ff34ac61b1d3d05c3e3d109a24149493c499f /src/test/java/org/traccar
parent21bd340006570f24cad6100e2346e09977879147 (diff)
downloadtraccar-server-6c1ba89c82c0a07e6a33e4ea437953fbfc4dc1bd.tar.gz
traccar-server-6c1ba89c82c0a07e6a33e4ea437953fbfc4dc1bd.tar.bz2
traccar-server-6c1ba89c82c0a07e6a33e4ea437953fbfc4dc1bd.zip
Decode TK103 VIN number
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java
index 48a72447c..422f99a73 100644
--- a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java
@@ -12,6 +12,10 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest {
Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(null);
verifyAttribute(decoder, text(
+ "(027023361470BV005J6RW2H53HL066029)"),
+ Position.KEY_VIN, "5J6RW2H53HL066029");
+
+ verifyAttribute(decoder, text(
"(044027395704BQ81,ALARM,1,164,151101A2238.5237N11349.4571E0.7031241010.0000,00000000)"),
Position.KEY_ALARM, Position.ALARM_OVERSPEED);