smaller tweaks, generator updates
All checks were successful
EIVE/-/pipeline/pr-main This commit looks good

This commit is contained in:
2023-08-31 15:10:07 +02:00
parent c687b1411c
commit d72b7d9d66
3 changed files with 300 additions and 287 deletions

View File

@ -49,6 +49,7 @@ class TcHandler(TcHandlerBase):
self.high_level_file_logger = high_level_file_logger
self.pus_raw_logger = raw_pus_logger
self.gui = gui
self.proxy_op = True
self.queue_helper = DefaultPusQueueHelper(
queue_wrapper=QueueWrapper.empty(),
default_pus_apid=PUS_APID,
@ -60,7 +61,10 @@ class TcHandler(TcHandlerBase):
def cfdp_done(self) -> bool:
if self.cfdp_handler_started:
if not self.cfdp_in_ccsds_handler.put_request_pending():
if (
not self.cfdp_in_ccsds_handler.put_request_pending()
and not self.proxy_op
):
self.cfdp_handler_started = False
return True
return False
@ -118,6 +122,7 @@ class TcHandler(TcHandlerBase):
CFDP_LOCAL_ENTITY_ID,
CFDP_REMOTE_ENTITY_ID,
)
self.proxy_op = True
else:
put_req = cfdp_req_to_put_req_regular(
put_req_cfg_wrapper.cfg, CFDP_REMOTE_ENTITY_ID