aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2024-06-12 17:21:55 -0700
committerGitHub <noreply@github.com>2024-06-12 17:21:55 -0700
commit5b2764ff7035376a0125547e294b0e33201d07bc (patch)
tree7f1de0a703264e7a1627d19956d47475cd0e1f04 /src
parent0bb9e28cf771a60db06a33b4967a2049bea72af5 (diff)
parenta4879de310dc7a1fb8385631ec9d6aca71e57b3e (diff)
downloadtrackermap-server-5b2764ff7035376a0125547e294b0e33201d07bc.tar.gz
trackermap-server-5b2764ff7035376a0125547e294b0e33201d07bc.tar.bz2
trackermap-server-5b2764ff7035376a0125547e294b0e33201d07bc.zip
Merge pull request #5343 from frederictobiasc/tlt2h-shake
tlt2h protocol: Add `SHAKE` event
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java b/src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java
index 6be3d2dc3..c8ea66b6c 100644
--- a/src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java
@@ -112,6 +112,9 @@ public class Tlt2hProtocolDecoder extends BaseProtocolDecoder {
case "TOWED":
position.set(Position.KEY_ALARM, Position.ALARM_TOW);
break;
+ case "SHAKE":
+ position.set(Position.KEY_ALARM, Position.ALARM_VIBRATION);
+ break;
case "SOS":
position.set(Position.KEY_ALARM, Position.ALARM_SOS);
break;