debugging, don't use
This commit is contained in:
parent
7259f16ec0
commit
03f80f900d
|
@ -75,11 +75,12 @@ class playIPSC(IPSC):
|
||||||
# re-Write the peer radio ID to that of this program
|
# re-Write the peer radio ID to that of this program
|
||||||
_tmp_data = _tmp_data.replace(_peerid, NETWORK[_network]['LOCAL']['RADIO_ID'])
|
_tmp_data = _tmp_data.replace(_peerid, NETWORK[_network]['LOCAL']['RADIO_ID'])
|
||||||
|
|
||||||
|
|
||||||
# re-Write the source subscriber ID to that of this program
|
# re-Write the source subscriber ID to that of this program
|
||||||
#_tmp_data = _tmp_data.replace(_src_sub, NETWORK[_network]['LOCAL']['RADIO_ID'])
|
_tmp_data = _tmp_data.replace(_src_sub, NETWORK[_network]['LOCAL']['RADIO_ID'])
|
||||||
|
|
||||||
# Re-Write IPSC timeslot value
|
# Re-Write IPSC timeslot value
|
||||||
|
'''
|
||||||
_call_info = int_id(_data[17:18])
|
_call_info = int_id(_data[17:18])
|
||||||
if _ts == 0:
|
if _ts == 0:
|
||||||
_call_info &= ~(1 << 5)
|
_call_info &= ~(1 << 5)
|
||||||
|
@ -87,7 +88,7 @@ class playIPSC(IPSC):
|
||||||
_call_info |= 1 << 5
|
_call_info |= 1 << 5
|
||||||
_call_info = chr(_call_info)
|
_call_info = chr(_call_info)
|
||||||
_tmp_data = _tmp_data[:17] + _call_info + _tmp_data[18:]
|
_tmp_data = _tmp_data[:17] + _call_info + _tmp_data[18:]
|
||||||
|
'''
|
||||||
# Re-Write DMR timeslot value
|
# Re-Write DMR timeslot value
|
||||||
# Determine if the slot is present, so we can translate if need be
|
# Determine if the slot is present, so we can translate if need be
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue