aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/WondexProtocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-07 16:42:14 +1300
committerGitHub <noreply@github.com>2017-03-07 16:42:14 +1300
commit54867872a7e227742418037ce01da675587cd92b (patch)
treed85a3b1360d76223b64488575394517f7111ab13 /src/org/traccar/protocol/WondexProtocol.java
parentdc79a5ce6d9776db30d357dfb16dff624db770dd (diff)
parent679f838e8bd0caaea94b1d4d1cd9b740ea3b9606 (diff)
downloadtrackermap-server-54867872a7e227742418037ce01da675587cd92b.tar.gz
trackermap-server-54867872a7e227742418037ce01da675587cd92b.tar.bz2
trackermap-server-54867872a7e227742418037ce01da675587cd92b.zip
Merge pull request #2982 from Abyss777/rename_data_and_text
Introduce terms "data" and "text" commands
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