aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-01 14:45:47 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-01 14:45:47 +1300
commite84f02c3bffda311e86fab584d7c40702b5223be (patch)
treec0d67aeac4c4ae9e2d1d7134edf8e5a1df87717c /test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
parent7c75b21d70faf046035a5cee14ea0b05c9d208f6 (diff)
downloadtrackermap-server-e84f02c3bffda311e86fab584d7c40702b5223be.tar.gz
trackermap-server-e84f02c3bffda311e86fab584d7c40702b5223be.tar.bz2
trackermap-server-e84f02c3bffda311e86fab584d7c40702b5223be.zip
Improve Meiligao device identification
Diffstat (limited to 'test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
index 1c4252c0f..f48c9ef39 100644
--- a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
@@ -14,6 +14,9 @@ public class MeiligaoProtocolDecoderTest extends ProtocolDecoderTest {
MeiligaoProtocolDecoder decoder = new MeiligaoProtocolDecoder(new MeiligaoProtocol());
verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(
+ "242400706796502079108999553131333131382e3030302c412c313033372e393637382c4e2c30363132312e353637392c572c302e35342c322e34322c3330303931352c2c2c412a37307c302e37377c392e397c303030307c303030302c303161327c3030313138373132374cae0d0a"))));
+
+ verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(
"24240074630700194707719966009E1F7F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C3132303334302C3238303630362C323430302E303030302C4E2C31323130302E303030302C458F7E0D0A"))));
verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString(