aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/WondexProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/WondexProtocol.java')
-rw-r--r--src/org/traccar/protocol/WondexProtocol.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/org/traccar/protocol/WondexProtocol.java b/src/org/traccar/protocol/WondexProtocol.java
index 25d8fb175..e7e13c63a 100644
--- a/src/org/traccar/protocol/WondexProtocol.java
+++ b/src/org/traccar/protocol/WondexProtocol.java
@@ -29,15 +29,11 @@ public class WondexProtocol extends BaseProtocol {
public WondexProtocol() {
super("wondex");
+ setTextCommandEncoder(new WondexProtocolEncoder());
setSupportedCommands(
Command.TYPE_REBOOT_DEVICE,
Command.TYPE_POSITION_SINGLE,
Command.TYPE_IDENTIFICATION);
- setSmsEncoder(new WondexProtocolEncoder());
- setSupportedSmsCommands(
- Command.TYPE_REBOOT_DEVICE,
- Command.TYPE_POSITION_SINGLE,
- Command.TYPE_IDENTIFICATION);
}
@Override