diff options
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/HuabaoProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/HuabaoProtocolDecoder.java b/src/org/traccar/protocol/HuabaoProtocolDecoder.java index 792c89c8b..a9a4741fc 100644 --- a/src/org/traccar/protocol/HuabaoProtocolDecoder.java +++ b/src/org/traccar/protocol/HuabaoProtocolDecoder.java @@ -82,7 +82,7 @@ public class HuabaoProtocolDecoder extends BaseProtocolDecoder { ChannelBuffer id = buf.readBytes(6); // phone number int index = buf.readUnsignedShort(); - if (!identify(id.toString(Charset.defaultCharset()), channel, remoteAddress)) { + if (!identify(ChannelBuffers.hexDump(id), channel, remoteAddress)) { return null; } |