diff options
author | Abyss777 <abyss@fox5.ru> | 2017-03-06 10:07:43 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-03-06 10:25:28 +0500 |
commit | 679f838e8bd0caaea94b1d4d1cd9b740ea3b9606 (patch) | |
tree | 5615803d51c2c321514f70dd36ae92143e233ac7 /src/org/traccar/protocol/WondexProtocol.java | |
parent | cbb28de69d4da85b3baff9967549d35952164a31 (diff) | |
download | trackermap-server-679f838e8bd0caaea94b1d4d1cd9b740ea3b9606.tar.gz trackermap-server-679f838e8bd0caaea94b1d4d1cd9b740ea3b9606.tar.bz2 trackermap-server-679f838e8bd0caaea94b1d4d1cd9b740ea3b9606.zip |
Introduce terms "data" and "text" commands
Diffstat (limited to 'src/org/traccar/protocol/WondexProtocol.java')
-rw-r--r-- | src/org/traccar/protocol/WondexProtocol.java | 6 |
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 |