aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/GatorProtocolDecoder.java
diff options
context:
space:
mode:
authorseym45 <seym45@gmail.com>2023-08-22 02:11:40 +0400
committerseym45 <seym45@gmail.com>2023-08-22 02:11:53 +0400
commit75064707c6432cc4918eab573ac3ce9d6eee1d94 (patch)
tree2308683dc91b0072cc84f971aae42ce298e069ed /src/main/java/org/traccar/protocol/GatorProtocolDecoder.java
parent09d4fb4a10a5362191023f5c82327d8d38ae830f (diff)
downloadtrackermap-server-75064707c6432cc4918eab573ac3ce9d6eee1d94.tar.gz
trackermap-server-75064707c6432cc4918eab573ac3ce9d6eee1d94.tar.bz2
trackermap-server-75064707c6432cc4918eab573ac3ce9d6eee1d94.zip
Add command to set speed limit and odometer for Gator
- Add test to verify position retrieval interval settings - Update key name MSG_POSITION_PERIODIC to MSG_SET_POSITION_REQUEST_INTERVAL
Diffstat (limited to 'src/main/java/org/traccar/protocol/GatorProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/GatorProtocolDecoder.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/GatorProtocolDecoder.java b/src/main/java/org/traccar/protocol/GatorProtocolDecoder.java
index c68546c00..90fd5d0c6 100644
--- a/src/main/java/org/traccar/protocol/GatorProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GatorProtocolDecoder.java
@@ -38,7 +38,9 @@ public class GatorProtocolDecoder extends BaseProtocolDecoder {
public static final int MSG_HEARTBEAT = 0x21;
public static final int MSG_POSITION_REQUEST = 0x30;
- public static final int MSG_POSITION_PERIODIC = 0x34;
+ public static final int MSG_SET_POSITION_REQUEST_INTERVAL = 0x34;
+ public static final int MSG_SET_SPEED_LIMIT = 0x3F;
+ public static final int MSG_SET_ODOMETER = 0x6B;
public static final int MSG_RESTORES_THE_OIL_DUCT = 0x38;
public static final int MSG_CLOSE_THE_OIL_DUCT = 0x39;
public static final int MSG_POSITION_DATA = 0x80;