aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/KhdProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-08 12:10:58 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-08 12:10:58 +1300
commit2e69800d0d83e3d0486b0ca0cecde7d2a451c105 (patch)
tree25307a6528d081d43de0c13e7a2f044a4dd7b7e3 /src/org/traccar/protocol/KhdProtocolDecoder.java
parent3f5aef83e284a1c4f4e608d57d7f3330af6ea12a (diff)
downloadtrackermap-server-2e69800d0d83e3d0486b0ca0cecde7d2a451c105.tar.gz
trackermap-server-2e69800d0d83e3d0486b0ca0cecde7d2a451c105.tar.bz2
trackermap-server-2e69800d0d83e3d0486b0ca0cecde7d2a451c105.zip
Make protocol message types public
Diffstat (limited to 'src/org/traccar/protocol/KhdProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/KhdProtocolDecoder.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/org/traccar/protocol/KhdProtocolDecoder.java b/src/org/traccar/protocol/KhdProtocolDecoder.java
index e934cacf3..e74b87cec 100644
--- a/src/org/traccar/protocol/KhdProtocolDecoder.java
+++ b/src/org/traccar/protocol/KhdProtocolDecoder.java
@@ -45,14 +45,14 @@ public class KhdProtocolDecoder extends BaseProtocolDecoder {
return String.valueOf(Long.parseLong(serialNumber));
}
- private static final int MSG_LOGIN = 0xB1;
- private static final int MSG_CONFIRMATION = 0x21;
- private static final int MSG_ON_DEMAND = 0x81;
- private static final int MSG_POSITION_UPLOAD = 0x80;
- private static final int MSG_POSITION_REUPLOAD = 0x8E;
- private static final int MSG_ALARM = 0x82;
- private static final int MSG_REPLY = 0x85;
- private static final int MSG_PERIPHERAL = 0xA3;
+ public static final int MSG_LOGIN = 0xB1;
+ public static final int MSG_CONFIRMATION = 0x21;
+ public static final int MSG_ON_DEMAND = 0x81;
+ public static final int MSG_POSITION_UPLOAD = 0x80;
+ public static final int MSG_POSITION_REUPLOAD = 0x8E;
+ public static final int MSG_ALARM = 0x82;
+ public static final int MSG_REPLY = 0x85;
+ public static final int MSG_PERIPHERAL = 0xA3;
@Override
protected Object decode(