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/ProgressProtocolDecoder.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/ProgressProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/ProgressProtocolDecoder.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/org/traccar/protocol/ProgressProtocolDecoder.java b/src/org/traccar/protocol/ProgressProtocolDecoder.java index 4ff7e8f68..0eaa66411 100644 --- a/src/org/traccar/protocol/ProgressProtocolDecoder.java +++ b/src/org/traccar/protocol/ProgressProtocolDecoder.java @@ -38,15 +38,15 @@ public class ProgressProtocolDecoder extends BaseProtocolDecoder { super(protocol); } - private static final int MSG_NULL = 0; - private static final int MSG_IDENT = 1; - private static final int MSG_IDENT_FULL = 2; - private static final int MSG_POINT = 10; - private static final int MSG_LOG_SYNC = 100; - private static final int MSG_LOGMSG = 101; - private static final int MSG_TEXT = 102; - private static final int MSG_ALARM = 200; - private static final int MSG_ALARM_RECIEVED = 201; + public static final int MSG_NULL = 0; + public static final int MSG_IDENT = 1; + public static final int MSG_IDENT_FULL = 2; + public static final int MSG_POINT = 10; + public static final int MSG_LOG_SYNC = 100; + public static final int MSG_LOGMSG = 101; + public static final int MSG_TEXT = 102; + public static final int MSG_ALARM = 200; + public static final int MSG_ALARM_RECIEVED = 201; private static final String HEX_CHARS = "0123456789ABCDEF"; |