aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-11-09 17:47:56 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-11-09 17:47:56 -0800
commit36a49a88ea44da16b57e5256dc4c91c2e90a3792 (patch)
tree4ed2aa79e19fb613974ac217d7c959ac76730692 /src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
parentbc4a46a01e8d7c3e6238ba07f96eb67adc75c116 (diff)
downloadtrackermap-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.java2
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())