diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-01-26 22:35:23 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-01-26 22:35:23 -0800 |
commit | 0d33868866b1d4dee89b6dff756bbbacfd58508f (patch) | |
tree | 129e311d2ad2fdbb085cd48ce9c5c0cfecd61579 /src/test/java/org/traccar/protocol | |
parent | 25bdd38bb7fb6afa1eb32a9108ed37f13d6079b6 (diff) | |
download | traccar-server-0d33868866b1d4dee89b6dff756bbbacfd58508f.tar.gz traccar-server-0d33868866b1d4dee89b6dff756bbbacfd58508f.tar.bz2 traccar-server-0d33868866b1d4dee89b6dff756bbbacfd58508f.zip |
Support another TK103 format
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r-- | src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java index 422f99a73..106a24375 100644 --- a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest { Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(null); + verifyPosition(decoder, text( + "(086375304593BR00210119A2220.0160N11335.4073E0000014000309.84001000293L0000015FP23BS27F)")); + verifyAttribute(decoder, text( "(027023361470BV005J6RW2H53HL066029)"), Position.KEY_VIN, "5J6RW2H53HL066029"); |