diff options
author | Florian <florian@voit.li> | 2017-06-02 22:42:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-02 22:42:53 +0200 |
commit | 77547acdb01922f3c077ee18a39fc81b3be6c242 (patch) | |
tree | 2ea4a54e8cdc42c60832bdb464e0900e5caff9bb | |
parent | a0666633c64b4ff6f9ee6f1c57aed19343afa61e (diff) | |
download | traccar-server-77547acdb01922f3c077ee18a39fc81b3be6c242.tar.gz traccar-server-77547acdb01922f3c077ee18a39fc81b3be6c242.tar.bz2 traccar-server-77547acdb01922f3c077ee18a39fc81b3be6c242.zip |
Update WondexProtocolEncoder.java
-rw-r--r-- | src/org/traccar/protocol/WondexProtocolEncoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/WondexProtocolEncoder.java b/src/org/traccar/protocol/WondexProtocolEncoder.java index 5034add8c..6258c1fe6 100644 --- a/src/org/traccar/protocol/WondexProtocolEncoder.java +++ b/src/org/traccar/protocol/WondexProtocolEncoder.java @@ -28,9 +28,9 @@ public class WondexProtocolEncoder extends StringProtocolEncoder { switch (command.getType()) { case Command.TYPE_REBOOT_DEVICE: return formatCommand(command, "$WP+REBOOT={%s}", Command.KEY_DEVICE_PASSWORD); - case Command.TYPE_GET_DEVICESTATUS: + case Command.TYPE_GET_DEVICE_STATUS: return formatCommand(command, "$WP+TEST={%s}", Command.KEY_DEVICE_PASSWORD); - case Command.TYPE_GET_GSMSTATUS: + case Command.TYPE_GET_MODEM_STATUS: return formatCommand(command, "$WP+GSMINFO={%s}", Command.KEY_DEVICE_PASSWORD); case Command.TYPE_IDENTIFICATION: return formatCommand(command, "$WP+IMEI={%s}", Command.KEY_DEVICE_PASSWORD); |