a7af449c79
# Conflicts: # hb_router.py
28 lines
1.4 KiB
Python
28 lines
1.4 KiB
Python
RULES = {
|
|
'MASTER-1': {
|
|
'GROUP_HANGTIME': 5,
|
|
'GROUP_VOICE': [
|
|
{'NAME': 'STATEWIDE', 'DST_NET': 'REPEATER-1', 'SRC_TS': 2, 'SRC_GROUP': 3120, 'DST_TS': 2, 'DST_GROUP': 3120, 'ACTIVE': True, 'TO_TYPE': 'ON', 'TIMEOUT': 2, 'ON': [8,], 'OFF': [9,10]},
|
|
# When DMRD received on this MASTER, Time Slot 1, Talk Group 1; send to CLIENT-1 on Time Slot 2 Talk Group 2
|
|
# This rule is NOT enabled by default
|
|
# This rule can be enabled by transmitting on TGID 8
|
|
# This rule can be disabled by transmitting on TGID 9 or 10
|
|
# Repeat the above line for as many rules for this IPSC network as you want.
|
|
]
|
|
},
|
|
'REPEATER-1': {
|
|
'GROUP_HANGTIME': 5,
|
|
'GROUP_VOICE': [
|
|
{'NAME': 'STATEWIDE', 'DST_NET': 'MASTER-1', 'SRC_TS': 2, 'SRC_GROUP': 3120, 'DST_TS': 2, 'DST_GROUP': 3120, 'ACTIVE': True, 'TO_TYPE': 'ON', 'TIMEOUT': 2, 'ON': [8,], 'OFF': [9,10]},
|
|
# When DMRD received on this CLIENT, Time Slot 1, Talk Group 1; send to MASTER-1 on Time Slot 2 Talk Group 2
|
|
# This rule is NOT enabled by default
|
|
# This rule can be enabled by transmitting on TGID 8
|
|
# This rule can be disabled by transmitting on TGID 9 or 10
|
|
# Repeat the above line for as many rules for this IPSC network as you want.
|
|
]
|
|
},
|
|
}
|
|
|
|
if __name__ == '__main__':
|
|
from pprint import pprint
|
|
pprint(RULES) |