aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/AstraProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-15 22:06:41 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-15 22:06:41 +1300
commitfcc70df74b1fb17280b837b2a31722c2f3fc8ad2 (patch)
treef144c463af82e2426e1f7f89fd522fcff2babc23 /test/org/traccar/protocol/AstraProtocolDecoderTest.java
parent3507d5f7aa0670c0970b7e65c91a31fdada41ea2 (diff)
downloadtrackermap-server-fcc70df74b1fb17280b837b2a31722c2f3fc8ad2.tar.gz
trackermap-server-fcc70df74b1fb17280b837b2a31722c2f3fc8ad2.tar.bz2
trackermap-server-fcc70df74b1fb17280b837b2a31722c2f3fc8ad2.zip
Fix Astra decoding problem
Diffstat (limited to 'test/org/traccar/protocol/AstraProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/AstraProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AstraProtocolDecoderTest.java b/test/org/traccar/protocol/AstraProtocolDecoderTest.java
index e8a9b12b5..3531be5a8 100644
--- a/test/org/traccar/protocol/AstraProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AstraProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class AstraProtocolDecoderTest extends ProtocolTest {
AstraProtocolDecoder decoder = new AstraProtocolDecoder(new AstraProtocol());
verifyPositions(decoder, binary(
+ "4b00700529c0c265976b8202cba9ff00676d864554a9c30000000020073401006436000300030008000000000000a0000100001920c43d00009600428302cba9ff00676d864554aa3e000000002007240100643b000300020008000000000000b0000100001920c43d00009600420f0e"));
+
+ verifyPositions(decoder, binary(
"4b00320524c1da58769e6d0322617effe874024453065600a800000100080000643e0000000000000000000000069500e7bb"));
verifyPositions(decoder, binary(