Merge remote-tracking branch 'origin/consolidate-master-client' into consolidate-master-client
# Conflicts: # hb_router.py
This commit is contained in:
commit
a7af449c79
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,6 +7,7 @@ Icon
|
|||||||
*.lcl
|
*.lcl
|
||||||
*.conf
|
*.conf
|
||||||
hblink.cfg
|
hblink.cfg
|
||||||
|
hb_routing_rules.py
|
||||||
*.config
|
*.config
|
||||||
*.json
|
*.json
|
||||||
*.pickle
|
*.pickle
|
||||||
|
@ -124,9 +124,9 @@ if __name__ == '__main__':
|
|||||||
for system in CONFIG['SYSTEMS']:
|
for system in CONFIG['SYSTEMS']:
|
||||||
if CONFIG['SYSTEMS'][system]['ENABLED']:
|
if CONFIG['SYSTEMS'][system]['ENABLED']:
|
||||||
if CONFIG['SYSTEMS'][system]['MODE'] == 'MASTER':
|
if CONFIG['SYSTEMS'][system]['MODE'] == 'MASTER':
|
||||||
systems[system] = HBMASTER(system)
|
systems[system] = routerMASTER(system)
|
||||||
elif CONFIG['SYSTEMS'][system]['MODE'] == 'CLIENT':
|
elif CONFIG['SYSTEMS'][system]['MODE'] == 'CLIENT':
|
||||||
systems[system] = HBCLIENT(system)
|
systems[system] = routerCLIENT(system)
|
||||||
reactor.listenUDP(CONFIG['SYSTEMS'][system]['PORT'], systems[system], interface=CONFIG['SYSTEMS'][system]['IP'])
|
reactor.listenUDP(CONFIG['SYSTEMS'][system]['PORT'], systems[system], interface=CONFIG['SYSTEMS'][system]['IP'])
|
||||||
logger.debug('%s instance created: %s, %s', CONFIG['SYSTEMS'][system]['MODE'], system, systems[system])
|
logger.debug('%s instance created: %s, %s', CONFIG['SYSTEMS'][system]['MODE'], system, systems[system])
|
||||||
|
|
||||||
|
@ -235,7 +235,6 @@ class HBMASTER(DatagramProtocol):
|
|||||||
else:
|
else:
|
||||||
_frame_type = 'none'
|
_frame_type = 'none'
|
||||||
_stream_id = _data[16:20]
|
_stream_id = _data[16:20]
|
||||||
|
|
||||||
#logger.debug('(%s) DMRD - Seqence: %s, RF Source: %s, Destination ID: %s', self._master, int_id(_seq), int_id(_rf_src), int_id(_dst_id))
|
#logger.debug('(%s) DMRD - Seqence: %s, RF Source: %s, Destination ID: %s', self._master, int_id(_seq), int_id(_rf_src), int_id(_dst_id))
|
||||||
|
|
||||||
# If AMBE audio exporting is configured...
|
# If AMBE audio exporting is configured...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user