update readme, sample, and functions
This commit is contained in:
		
							parent
							
								
									9dc7ce12e1
								
							
						
					
					
						commit
						00e3ea840c
					
				@ -31,6 +31,12 @@ Not tested yet
 | 
				
			|||||||
* Anytone D578
 | 
					* Anytone D578
 | 
				
			||||||
* BTech DMR-6x2
 | 
					* 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
 | 
					## How it works
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,9 +1,11 @@
 | 
				
			|||||||
# Various configurable options used in the GPS/Data application.
 | 
					# Various configurable options used in the GPS/Data application.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# SMS message that triggers command
 | 
					# SMS message that triggers command
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cmd_list = {
 | 
					cmd_list = {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    'LS' : 'ls -lsh',
 | 
					    'COMMAND' : 'echo "command to execute"',
 | 
				
			||||||
    'UPTIME' : 'uptime'
 | 
					    'UPTIME' : 'uptime'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
@ -54,12 +54,19 @@ list the names of each system that should bridge unit to unit (individual) calls
 | 
				
			|||||||
UNIT = ['ONE', 'TWO']
 | 
					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 = [
 | 
					STATIC_UNIT = [
 | 
				
			||||||
    [ 123, 'CLIENT-1'],
 | 
					    [ 123, 'CLIENT-1'],
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user