call correct conversion function
All checks were successful
EIVE/-/pipeline/pr-main This commit looks good
All checks were successful
EIVE/-/pipeline/pr-main This commit looks good
This commit is contained in:
parent
f9f8f9481f
commit
c2bed714dc
@ -10,7 +10,6 @@ from eive_tmtc.pus_tc.procedure_packer import handle_default_procedure
|
|||||||
from tmtccmd import TcHandlerBase, ProcedureWrapper
|
from tmtccmd import TcHandlerBase, ProcedureWrapper
|
||||||
from tmtccmd.cfdp.defs import CfdpRequestType
|
from tmtccmd.cfdp.defs import CfdpRequestType
|
||||||
from tmtccmd.cfdp.handler import CfdpInCcsdsHandler
|
from tmtccmd.cfdp.handler import CfdpInCcsdsHandler
|
||||||
from tmtccmd.config import cfdp_put_req_params_to_procedure
|
|
||||||
from tmtccmd.logging import get_current_time_string
|
from tmtccmd.logging import get_current_time_string
|
||||||
from tmtccmd.logging.pus import RawTmtcTimedLogWrapper
|
from tmtccmd.logging.pus import RawTmtcTimedLogWrapper
|
||||||
from tmtccmd.tc import (
|
from tmtccmd.tc import (
|
||||||
@ -23,6 +22,7 @@ from tmtccmd.tc import (
|
|||||||
)
|
)
|
||||||
from tmtccmd.config.cfdp import (
|
from tmtccmd.config.cfdp import (
|
||||||
cfdp_req_to_put_req_proxy_get_req,
|
cfdp_req_to_put_req_proxy_get_req,
|
||||||
|
cfdp_req_to_put_req_regular,
|
||||||
)
|
)
|
||||||
from spacepackets.ecss import PusVerificator
|
from spacepackets.ecss import PusVerificator
|
||||||
from tmtccmd.util import FileSeqCountProvider
|
from tmtccmd.util import FileSeqCountProvider
|
||||||
@ -119,7 +119,9 @@ class TcHandler(TcHandlerBase):
|
|||||||
CFDP_REMOTE_ENTITY_ID,
|
CFDP_REMOTE_ENTITY_ID,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
put_req = cfdp_put_req_params_to_procedure(put_req_cfg_wrapper.cfg)
|
put_req = cfdp_req_to_put_req_regular(
|
||||||
|
put_req_cfg_wrapper.cfg, CFDP_REMOTE_ENTITY_ID
|
||||||
|
)
|
||||||
_LOGGER.info(
|
_LOGGER.info(
|
||||||
f"CFDP: Starting file put request with parameters:\n{put_req}"
|
f"CFDP: Starting file put request with parameters:\n{put_req}"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user