diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-04-29 20:16:32 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-04-29 20:16:32 -0700 |
commit | e910ee9b63fab3b83efdfb128b81dcf28f6b2251 (patch) | |
tree | 9d181f80ca0225878a4814429efcd648fc40b858 /src/main/java/org/traccar/config/Keys.java | |
parent | 610a526a33fa1e6d8277f7fd71626ed5858d251e (diff) | |
download | trackermap-server-e910ee9b63fab3b83efdfb128b81dcf28f6b2251.tar.gz trackermap-server-e910ee9b63fab3b83efdfb128b81dcf28f6b2251.tar.bz2 trackermap-server-e910ee9b63fab3b83efdfb128b81dcf28f6b2251.zip |
Support TAIP prefixes
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index d2e5bbd99..e96c6d13a 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 - 2020 Anton Tananaev (anton@traccar.org) + * Copyright 2019 - 2021 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -155,6 +155,13 @@ public final class Keys { Collections.singletonList(KeyType.GLOBAL)); /** + * Indicates whether TAIP protocol should have prefixes for messages. + */ + public static final ConfigSuffix<Boolean> PROTOCOL_PREFIX = new ConfigSuffix<>( + ".alarmMap", + Collections.singletonList(KeyType.GLOBAL)); + + /** * Some devices require server address confirmation. Use this parameter to configure correct public address. */ public static final ConfigSuffix<String> PROTOCOL_SERVER = new ConfigSuffix<>( |