object
ccsds_link_profiles
Ergonomic wrappers around the CCSDS TM, TC, and AOS frame objects using explicit profile terms.
logtalk_load(ccsds_link_profiles(loader))static, context_switching_callsPublic predicates
valid_profile/1
True if the argument is a supported CCSDS link profile term.
staticvalid_profile(Profile)valid_profile(@compound) - zero_or_oneparse_frame/3
Parses exactly one CCSDS transfer frame from a source using a link profile term. Supported source terms are file(File), stream(Stream), and bytes(Bytes).
staticparse_frame(Source,Profile,Frame)parse_frame(+compound,+compound,-compound) - one_or_errorSource is a variable:instantiation_errorProfile is a variable:instantiation_errorProfile is neither a variable nor a supported link profile term:domain_error(ccsds_link_profile,Profile)Source does not contain exactly one frame for the selected profile:domain_error(ccsds_single_frame_source,Source)parse_frames/3
Parses zero or more CCSDS transfer frames from a source using a link profile term. Supported source terms are file(File), stream(Stream), and bytes(Bytes).
staticparse_frames(Source,Profile,Frames)parse_frames(+compound,+compound,-list(compound)) - one_or_errorSource is a variable:instantiation_errorProfile is a variable:instantiation_errorProfile is neither a variable nor a supported link profile term:domain_error(ccsds_link_profile,Profile)generate_frame/3
Generates exactly one CCSDS transfer frame to a sink using a link profile term. Supported sink terms are file(File), stream(Stream), and bytes(Bytes).
staticgenerate_frame(Sink,Profile,Frame)generate_frame(+compound,+compound,+compound) - one_or_errorSink is a variable:instantiation_errorProfile is a variable:instantiation_errorFrame is a variable:instantiation_errorProfile is neither a variable nor a supported link profile term:domain_error(ccsds_link_profile,Profile)Frame is neither a variable nor a valid frame term for the selected profile:domain_error(ccsds_frame_term,Frame)generate_frames/3
Generates zero or more CCSDS transfer frames to a sink using a link profile term. Supported sink terms are file(File), stream(Stream), and bytes(Bytes).
staticgenerate_frames(Sink,Profile,Frames)generate_frames(+compound,+compound,+list(compound)) - one_or_errorSink is a variable:instantiation_errorProfile is a variable:instantiation_errorFrames is a variable:instantiation_errorProfile is neither a variable nor a supported link profile term:domain_error(ccsds_link_profile,Profile)Frames is neither a variable nor a list of valid frame terms for the selected profile:domain_error(ccsds_frame_terms,Frames)valid_reassembly_state/1
True if the argument is a valid TM/AOS channel packet reassembly state term for the profile-level packet reassembly predicates.
staticvalid_reassembly_state(State)valid_reassembly_state(@compound) - zero_or_oneinitial_reassembly_state/1
Returns the initial TM/AOS channel packet reassembly state for the profile-level packet reassembly predicates.
staticinitial_reassembly_state(State)initial_reassembly_state(-compound) - onepending_fragments/2
Returns the non-empty pending packet fragments currently buffered per TM or AOS virtual channel.
staticpending_fragments(State,PendingFragments)pending_fragments(+compound,-list(compound)) - one_or_errorvalid_discontinuity_policy/1
True if the argument is a valid packet reassembly discontinuity recovery policy atom. Valid values are throw, drop, and resynchronize.
staticvalid_discontinuity_policy(Policy)valid_discontinuity_policy(@atom) - zero_or_oneextract_packets/4
Extracts the TM first-header-pointer packet zone or the AOS M_PDU packet zone from a TM or AOS frame using the selected link profile and packet secondary header length.
staticextract_packets(Profile,SecondaryHeaderLength,Frame,PacketZone)extract_packets(+compound,+integer,+compound,-compound) - one_or_errorProfile is a variable:instantiation_errorSecondaryHeaderLength is a variable:instantiation_errorFrame is a variable:instantiation_errorProfile is neither a variable nor a supported link profile term:domain_error(ccsds_link_profile,Profile)Profile is a telecommand profile and therefore does not support packet extraction:domain_error(ccsds_packet_link_profile,Profile)Frame is neither a variable nor a valid frame term for the selected profile:domain_error(ccsds_frame_term,Frame)insert_packets/5
Regenerates the TM first-header-pointer packet zone or the AOS M_PDU packet zone for a TM or AOS frame using the selected link profile and packet secondary header length.
staticinsert_packets(Profile,SecondaryHeaderLength,PacketZone,Frame,UpdatedFrame)insert_packets(+compound,+integer,+compound,+compound,-compound) - one_or_errorProfile is a variable:instantiation_errorSecondaryHeaderLength is a variable:instantiation_errorPacketZone is a variable:instantiation_errorFrame is a variable:instantiation_errorProfile is neither a variable nor a supported link profile term:domain_error(ccsds_link_profile,Profile)Profile is a telecommand profile and therefore does not support packet insertion:domain_error(ccsds_packet_link_profile,Profile)Frame is neither a variable nor a valid frame term for the selected profile:domain_error(ccsds_frame_term,Frame)reassemble_packets/6
Reassembles complete packets from a single TM or AOS transfer frame using the default throw discontinuity recovery policy.
staticreassemble_packets(Profile,SecondaryHeaderLength,Frame,State,Packets,UpdatedState)reassemble_packets(+compound,+integer,+compound,+compound,-list(compound),-compound) - one_or_errorreassemble_packets/7
Reassembles complete packets from a single TM or AOS transfer frame using the selected discontinuity recovery policy.
staticreassemble_packets(Profile,SecondaryHeaderLength,Frame,Policy,State,Packets,UpdatedState)reassemble_packets(+compound,+integer,+compound,+atom,+compound,-list(compound),-compound) - one_or_errorreassemble_packets/8
Reassembles complete packets from a single TM or AOS transfer frame using the selected discontinuity recovery policy and returns any recovery events.
staticreassemble_packets(Profile,SecondaryHeaderLength,Frame,Policy,State,Packets,UpdatedState,Events)reassemble_packets(+compound,+integer,+compound,+atom,+compound,-list(compound),-compound,-list(compound)) - one_or_errorreassemble_frames/6
Reassembles complete packets across a sequence of TM or AOS transfer frames using the default throw discontinuity recovery policy.
staticreassemble_frames(Profile,SecondaryHeaderLength,Frames,State,Packets,UpdatedState)reassemble_frames(+compound,+integer,+list(compound),+compound,-list(compound),-compound) - one_or_errorreassemble_frames/7
Reassembles complete packets across a sequence of TM or AOS transfer frames using the selected discontinuity recovery policy.
staticreassemble_frames(Profile,SecondaryHeaderLength,Frames,Policy,State,Packets,UpdatedState)reassemble_frames(+compound,+integer,+list(compound),+atom,+compound,-list(compound),-compound) - one_or_errorreassemble_frames/8
Reassembles complete packets across a sequence of TM or AOS transfer frames using the selected discontinuity recovery policy and returns any recovery events.
staticreassemble_frames(Profile,SecondaryHeaderLength,Frames,Policy,State,Packets,UpdatedState,Events)reassemble_frames(+compound,+integer,+list(compound),+atom,+compound,-list(compound),-compound,-list(compound)) - one_or_errorProtected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)