debugging, don't use
This commit is contained in:
parent
174d74385e
commit
a9ef6314cd
@ -81,15 +81,17 @@ class playIPSC(IPSC):
|
|||||||
_tmp_data = _tmp_data.replace(_tmp_data[9:12], _dst_group)
|
_tmp_data = _tmp_data.replace(_tmp_data[9:12], _dst_group)
|
||||||
|
|
||||||
# Re-Write IPSC timeslot value
|
# Re-Write IPSC timeslot value
|
||||||
print('start: ', h(_data[17:18]))
|
print('start: ', h(_tmp_data))
|
||||||
_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)
|
||||||
elif _ts == 1:
|
elif _ts == 1:
|
||||||
_call_info |= 1 << 5
|
_call_info |= 1 << 5
|
||||||
_call_info = chr(_call_info)
|
_call_info = chr(_call_info)
|
||||||
print('end: ', h(_call_info))
|
|
||||||
_tmp_data = _tmp_data[:17] + _call_info + _tmp_data[18:]
|
_tmp_data = _tmp_data[:17] + _call_info + _tmp_data[18:]
|
||||||
|
print('end: ', h(_tmp_data))
|
||||||
|
print()
|
||||||
|
|
||||||
|
|
||||||
# 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
Block a user