diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-15 23:34:08 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-15 23:34:08 +1200 |
commit | 47156de7455533806b1ba34a872837625c8ccb1a (patch) | |
tree | 08059cf7fb1c70870365d9c4fcbd5f39390e9fb1 /src/org/traccar/protocol/SuntechProtocol.java | |
parent | 8027b63bb13a91591677e335b68417c3f5378a88 (diff) | |
parent | 22afcdff52d47e9705c446dc8590deeb6786a701 (diff) | |
download | trackermap-server-47156de7455533806b1ba34a872837625c8ccb1a.tar.gz trackermap-server-47156de7455533806b1ba34a872837625c8ccb1a.tar.bz2 trackermap-server-47156de7455533806b1ba34a872837625c8ccb1a.zip |
Merge pull request #2107 from drecchia/master-suntech-additional-commands
Added new suntech commands
Diffstat (limited to 'src/org/traccar/protocol/SuntechProtocol.java')
-rw-r--r-- | src/org/traccar/protocol/SuntechProtocol.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SuntechProtocol.java b/src/org/traccar/protocol/SuntechProtocol.java index ce0e73280..4a40e1bfc 100644 --- a/src/org/traccar/protocol/SuntechProtocol.java +++ b/src/org/traccar/protocol/SuntechProtocol.java @@ -1,5 +1,5 @@ /* - * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com) + * Copyright 2015 - 2016 Anton Tananaev (anton.tananaev@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,9 @@ public class SuntechProtocol extends BaseProtocol { public SuntechProtocol() { super("suntech"); setSupportedCommands( + Command.TYPE_OUTPUT_CONTROL, + Command.TYPE_REBOOT_DEVICE, + Command.TYPE_POSITION_SINGLE, Command.TYPE_ENGINE_STOP, Command.TYPE_ENGINE_RESUME); } |