aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/CastelProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-12 04:56:12 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-12 04:56:12 +1300
commit4f3cd9dae285cfbd0ff541911381c08f50b59435 (patch)
tree9308e70f977e2c2f04b499de8ac02902b547c948 /src/org/traccar/protocol/CastelProtocolDecoder.java
parentd5c79363d91f6ae8594fe2cdde447c7efefaa798 (diff)
downloadtrackermap-server-4f3cd9dae285cfbd0ff541911381c08f50b59435.tar.gz
trackermap-server-4f3cd9dae285cfbd0ff541911381c08f50b59435.tar.bz2
trackermap-server-4f3cd9dae285cfbd0ff541911381c08f50b59435.zip
Implement Castelcom fuel cut commands
Diffstat (limited to 'src/org/traccar/protocol/CastelProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/CastelProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/CastelProtocolDecoder.java b/src/org/traccar/protocol/CastelProtocolDecoder.java
index ebd3d202c..44a5e213c 100644
--- a/src/org/traccar/protocol/CastelProtocolDecoder.java
+++ b/src/org/traccar/protocol/CastelProtocolDecoder.java
@@ -96,6 +96,7 @@ public class CastelProtocolDecoder extends BaseProtocolDecoder {
public static final short MSG_CC_LOGIN = 0x4001;
public static final short MSG_CC_LOGIN_RESPONSE = (short) 0x8001;
public static final short MSG_CC_HEARTBEAT = 0x4206;
+ public static final short MSG_CC_PETROL_CONTROL = 0x4583;
public static final short MSG_CC_HEARTBEAT_RESPONSE = (short) 0x8206;
private Position readPosition(DeviceSession deviceSession, ChannelBuffer buf) {