Merge remote-tracking branch 'origin/consolidate-master-client' into consolidate-master-client

# Conflicts:
#	hb_router.py
This commit is contained in:
Cort Buffington 2016-08-26 21:33:35 -05:00
commit a7af449c79
4 changed files with 41 additions and 41 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@ Icon
*.lcl
*.conf
hblink.cfg
hb_routing_rules.py
*.config
*.json
*.pickle

View File

@ -124,9 +124,9 @@ if __name__ == '__main__':
for system in CONFIG['SYSTEMS']:
if CONFIG['SYSTEMS'][system]['ENABLED']:
if CONFIG['SYSTEMS'][system]['MODE'] == 'MASTER':
systems[system] = HBMASTER(system)
systems[system] = routerMASTER(system)
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'])
logger.debug('%s instance created: %s, %s', CONFIG['SYSTEMS'][system]['MODE'], system, systems[system])

View File

@ -235,7 +235,6 @@ class HBMASTER(DatagramProtocol):
else:
_frame_type = 'none'
_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))
# If AMBE audio exporting is configured...