diff options
author | Anton Tananaev <anton@traccar.org> | 2022-12-14 06:59:53 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-12-14 06:59:53 -0800 |
commit | 64391161c1fb03bd9ff5ea30749b4e00230fa8aa (patch) | |
tree | 44ba93ae9f1f2e0058360460fca289189c5116a0 /src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java | |
parent | a87c77da9e8d39856e2a16ae3d3aa385e068a1e8 (diff) | |
download | trackermap-server-64391161c1fb03bd9ff5ea30749b4e00230fa8aa.tar.gz trackermap-server-64391161c1fb03bd9ff5ea30749b4e00230fa8aa.tar.bz2 trackermap-server-64391161c1fb03bd9ff5ea30749b4e00230fa8aa.zip |
Handle Teltonika heartbeat
Diffstat (limited to 'src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java | 3 |
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 188c4b6eb..ba64642f2 100644 --- a/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java @@ -125,6 +125,9 @@ public class TeltonikaProtocolDecoderTest extends ProtocolTest { verifyPositions(decoder, binary( "000000000000004a08010000015ebc1da508002411926621f15246010b00b913005e000f06ef01f00150011505c800450108b5000bb6000642381b18005ecd0318ce19cd430f5844000001f1000061a900010000c8e1")); + verifyNull(decoder, binary( + "ff")); + decoder.setExtended(true); verifyPositions(decoder, false, binary( |