update readme, sample, and functions

This commit is contained in:
KF7EEL 2020-11-26 19:40:43 -08:00
parent 9dc7ce12e1
commit 00e3ea840c
3 changed files with 19 additions and 4 deletions

View File

@ -31,6 +31,12 @@ Not tested yet
* Anytone D578
* BTech DMR-6x2
## Features
* Decode GPS locations and upload APRS position packets
* Ability to receive data as a private call or group call
* Trigger a command or script via DMR SMS
## How it works

View File

@ -1,9 +1,11 @@
# Various configurable options used in the GPS/Data application.
# SMS message that triggers command
cmd_list = {
'LS' : 'ls -lsh',
'COMMAND' : 'echo "command to execute"',
'UPTIME' : 'uptime'
}

View File

@ -54,12 +54,19 @@ list the names of each system that should bridge unit to unit (individual) calls
UNIT = ['ONE', 'TWO']
'''
The amount of time to keep sending private calls to a system before flooding again
Unit Call flood timeout:
The amount of time to keep sending private calls to a single system before
flooding all systems with the call. A higher value should be set for systems where subscribers
are not moving between systems often. A lower value should be set for systems that have subscribers
moving between systems often.
Time is in minutes.
'''
UNIT_TIME = 15
UNIT_TIME = 1
'''
Input the DMR ID and SYSTEM of a subscriber that you would like to have always have private calls routed. This will not flood all systems.
Input the DMR ID and SYSTEM of a subscriber that you would like to have always have private calls routed.
This will not flood all systems.
'''
STATIC_UNIT = [
[ 123, 'CLIENT-1'],