diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-08 12:10:58 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-08 12:10:58 +1300 |
commit | 2e69800d0d83e3d0486b0ca0cecde7d2a451c105 (patch) | |
tree | 25307a6528d081d43de0c13e7a2f044a4dd7b7e3 /src/org/traccar/protocol/Gt06ProtocolDecoder.java | |
parent | 3f5aef83e284a1c4f4e608d57d7f3330af6ea12a (diff) | |
download | trackermap-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/Gt06ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Gt06ProtocolDecoder.java | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/org/traccar/protocol/Gt06ProtocolDecoder.java index 4c744dd9f..912a981b9 100644 --- a/src/org/traccar/protocol/Gt06ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gt06ProtocolDecoder.java @@ -54,25 +54,25 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder { return imei.toString(); } - private static final int MSG_LOGIN = 0x01; - private static final int MSG_GPS = 0x10; - private static final int MSG_LBS = 0x11; - private static final int MSG_GPS_LBS_1 = 0x12; - private static final int MSG_GPS_LBS_2 = 0x22; - private static final int MSG_STATUS = 0x13; - private static final int MSG_SATELLITE = 0x14; - private static final int MSG_STRING = 0x15; - private static final int MSG_GPS_LBS_STATUS_1 = 0x16; - private static final int MSG_GPS_LBS_STATUS_2 = 0x26; - private static final int MSG_GPS_LBS_STATUS_3 = 0x27; - private static final int MSG_LBS_PHONE = 0x17; - private static final int MSG_LBS_EXTEND = 0x18; - private static final int MSG_LBS_STATUS = 0x19; - private static final int MSG_GPS_PHONE = 0x1A; - private static final int MSG_GPS_LBS_EXTEND = 0x1E; - private static final int MSG_COMMAND_0 = 0x80; - private static final int MSG_COMMAND_1 = 0x81; - private static final int MSG_COMMAND_2 = 0x82; + public static final int MSG_LOGIN = 0x01; + public static final int MSG_GPS = 0x10; + public static final int MSG_LBS = 0x11; + public static final int MSG_GPS_LBS_1 = 0x12; + public static final int MSG_GPS_LBS_2 = 0x22; + public static final int MSG_STATUS = 0x13; + public static final int MSG_SATELLITE = 0x14; + public static final int MSG_STRING = 0x15; + public static final int MSG_GPS_LBS_STATUS_1 = 0x16; + public static final int MSG_GPS_LBS_STATUS_2 = 0x26; + public static final int MSG_GPS_LBS_STATUS_3 = 0x27; + public static final int MSG_LBS_PHONE = 0x17; + public static final int MSG_LBS_EXTEND = 0x18; + public static final int MSG_LBS_STATUS = 0x19; + public static final int MSG_GPS_PHONE = 0x1A; + public static final int MSG_GPS_LBS_EXTEND = 0x1E; + public static final int MSG_COMMAND_0 = 0x80; + public static final int MSG_COMMAND_1 = 0x81; + public static final int MSG_COMMAND_2 = 0x82; private static void sendResponse(Channel channel, int type, int index) { if (channel != null) { |