diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2024-06-12 17:21:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 17:21:55 -0700 |
commit | 5b2764ff7035376a0125547e294b0e33201d07bc (patch) | |
tree | 7f1de0a703264e7a1627d19956d47475cd0e1f04 /src/main | |
parent | 0bb9e28cf771a60db06a33b4967a2049bea72af5 (diff) | |
parent | a4879de310dc7a1fb8385631ec9d6aca71e57b3e (diff) | |
download | trackermap-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/main')
-rw-r--r-- | src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java | 3 |
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; |