diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-28 11:18:05 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-28 11:18:05 +1200 |
commit | ae5fe50416df190f5374d084526518a22096871e (patch) | |
tree | 80ad67bfdc5eb3dde63cf466f090fd9379f96752 /src/org/traccar/protocol/MeitrackProtocolEncoder.java | |
parent | 726b69a642e7f4d7c54863fc7367b066f7217ad2 (diff) | |
download | trackermap-server-ae5fe50416df190f5374d084526518a22096871e.tar.gz trackermap-server-ae5fe50416df190f5374d084526518a22096871e.tar.bz2 trackermap-server-ae5fe50416df190f5374d084526518a22096871e.zip |
Add more MiniFinder commands
Diffstat (limited to 'src/org/traccar/protocol/MeitrackProtocolEncoder.java')
-rw-r--r-- | src/org/traccar/protocol/MeitrackProtocolEncoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MeitrackProtocolEncoder.java b/src/org/traccar/protocol/MeitrackProtocolEncoder.java index 04cb39637..784b3b917 100644 --- a/src/org/traccar/protocol/MeitrackProtocolEncoder.java +++ b/src/org/traccar/protocol/MeitrackProtocolEncoder.java @@ -52,7 +52,7 @@ public class MeitrackProtocolEncoder extends StringProtocolEncoder { return formatCommand(command, 'D', "D03,1,camera_picture.jpg"); case Command.TYPE_SEND_SMS: return formatCommand(command, 'f', "C02,0," - + attributes.get(Command.KEY_PHONE_NUMBER) + "," + attributes.get(Command.KEY_MESSAGE)); + + attributes.get(Command.KEY_PHONE) + "," + attributes.get(Command.KEY_MESSAGE)); default: Log.warning(new UnsupportedOperationException(command.getType())); break; |