diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-02 22:32:51 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-02 22:32:51 +1200 |
commit | 8e725d35d9a55bdb4b17002a41231203fabee359 (patch) | |
tree | 0236471fadaf6ed54b371be3a2e0fcf9ce4a23b5 /test/org/traccar/protocol/MeitrackProtocolDecoderTest.java | |
parent | 20d9e6d46fb692f42c9f2a73bcd354691bdd9385 (diff) | |
download | trackermap-server-8e725d35d9a55bdb4b17002a41231203fabee359.tar.gz trackermap-server-8e725d35d9a55bdb4b17002a41231203fabee359.tar.bz2 trackermap-server-8e725d35d9a55bdb4b17002a41231203fabee359.zip |
Decode Meitrack temperature (fix #2065)
Diffstat (limited to 'test/org/traccar/protocol/MeitrackProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/MeitrackProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java b/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java index f74914461..9534df2e0 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()); + verifyPosition(decoder, buffer( + "$$K157,866771027160687,AAA,3,37.040231,10.042391,160412151656,A,10,11,0,48,0.8,21,1035518,774980,605|2|0010|307B,0400,0000|0000|0000|0A47|03E3,,,1,0000,001206*2C")); + verifyNothing(decoder, buffer( "$$D28,353358017784062,D03,OK*F3")); |