aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/WondexProtocolEncoder.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-07-08 10:35:39 +0500
committerAbyss777 <abyss@fox5.ru>2016-07-08 10:35:39 +0500
commit282d1f68fd81861529d47d23c02624a02d07dc8e (patch)
tree4b2516d287a90999f849e854cdc04baf4bbf6b68 /src/org/traccar/protocol/WondexProtocolEncoder.java
parentd3e0224d6f5b1d4765ce9952db19a00af59f7f83 (diff)
downloadtrackermap-server-282d1f68fd81861529d47d23c02624a02d07dc8e.tar.gz
trackermap-server-282d1f68fd81861529d47d23c02624a02d07dc8e.tar.bz2
trackermap-server-282d1f68fd81861529d47d23c02624a02d07dc8e.zip
- l10n strings for new command types
- Added identification command for wondex protocol
Diffstat (limited to 'src/org/traccar/protocol/WondexProtocolEncoder.java')
-rw-r--r--src/org/traccar/protocol/WondexProtocolEncoder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/WondexProtocolEncoder.java b/src/org/traccar/protocol/WondexProtocolEncoder.java
index c8bc58b40..9d000d9ea 100644
--- a/src/org/traccar/protocol/WondexProtocolEncoder.java
+++ b/src/org/traccar/protocol/WondexProtocolEncoder.java
@@ -16,6 +16,8 @@ public class WondexProtocolEncoder extends StringProtocolEncoder {
return formatCommand(command, "$WP+REBOOT={%s}", Command.KEY_DEVICE_PASSWORD);
case Command.TYPE_POSITION_SINGLE:
return formatCommand(command, "$WP+GETLOCATION={%s}", Command.KEY_DEVICE_PASSWORD);
+ case Command.TYPE_IDENTIFICATION:
+ return formatCommand(command, "$WP+VER={%s}", Command.KEY_DEVICE_PASSWORD);
default:
Log.warning(new UnsupportedOperationException(command.getType()));
break;