aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Tk103Protocol.java
diff options
context:
space:
mode:
authorValerii Vyshniak <valeravi@vi-soft.com.ua>2017-11-20 02:40:37 +0100
committerValerii Vyshniak <valeravi@vi-soft.com.ua>2017-11-20 02:40:37 +0100
commitfd9f7b72c1994508ef26df05f4001ab0fd8449e3 (patch)
treedb3f8da64d49151de67938a41fd44e26b89d6831 /src/org/traccar/protocol/Tk103Protocol.java
parentb5f33434ff94cbad7a8c37f9211b0c939c6cdc4b (diff)
downloadtrackermap-server-fd9f7b72c1994508ef26df05f4001ab0fd8449e3.tar.gz
trackermap-server-fd9f7b72c1994508ef26df05f4001ab0fd8449e3.tar.bz2
trackermap-server-fd9f7b72c1994508ef26df05f4001ab0fd8449e3.zip
T580W: review comments fixes
Diffstat (limited to 'src/org/traccar/protocol/Tk103Protocol.java')
-rw-r--r--src/org/traccar/protocol/Tk103Protocol.java25
1 files changed, 9 insertions, 16 deletions
diff --git a/src/org/traccar/protocol/Tk103Protocol.java b/src/org/traccar/protocol/Tk103Protocol.java
index b205e75f1..3360dab32 100644
--- a/src/org/traccar/protocol/Tk103Protocol.java
+++ b/src/org/traccar/protocol/Tk103Protocol.java
@@ -33,6 +33,14 @@ public class Tk103Protocol extends BaseProtocol {
public Tk103Protocol() {
super("tk103");
setSupportedDataCommands(
+ Command.TYPE_CUSTOM,
+ Command.TYPE_GET_DEVICE_STATUS,
+ Command.TYPE_IDENTIFICATION,
+ Command.TYPE_MODE_DEEP_SLEEP,
+ Command.TYPE_MODE_POWER_SAVING,
+ Command.TYPE_ALARM_SOS,
+ Command.TYPE_SET_CONNECTION,
+ Command.TYPE_SOS_NUMBER,
Command.TYPE_POSITION_SINGLE,
Command.TYPE_POSITION_PERIODIC,
Command.TYPE_POSITION_STOP,
@@ -40,22 +48,7 @@ public class Tk103Protocol extends BaseProtocol {
Command.TYPE_REBOOT_DEVICE,
Command.TYPE_SET_ODOMETER,
Command.TYPE_ENGINE_STOP,
- Command.TYPE_ENGINE_RESUME,
- //T580W commands:
- "T580W_positionSingle",
- "T580W_positionRealtime",
- "T580W_positionRealtimeStop",
- "T580W_modeDeepSleepInterval1Hour",
- "T580W_modeDeepSleepInterval2Hour",
- "T580W_modeDeepSleepInterval3Hour",
- "T580W_modeDeepSleepInterval4Hour",
- "T580W_modeDeepSleepMotion",
- "T580W_modeDeepSleepOff",
- "T580W_alarmSosOn",
- "T580W_alarmSosOff",
- "T580W_multiControllerOn",
- "T580W_multiControllerOff",
- "T580W_rebootDevice");
+ Command.TYPE_ENGINE_RESUME);
}
@Override