diff --git a/ambe_audio.py b/ambe_audio.py index 7dff76f..f24d5a7 100755 --- a/ambe_audio.py +++ b/ambe_audio.py @@ -202,8 +202,6 @@ class ambeIPSC(IPSC): elif _newSlot == 2: _burst_data_type = BURST_DATA_TYPE['SLOT2_VOICE'] _frame = _frame[:30] + _burst_data_type + _frame[31:] - - _frame = self.hashed_packet(NETWORK[_network]['LOCAL']['AUTH_KEY'], _frame) if (time() - self._busy_slots[_newSlot]) >= 0.10 : # slot is not busy so it is safe to transmit # Send the packet to all peers in the target IPSC diff --git a/play_group.py b/play_group.py index 33fb86d..db6ba4c 100755 --- a/play_group.py +++ b/play_group.py @@ -118,8 +118,7 @@ class playIPSC(IPSC): elif _ts == 1: _burst_data_type = BURST_DATA_TYPE['SLOT2_VOICE'] _tmp_data = _tmp_data[:30] + _burst_data_type + _tmp_data[31:] - - _tmp_data = self.hashed_packet(NETWORK[_network]['LOCAL']['AUTH_KEY'], _tmp_data) + # Send the packet to all peers in the target IPSC self.send_to_ipsc(_tmp_data) time.sleep(0.06) diff --git a/playback.py b/playback.py index 3d075c1..6b3e000 100755 --- a/playback.py +++ b/playback.py @@ -65,7 +65,6 @@ class playbackIPSC(IPSC): _tmp_data = _tmp_data.replace(_peerid, NETWORK[_network]['LOCAL']['RADIO_ID']) if GROUP_SRC_SUB: _tmp_data = _tmp_data.replace(_src_sub, HEX_GRP_SUB) - _tmp_data = self.hashed_packet(NETWORK[_network]['LOCAL']['AUTH_KEY'], _tmp_data) # Send the packet to all peers in the target IPSC self.send_to_ipsc(_tmp_data) time.sleep(0.06) @@ -92,7 +91,6 @@ class playbackIPSC(IPSC): _tmp_data = _tmp_data.replace(_dst_sub, BOGUS_SUB) _tmp_data = _tmp_data.replace(_src_sub, _orig_dst) _tmp_data = _tmp_data.replace(BOGUS_SUB, _orig_src) - _tmp_data = self.hashed_packet(NETWORK[_network]['LOCAL']['AUTH_KEY'], _tmp_data) # Send the packet to all peers in the target IPSC self.send_to_ipsc(_tmp_data) time.sleep(0.06)