RPTC Packet Now accepted by BM Master
This commit is contained in:
parent
9a2708aa9d
commit
88a922543c
@ -140,7 +140,7 @@ class HBCLIENT(DatagramProtocol):
|
|||||||
if _data[6:10] == self._config['RADIO_ID']:
|
if _data[6:10] == self._config['RADIO_ID']:
|
||||||
logger.info('(%s) Repeater Authentication Accepted', self._client)
|
logger.info('(%s) Repeater Authentication Accepted', self._client)
|
||||||
_config_packet = self._config['CALLSIGN']+\
|
_config_packet = self._config['CALLSIGN']+\
|
||||||
self._config['RADIO_ID']+\
|
str(int(h(self._config['RADIO_ID']), 16)).rjust(8)+\
|
||||||
self._config['RX_FREQ']+\
|
self._config['RX_FREQ']+\
|
||||||
self._config['TX_FREQ']+\
|
self._config['TX_FREQ']+\
|
||||||
self._config['TX_POWER']+\
|
self._config['TX_POWER']+\
|
||||||
@ -157,7 +157,6 @@ class HBCLIENT(DatagramProtocol):
|
|||||||
self.send_packet('RPTC'+_config_packet)
|
self.send_packet('RPTC'+_config_packet)
|
||||||
print(len('RPTC'+_config_packet))
|
print(len('RPTC'+_config_packet))
|
||||||
|
|
||||||
|
|
||||||
elif _command == 'RPTP': # Actually RPTPONG -- a reply to MSTPING (send by client)
|
elif _command == 'RPTP': # Actually RPTPONG -- a reply to MSTPING (send by client)
|
||||||
print('RPTPONG Received')
|
print('RPTPONG Received')
|
||||||
elif _command == 'MSTC': # Actually MSTCL -- notify the master this client is closing
|
elif _command == 'MSTC': # Actually MSTCL -- notify the master this client is closing
|
||||||
|
Loading…
Reference in New Issue
Block a user