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/WialonProtocolEncoder.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/WialonProtocolEncoder.java')
-rw-r--r-- | src/org/traccar/protocol/WialonProtocolEncoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WialonProtocolEncoder.java b/src/org/traccar/protocol/WialonProtocolEncoder.java index 7cdc0c63c..b68dacd79 100644 --- a/src/org/traccar/protocol/WialonProtocolEncoder.java +++ b/src/org/traccar/protocol/WialonProtocolEncoder.java @@ -28,7 +28,7 @@ public class WialonProtocolEncoder extends StringProtocolEncoder { case Command.TYPE_REBOOT_DEVICE: return formatCommand(command, "reboot\r\n"); case Command.TYPE_SEND_USSD: - return formatCommand(command, "USSD:{%s}\r\n", Command.KEY_PHONE_NUMBER); + return formatCommand(command, "USSD:{%s}\r\n", Command.KEY_PHONE); case Command.TYPE_IDENTIFICATION: return formatCommand(command, "VER?\r\n"); case Command.TYPE_OUTPUT_CONTROL: |