aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-26 07:12:37 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-10-26 07:12:37 +1300
commitdcc7e0c6ed949604af5e62c671e293f582146bc0 (patch)
treed8b3f121d1576992e960c0bff58f3a156771a5c9 /test/org
parent5cc40c6fabb4223b0c283164b56c63af310e2eac (diff)
downloadtrackermap-server-dcc7e0c6ed949604af5e62c671e293f582146bc0.tar.gz
trackermap-server-dcc7e0c6ed949604af5e62c671e293f582146bc0.tar.bz2
trackermap-server-dcc7e0c6ed949604af5e62c671e293f582146bc0.zip
Implement Meitrack CCE format
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/MeitrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
index 34b2ad579..4ec2211bc 100644
--- a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class MeitrackProtocolDecoderTest extends ProtocolTest {
MeitrackProtocolDecoder decoder = new MeitrackProtocolDecoder(new MeitrackProtocol());
+ verifyPositions(decoder, binary(ByteOrder.LITTLE_ENDIAN,
+ "24245f3237382c3836353738393032313434373233322c4343452c5b00000003005000130006012305010608070d15001b0006080000091e010a09000b2e0019a1011af90106025c033300039be60c06044f6678210c6f1806000d48db06001c41000000010e0cf60113002005912b830001ff5000130006012305010608070d15001b0006080000091e010a09000b2e0019a0011af90106025c033300039be60c0604506678210c6f1806000d49db06001c41000000010e0cf60113002005912b830001ff5000130006012305010608070d15001b0006080000091e010a09000b2e0019a1011af90106025c033300039be60c0604516678210c6f1806000d4adb06001c41000000010e0cf60113002005912b830001ff2a37460d0a"));
+
verifyPosition(decoder, buffer(
"$$V177,863835026871173,AAA,35,34.516428,10.470160,170915154043,A,9,12,68,74,0.9,9,1988259,525882,605|2|008C|0007B5A6,0200,0003|0000|0000|01A6|0571,00000001,,3,0000,06FB2E,360,511*74"));