mirror of https://github.com/DJ2LS/FreeDATA.git
Improve ARQ logging
parent
c689b93ee1
commit
bb0fc79b4f
|
@ -51,9 +51,9 @@ class TestARQSession(unittest.TestCase):
|
|||
transmission_item = modem_transmit_queue.get()
|
||||
frame_bytes = bytes(transmission_item['frame'])
|
||||
if random.randint(0, 100) < self.loss_probability:
|
||||
self.logger.info("Frame lost...")
|
||||
self.logger.info("[TestChannel] Frame lost...")
|
||||
continue
|
||||
self.logger.info("Redirecting frame")
|
||||
self.logger.info("[TestChannel] Redirecting frame")
|
||||
frame_dispatcher.new_process_data(frame_bytes, None, len(frame_bytes), 0, 0)
|
||||
|
||||
def establishChannels(self):
|
||||
|
|
Loading…
Reference in New Issue