aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TytanProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/TytanProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TytanProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/TytanProtocolDecoder.java b/src/org/traccar/protocol/TytanProtocolDecoder.java
index ec5fb167d..4f5f0027e 100644
--- a/src/org/traccar/protocol/TytanProtocolDecoder.java
+++ b/src/org/traccar/protocol/TytanProtocolDecoder.java
@@ -83,10 +83,10 @@ public class TytanProtocolDecoder extends BaseProtocolDecoder {
position.set("antihijack", buf.readUnsignedByte());
break;
case 9:
- position.set("authorized", ChannelBufferTools.readHexString(buf, 16));
+ position.set("authorized", ChannelBuffers.hexDump(buf.readBytes(8)));
break;
case 10:
- position.set("unauthorized", ChannelBufferTools.readHexString(buf, 16));
+ position.set("unauthorized", ChannelBuffers.hexDump(buf.readBytes(8)));
break;
case 24:
Set<Integer> temps = new LinkedHashSet<>();