aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/MeiligaoProtocolEncoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-25 12:44:34 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-25 12:44:34 +1200
commit0f04b2a8355cb25071d4f01c2e2abc2858636c36 (patch)
treeec0bdf989f22c73196b5f3ebb6b5e7a7cea41616 /src/org/traccar/protocol/MeiligaoProtocolEncoder.java
parent3d9b8bdd2a4df0ef055e3dd064209fc5c3e8401d (diff)
downloadtrackermap-server-0f04b2a8355cb25071d4f01c2e2abc2858636c36.tar.gz
trackermap-server-0f04b2a8355cb25071d4f01c2e2abc2858636c36.tar.bz2
trackermap-server-0f04b2a8355cb25071d4f01c2e2abc2858636c36.zip
Add some new command types
Diffstat (limited to 'src/org/traccar/protocol/MeiligaoProtocolEncoder.java')
-rw-r--r--src/org/traccar/protocol/MeiligaoProtocolEncoder.java2
1 files changed, 1 insertions, 1 deletions
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: