aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/EelinkProtocolDecoder.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/EelinkProtocolDecoder.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/EelinkProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/EelinkProtocolDecoder.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/org/traccar/protocol/EelinkProtocolDecoder.java b/src/org/traccar/protocol/EelinkProtocolDecoder.java
index 52f6a7f63..41c415c78 100644
--- a/src/org/traccar/protocol/EelinkProtocolDecoder.java
+++ b/src/org/traccar/protocol/EelinkProtocolDecoder.java
@@ -32,15 +32,15 @@ public class EelinkProtocolDecoder extends BaseProtocolDecoder {
super(protocol);
}
- private static final int MSG_LOGIN = 0x01;
- private static final int MSG_GPS = 0x02;
- private static final int MSG_HEARTBEAT = 0x03;
- private static final int MSG_ALARM = 0x04;
- private static final int MSG_STATE = 0x05;
- private static final int MSG_SMS = 0x06;
- private static final int MSG_OBD = 0x07;
- private static final int MSG_INTERACTIVE = 0x80;
- private static final int MSG_DATA = 0x81;
+ public static final int MSG_LOGIN = 0x01;
+ public static final int MSG_GPS = 0x02;
+ public static final int MSG_HEARTBEAT = 0x03;
+ public static final int MSG_ALARM = 0x04;
+ public static final int MSG_STATE = 0x05;
+ public static final int MSG_SMS = 0x06;
+ public static final int MSG_OBD = 0x07;
+ public static final int MSG_INTERACTIVE = 0x80;
+ public static final int MSG_DATA = 0x81;
private void sendResponse(Channel channel, int type, int index) {
if (channel != null) {