diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-09 17:47:56 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-09 17:47:56 -0800 |
commit | 36a49a88ea44da16b57e5256dc4c91c2e90a3792 (patch) | |
tree | 4ed2aa79e19fb613974ac217d7c959ac76730692 /src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java | |
parent | bc4a46a01e8d7c3e6238ba07f96eb67adc75c116 (diff) | |
download | trackermap-server-36a49a88ea44da16b57e5256dc4c91c2e90a3792.tar.gz trackermap-server-36a49a88ea44da16b57e5256dc4c91c2e90a3792.tar.bz2 trackermap-server-36a49a88ea44da16b57e5256dc4c91c2e90a3792.zip |
Implement Topin protocol
Diffstat (limited to 'src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java index 07da70bf7..6711fe0fd 100644 --- a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java @@ -209,7 +209,7 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder { sendResponse(channel, false, MSG_X1_PHOTO_DATA, 0, content); } - private boolean decodeGps(Position position, ByteBuf buf, boolean hasLength, TimeZone timezone) { + public static boolean decodeGps(Position position, ByteBuf buf, boolean hasLength, TimeZone timezone) { DateBuilder dateBuilder = new DateBuilder(timezone) .setDate(buf.readUnsignedByte(), buf.readUnsignedByte(), buf.readUnsignedByte()) |