aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/MeiligaoProtocol.java2
-rw-r--r--src/org/traccar/protocol/MeiligaoProtocolEncoder.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocol.java b/src/org/traccar/protocol/MeiligaoProtocol.java
index 2e4226e19..04e15fcee 100644
--- a/src/org/traccar/protocol/MeiligaoProtocol.java
+++ b/src/org/traccar/protocol/MeiligaoProtocol.java
@@ -32,7 +32,7 @@ public class MeiligaoProtocol extends BaseProtocol {
Command.TYPE_POSITION_PERIODIC,
Command.TYPE_ENGINE_STOP,
Command.TYPE_ENGINE_RESUME,
- Command.TYPE_MOVEMENT_ALARM,
+ Command.TYPE_ALARM_GEOFENCE,
Command.TYPE_SET_TIMEZONE,
Command.TYPE_REBOOT_DEVICE);
}
diff --git a/src/org/traccar/protocol/MeiligaoProtocolEncoder.java b/src/org/traccar/protocol/MeiligaoProtocolEncoder.java
index 4aae12add..a40ce9271 100644
--- a/src/org/traccar/protocol/MeiligaoProtocolEncoder.java
+++ b/src/org/traccar/protocol/MeiligaoProtocolEncoder.java
@@ -76,7 +76,7 @@ public class MeiligaoProtocolEncoder extends BaseProtocolEncoder {
case Command.TYPE_ENGINE_RESUME:
content.writeByte(0x00);
return encodeContent(command.getDeviceId(), MSG_OUTPUT_CONTROL, content);
- case Command.TYPE_MOVEMENT_ALARM:
+ case Command.TYPE_ALARM_GEOFENCE:
content.writeShort(((Number) attributes.get(Command.KEY_RADIUS)).intValue());
return encodeContent(command.getDeviceId(), MSG_MOVEMENT_ALARM, content);
case Command.TYPE_SET_TIMEZONE: