diff options
author | Ivan Muratov <binakot@gmail.com> | 2017-10-26 08:28:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 08:28:34 +0300 |
commit | 74cea90707321c775c11e9cfb91269f63ab4476f (patch) | |
tree | c6f3e9d02c43eb28ac8506e198e137ca57b1f102 /test/org/traccar/protocol/MeitrackProtocolDecoderTest.java | |
parent | db02157dbb29539dda4b51a5e8b317293cfc536c (diff) | |
parent | dcc7e0c6ed949604af5e62c671e293f582146bc0 (diff) | |
download | traccar-server-74cea90707321c775c11e9cfb91269f63ab4476f.tar.gz traccar-server-74cea90707321c775c11e9cfb91269f63ab4476f.tar.bz2 traccar-server-74cea90707321c775c11e9cfb91269f63ab4476f.zip |
Merge branch 'master' into master
Diffstat (limited to 'test/org/traccar/protocol/MeitrackProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/MeitrackProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java index 07411dbc8..4ec2211bc 100644 --- a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java +++ b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java @@ -11,6 +11,12 @@ 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")); + 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,010A92,360,511*74")); |