From 6c1ba89c82c0a07e6a33e4ea437953fbfc4dc1bd Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 28 Jun 2020 16:36:06 -0700 Subject: Decode TK103 VIN number --- src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/test/java/org/traccar') 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 @@ -11,6 +11,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); -- cgit v1.2.3