aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-08-21 16:18:39 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-08-21 16:19:11 +1200
commit2a386eab0a4baed5c606113dd9a875a088f9f4e5 (patch)
treec1521c01924a353e5ee5603ee58a9ba530da26f2 /test
parent5f3f51c20755d21784d9cfa5a9aa16474d25b1c0 (diff)
downloadtrackermap-server-2a386eab0a4baed5c606113dd9a875a088f9f4e5.tar.gz
trackermap-server-2a386eab0a4baed5c606113dd9a875a088f9f4e5.tar.bz2
trackermap-server-2a386eab0a4baed5c606113dd9a875a088f9f4e5.zip
Support codec 16 for Teltonika
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java b/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
index a40e48d82..12eb57f35 100644
--- a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
@@ -15,6 +15,12 @@ public class TeltonikaProtocolDecoderTest extends ProtocolTest {
"000F313233343536373839303132333435"));
verifyPositions(decoder, false, binary(
+ "000000000000009D10020000013feb55ff74000f0ea850209a690000AE00B90B00000000070A050001000002000003000004000120000200180000004601290200C700000000004C0000000001003E00000000000000000000015B198C7498000F0DBC502095872F00AE00B90B00000000070A050001000002000003000004000120000200180000004601290200C700000000004C0000000001003E000000000000000002000009A5"));
+
+ verifyPositions(decoder, false, binary(
+ "000000000000009F100100000164D855401800D5E3B744EC11C762023B011A060000000007200A010000010500010600010D00010E00010F00011600011700011800011F001301010000010700000108000001090000010A0000010B0000010C000001100000011100000112000001130000011400000115000001190000011A0000011B0000011C0000011D0000011E000003010200000000010300000000010400000000000100000D3B"));
+
+ verifyPositions(decoder, false, binary(
"000000000000008c08010000013feb55ff74000f0ea850209a690000940000120000001e09FD01FE210300040016014703f0001504c8000c0900730a00460b00501300464306d7440000b5000bb60007422e9f180000cd0386ce000107c700000000f10000601a46000001344800000bb84900000bb84a00000bb84c00000000024e0000000000000000cf00000000000000000100003fca"));
verifyPositions(decoder, false, binary(