aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-04-16 23:06:45 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-04-16 23:06:45 -0700
commit8852f1176ac32a065db734079c295783811c192f (patch)
tree7b129550c2bdf8aa3941e1b550d7aa82d8c17cf5 /src/test/java/org/traccar
parent5180e877de462a5950878d69d3ba33dc9ebf790b (diff)
downloadtrackermap-server-8852f1176ac32a065db734079c295783811c192f.tar.gz
trackermap-server-8852f1176ac32a065db734079c295783811c192f.tar.bz2
trackermap-server-8852f1176ac32a065db734079c295783811c192f.zip
Support binary serial data
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
index f94cd9460..b515fbdc6 100644
--- a/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
@@ -15,6 +15,9 @@ public class TeltonikaProtocolDecoderTest extends ProtocolTest {
verifyNull(decoder, binary(
"000F313233343536373839303132333435"));
+ verifyPositions(decoder, false, binary(
+ "00000000000000100C010600000008010300010015D5C5010000D988"));
+
verifyPositions(decoder, binary(
"000000000000004c08010000016818d500580009c28d9f1cb3757a00be00c60f0053000f06f0011503c80001011d00fc0007423799180053cdf80dce426f430f88190bb8560bb802f100005aa110002887e000010000ee8d"));