diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-02 15:24:21 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-02 15:24:21 +1200 |
commit | 5cf8952d716419871259ad5a6d4bf8ac98c21efe (patch) | |
tree | 90c857e7344bdf34a22563693f43d4e80e82f2a6 /test/org/traccar/protocol/H02ProtocolDecoderTest.java | |
parent | 3223d8ef52518c26aac6dd83b628d8162481fbf8 (diff) | |
download | trackermap-server-5cf8952d716419871259ad5a6d4bf8ac98c21efe.tar.gz trackermap-server-5cf8952d716419871259ad5a6d4bf8ac98c21efe.tar.bz2 trackermap-server-5cf8952d716419871259ad5a6d4bf8ac98c21efe.zip |
Decode H02 alarm status
Diffstat (limited to 'test/org/traccar/protocol/H02ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/H02ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java index b7d356ff0..5be78d643 100644 --- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java @@ -82,6 +82,9 @@ public class H02ProtocolDecoderTest extends ProtocolDecoderTest { "*HQ,8401016597,BASE,152609,0,0,0,0,211014,FFFFFFFF#", Charset.defaultCharset()))); verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString( + "24410600082621532131081504419390060740418306000000fffffbfdff0015060000002c02dc0c000000001f")))); + + verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString( "2427051711092133391406135002584900014337822e000000ffffffffff0000")))); verify(decoder.decode(null, null, ChannelBuffers.wrappedBuffer(ChannelBufferTools.convertHexString( |