clean up
This commit is contained in:
parent
b1b19f9cba
commit
af8dccb56b
15
common.py
15
common.py
@ -4,16 +4,21 @@ from pathlib import Path
|
||||
from typing import Optional, Sequence
|
||||
|
||||
from spacepackets import SpacePacket, SpacePacketHeader, PacketTypes
|
||||
from spacepackets.cfdp import TransmissionModes, PduType, DirectiveType
|
||||
from spacepackets.cfdp.pdu.helper import GenericPduPacket, PduHolder, PduFactory
|
||||
from spacepackets.util import UnsignedByteField
|
||||
from spacepackets.cfdp import (
|
||||
TransmissionModes,
|
||||
PduType,
|
||||
DirectiveType,
|
||||
GenericPduPacket,
|
||||
PduHolder,
|
||||
PduFactory,
|
||||
)
|
||||
from tmtccmd.cfdp import (
|
||||
RemoteEntityCfgTable,
|
||||
HostFilestore,
|
||||
RemoteEntityCfg,
|
||||
LocalEntityCfg,
|
||||
CfdpUserBase,
|
||||
)
|
||||
from spacepackets.util import UnsignedByteField
|
||||
from tmtccmd.cfdp.handler import SourceHandler, DestHandler
|
||||
from tmtccmd.cfdp.request import PutRequest, PutRequestCfg
|
||||
from tmtccmd.logging import get_current_time_string
|
||||
@ -110,8 +115,6 @@ class CfdpHandler:
|
||||
seq_cnt_provider: ProvidesSeqCount,
|
||||
remote_cfg: Sequence[RemoteEntityCfg],
|
||||
):
|
||||
vfs = HostFilestore()
|
||||
super().__init__(vfs)
|
||||
self.dest_id = UnsignedByteField(EXAMPLE_APID, 2)
|
||||
self.remote_cfg_table = RemoteEntityCfgTable()
|
||||
self.remote_cfg_table.add_remote_entities(remote_cfg)
|
||||
|
Loading…
Reference in New Issue
Block a user