aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-06-05 23:33:48 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-06-05 23:33:48 -0700
commit473e671a14bb826cdbf73f732fbd8b8eec6f3986 (patch)
treeb118a148c3ac96d2f243a7bc8165d96fb1031266 /src/test
parent8acd5f768df28622506a292b6efec0198f27967d (diff)
downloadtrackermap-server-473e671a14bb826cdbf73f732fbd8b8eec6f3986.tar.gz
trackermap-server-473e671a14bb826cdbf73f732fbd8b8eec6f3986.tar.bz2
trackermap-server-473e671a14bb826cdbf73f732fbd8b8eec6f3986.zip
Support Teltonika codec 13
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
index 827e12a96..5b2df38db 100644
--- a/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
@@ -16,6 +16,12 @@ public class TeltonikaProtocolDecoderTest extends ProtocolTest {
"000F313233343536373839303132333435"));
verifyPositions(decoder, false, binary(
+ "000000000000001C0D01050000001056E924222347455420444154414F524445520D0A0100004990"));
+
+ verifyPositions(decoder, false, binary(
+ "00000000000000170D01050000000F0000016C0A81C320676574696E666F0100006855"));
+
+ verifyPositions(decoder, false, binary(
"000000000000004f0c01060000004755555555777730362e343b30342e323b30302e303b30302e303b30302e303b30302e303b30302e303b30302e303b30312e333b30302e303b31302e373b30302e303b5353530d0a010000e371"));
verifyPositions(decoder, false, binary(