diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-27 10:07:33 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-27 10:07:33 +1200 |
commit | 5bec2f79dd470415f721de275ce88870e0988bc2 (patch) | |
tree | 1aff370c21fab7ff32d74f8ce8c52848acd595b1 /test/org/traccar | |
parent | 86d96506f51fc4c49af0487e00ecd2d5ee02218c (diff) | |
download | traccar-server-5bec2f79dd470415f721de275ce88870e0988bc2.tar.gz traccar-server-5bec2f79dd470415f721de275ce88870e0988bc2.tar.bz2 traccar-server-5bec2f79dd470415f721de275ce88870e0988bc2.zip |
Fix Meiligao RFID decoding
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java index 912b34f6f..620c43115 100644 --- a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java +++ b/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java @@ -72,6 +72,9 @@ public class MeiligaoProtocolDecoderTest extends ProtocolDecoderTest { verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString( "2424007f3568960306760199553131303932342e3030302c412c343533342e323538352c4e2c30313933382e363531342c452c302e30302c2c3237303731342c2c2c412a37317c312e377c3130307c383030307c303737422c303030302c303030302c303030302c303030302c303030302c303030302c303030305dfc0d0a")))); + + verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString( + "2424007f2015603256ffff99553230303230392e30302c412c313734342e36393434382c4e2c30383331392e30353537302c452c31302e3236322c3234382e35352c3236303631352c2c2c442a35437c302e39397c33312e397c303830317c303030302c303030637c3030303933303131367c3030376165313035d5550d0a")))); } |