From 77547acdb01922f3c077ee18a39fc81b3be6c242 Mon Sep 17 00:00:00 2001 From: Florian Date: Fri, 2 Jun 2017 22:42:53 +0200 Subject: Update WondexProtocolEncoder.java --- src/org/traccar/protocol/WondexProtocolEncoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/org/traccar/protocol') 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); -- cgit v1.2.3