CFDP file downlink #233

Merged
muellerr merged 35 commits from cfdp-file-downlink into main 2023-09-14 11:44:23 +02:00
34 changed files with 447 additions and 376 deletions
Showing only changes of commit f9f8f9481f - Show all commits

View File

@ -0,0 +1,24 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="CFDP Downlink Test" type="PythonConfigurationType" factoryName="Python" folderName="CFDP">
<module name="tmtc" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/tmtcc.py" />
<option name="PARAMETERS" value="cfdp -p tmp/hello.txt /tmp/hello2.txt -d 0.1" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<option name="REDIRECT_INPUT" value="false" />
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
</component>

View File

@ -10,6 +10,7 @@ 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 (
@ -20,8 +21,7 @@ from tmtccmd.tc import (
SendCbParams, SendCbParams,
TcQueueEntryType, TcQueueEntryType,
) )
from tmtccmd.config import ( from tmtccmd.config.cfdp import (
cfdp_put_req_params_to_procedure,
cfdp_req_to_put_req_proxy_get_req, cfdp_req_to_put_req_proxy_get_req,
) )
from spacepackets.ecss import PusVerificator from spacepackets.ecss import PusVerificator

View File

@ -31,7 +31,7 @@ classifiers = [
dependencies = [ dependencies = [
# "tmtccmd ~= 5.0", # "tmtccmd ~= 5.0",
"python-dateutil ~= 2.8", "python-dateutil ~= 2.8",
"tmtccmd @ git+https://github.com/robamu-org/tmtccmd@cfdp-proxy-op-support" "tmtccmd @ git+https://github.com/robamu-org/tmtccmd@main"
] ]
[project.urls] [project.urls]