profinet_master

    Download zip
    Version
    0.1.0
    License
    LGPL-3.0
    Last updated
    3 months ago
    Downloads
    51

    No dependencies

    #mokomoking2501/profinet_master

    #Protocol Status

    #DCP Command Samples

    moon run cmd/main -- identify 02:11:22:33:44:55 moon run cmd/main -- get 02:11:22:33:44:55 00:11:22:33:44:55 all moon run cmd/main -- get 02:11:22:33:44:55 00:11:22:33:44:55 name,ip,alias

    Named DCP Get selectors currently include all, vendor, name, identity, role, options, alias, instance, oem, ip, mac, full-ip, and initiative. You can also pass raw DCP selector pairs as hex bytes, for example 02:02 for NameOfStation.

    #CLI Fixture Samples

    Example commands:

    moon run cmd/main -- read-pd-port --file testdata/pd/pd_port_data_real.txt moon run cmd/main -- read-pd-port-mrp --file testdata/pd/pd_port_mrp_data_real.txt moon run cmd/main -- read-pd-port-mrplc --file testdata/pd/pd_port_mrplc_data_real.txt moon run cmd/main -- read-pd-port-statistic --file testdata/pd/pd_port_statistic.txt moon run cmd/main -- read-pd-interface --file testdata/pd/pd_interface_data_real.txt moon run cmd/main -- read-pd-interface-mrp --file testdata/pd/pd_interface_mrp_data_real.txt moon run cmd/main -- read-pdev --file testdata/pd/pdev_data.txt moon run cmd/main -- read-pd-real --file testdata/pd/pd_real_data.txt moon run cmd/main -- encode-record-read 0 1 0xAFF0 moon run cmd/main -- encode-record-write 0 1 0xAFF1 32 moon run cmd/main -- encode-record-control 1 prmend

    The pd_real_data.txt sample is section-based and demonstrates how read-pd-real rolls up interface, interface-MRP, port-MRP, port-MRPLC, port, and port-statistic submodule kinds into one aggregated device-level summary.

    #Live RT Command Samples

    These commands require the native target, a PROFINET-capable interface, and a reachable device.

    moon run cmd/main --target native -- rpc-b4 --iface "I226-V #2" 192.168.3.4 controller 5000 moon run cmd/main --target native -- rpc-b4-io-write --clock highres --iface "I226-V #2" 192.168.3.4 0,800,0,0,0 controller 5000 moon run cmd/main --target native -- rpc-b4-update-io --clock highres --iface "I226-V #2" 192.168.3.4 0,0,0,0,0 0,800,0,0,0 controller 5000 moon run cmd/main --target native -- rpc-b4-read-io --clock highres --iface "I226-V #2" 192.168.3.4 controller 5000 moon run cmd/main --target native -- rpc-b4-alarm --clock highres --iface "I226-V #2" 192.168.3.4 controller 5000 moon run cmd/main --target native -- rpc-read-record --iface "I226-V #2" 192.168.3.4 0 0 0xF830 controller 5000 moon run cmd/main --target native -- pcap-baseline --iface "I226-V #2" io-write-highres docs/pcap/rpc_b4_io_write_highres_20260611.pcap 5000 192.168.3.4 controller 512 moon run --release --target native cmd/main -- pcap-baseline --iface "I226-V #2" io-write-highres docs/pcap/rpc_b4_io_write_highres_release_20260611.pcap 5000 192.168.3.4 controller 512 moon run cmd/main --target native -- pcap-baseline --clock highres --period-us 4000 --iface "I226-V #2" io-write-highres docs/pcap/rpc_b4_io_write_highres_4ms_20260612.pcap 5000 192.168.3.4 controller 512 moon run --release --target native cmd/main -- pcap-baseline --clock highres --period-us 1000 --iface "I226-V #2" io-write-highres docs/pcap/rpc_b4_io_write_highres_1ms_20260611.pcap 5000 192.168.3.4 controller 512 moon run --release --target native cmd/main -- rpc-b4-io-write --clock highres --win-rt --win-rt-mask 0x1 --win-rt-thread-priority 31 --iface "I226-V #2" 192.168.3.4 0,800,0,0,0 controller 5000

    By default, rpc-b4* live RT commands run continuously after PrmEnd/AppReady until the process is stopped with Ctrl+C. Add the optional finite-cycle-count positional argument after timeout-ms when a bounded regression run is needed. --clock monotonic-ms enables a millisecond-deadline loop, and --clock highres uses the native microsecond clock backend. --period-us <value> synchronizes the local RT send loop period with the IOCR send_clock_factor/reduction_ratio values negotiated in Connect.req; values must be exactly representable by the 31.25 us IOCR time base. --rt-period-us <value> remains a local-loop-only override. Automatic Data-RTC DHF selection stays in the mandatory 0x0003..0x00FF range; use --data-hold-factor <3..0x1E00> or --data-hold-ms <ms> only when an explicit optional-range override is intended. On Windows IoT systems that have already reserved a realtime core, --win-rt enables Win32 realtime process priority plus current-thread base priority, and --win-rt-mask <mask> pins both process and thread affinity to the reserved core; replace the sample 0x1 mask with the reserved-core mask for the target machine. See the RT clock plan for the timing roadmap.

    #PDRealData Template

    Each section is separated by a blank line or a [submodule] marker. Unknown keys are ignored, unknown kind= values are still counted, and the same slot_number/subslot_number may appear in multiple sections when one submodule exposes multiple record families.

    Use this common header for every section:

    [submodule] kind=<registered-kind> slot_number=<slot> subslot_number=<subslot> # kind-specific flat key/value pairs follow

    Current recognized kinds:

    [submodule] kind=pd_interface_data_real slot_number=<slot> subslot_number=<subslot> chassis_id=<text> mac_address=<mac> ip_parameter_value=<int> ip_address=<ipv4> subnet_mask=<ipv4> standard_gateway=<ipv4> [submodule] kind=pd_interface_mrp_data_real slot_number=<slot> subslot_number=<subslot> mrp_instance=<optional-instance> mrp_domain_uuid=<uuid> mrp_role=<disabled|client|manager|auto_manager> mrp_version=<int> mrp_domain_name=<text> mrp_manager_prio=<optional-int> mrp_topchg_t=<optional-int> mrp_topnr_max=<optional-int> mrp_tstshort_t=<optional-int> mrp_tstdefault_t=<optional-int> mrp_tstnr_max=<optional-int> mrp_lnkdown_t=<optional-int> mrp_lnkup_t=<optional-int> mrp_lnknr_max=<optional-int> mrp_ring_state=<optional-open|closed> [submodule] kind=pd_port_mrp_data_real slot_number=<slot> subslot_number=<subslot> local_port_id=<optional-port-id> mrp_instance=<optional-instance> mrp_domain_uuid=<optional-uuid> [submodule] kind=pd_port_mrplc_data_real slot_number=<slot> subslot_number=<subslot> local_port_id=<optional-port-id> mrpic_domain_id=<domain-id> mrpic_role=<unassigned|MIC|MIM> mrp_version=<int> mrpic_domain_name=<text> mrpic_topchg_t=<optional-int> mrpic_topnr_max=<optional-int> mrpic_link_status_change_t=<optional-int> mrpic_link_status_nrmax=<optional-int> mrpic_lnkdown_t=<optional-int> mrpic_lnkup_t=<optional-int> mrpic_lnknr_max=<optional-int> mrpic_start_delay=<optional-int> mrpic_mic_position=<optional-int> mrpic_state=<optional-open|closed> [submodule] kind=pd_port_data_real slot_number=<slot> subslot_number=<subslot> local_port_id=<port-id> port_state=<state> boundary_state=<state> link_state=<up|down> mau_type=<mau> speed_mbps=<int> duplex_mode=<full|half> line_delay_ns=<int> peer_count=<int> check_peers=<true|false> check_line_delay=<true|false> check_mau_type=<true|false> check_link_state=<true|false> check_sync_difference=<true|false> check_mau_type_difference=<true|false> [submodule] kind=pd_port_statistic slot_number=<slot> subslot_number=<subslot> local_port_id=<port-id> counter_status=<bitmask> if_in_octets=<int> if_out_octets=<int> if_in_discards=<int> if_out_discards=<int> if_in_errors=<int> if_out_errors=<int>

    Suggested extension pattern for future kinds:

    [submodule] kind=<future_kind> slot_number=<slot> subslot_number=<subslot> section_version=<optional> family=<optional-record-family> feature_flag=<optional-bool> detail_a=<kind-specific-value> detail_b=<kind-specific-value>

    For future multi-entry records, prefer flat prefixes like mrp_instance, mrp_manager_*, mrp_client_* instead of nested syntax so the same parser can keep consuming one section at a time.

    LiveSetObservation

    pub(all) struct LiveSetObservation {
    response_text : String
    observed_set_usage_ms : Int?
    observed_summary :
    DeviceSummary
    ?
    } derive(Eq)

    acquisition_channel_skeleton_markdown_report

    fn acquisition_channel_skeleton_markdown_report() -> String

    acquisition_channel_skeleton_report

    fn acquisition_channel_skeleton_report() -> String

    ar_resource_release_time_probeability

    fn ar_resource_release_time_probeability() -> String

    ar_resource_release_time_probeability_class

    fn ar_resource_release_time_probeability_class() -> String

    arp_cache_timeout_ms

    fn arp_cache_timeout_ms() -> Int

    arp_response_timeout_ms

    fn arp_response_timeout_ms() -> Int

    fn autonegotiation_fault_requires_link_restart() -> Bool

    autonegotiation_time_probeability

    fn autonegotiation_time_probeability() -> String

    autonegotiation_time_probeability_class

    fn autonegotiation_time_probeability_class() -> String

    build_dhcp_discover

    fn build_dhcp_discover(mac : Bytes, xid : Int, hostname? : String) ->
    DhcpMessage

    build_snmp_get_next_request

    fn build_snmp_get_next_request(community : String, request_id : Int, oid : String) ->
    SnmpMessage

    build_snmp_get_request

    fn build_snmp_get_request(community : String, request_id : Int, oid : String) ->
    SnmpMessage

    capture_lldp_neighbors

    fn capture_lldp_neighbors(capture_text : String) -> String

    decode_alarm_notification_hex

    fn decode_alarm_notification_hex(hex : StringView) -> String raise

    decode_dhcp_hex

    fn decode_dhcp_hex(hex : StringView) -> String raise

    decode_iam0_hex

    fn decode_iam0_hex(hex : StringView) -> String raise

    decode_io_cyclic_frame_hex

    fn decode_io_cyclic_frame_hex(hex : StringView) -> String raise

    decode_lldp_hex

    fn decode_lldp_hex(hex : StringView) -> String raise

    decode_rpc_header_hex

    fn decode_rpc_header_hex(hex : StringView) -> String raise

    default_dcp_identify_timeout_ms

    fn default_dcp_identify_timeout_ms() -> Int

    default_dcp_set_get_max_retry_limit

    fn default_dcp_set_get_max_retry_limit() -> Int

    default_dcp_set_get_timeout_ms

    fn default_dcp_set_get_timeout_ms() -> Int

    describe_dcp_response_hex

    fn describe_dcp_response_hex(packet_hex : StringView) -> String raise

    dhcp_gateway_option_required

    fn dhcp_gateway_option_required() -> Bool

    dhcp_option_support_probeability

    fn dhcp_option_support_probeability() -> String

    dhcp_option_support_probeability_class

    fn dhcp_option_support_probeability_class() -> String

    dhcp_other_options_optional

    fn dhcp_other_options_optional() -> Bool

    dhcp_parameter_data_required_value

    fn dhcp_parameter_data_required_value() -> Int

    dhcp_runtime_state_probeability

    fn dhcp_runtime_state_probeability() -> String

    dhcp_runtime_state_probeability_class

    fn dhcp_runtime_state_probeability_class() -> String

    dhcp_service_optional

    fn dhcp_service_optional() -> Bool

    dhcp_subnet_mask_option_required

    fn dhcp_subnet_mask_option_required() -> Bool

    diagnosis_line_delay_mismatch_code

    fn diagnosis_line_delay_mismatch_code() -> String

    fn diagnosis_link_state_mismatch_code() -> String

    diagnosis_mau_type_mismatch_code

    fn diagnosis_mau_type_mismatch_code() -> String

    dns_request_timeout_ms

    fn dns_request_timeout_ms() -> Int

    encode_alarm_cr_block_req

    fn encode_alarm_cr_block_req() -> Bytes

    encode_ar_block_req

    fn encode_ar_block_req(req :
    ARBlockReq
    ) -> Bytes

    encode_cyclic_frame

    fn encode_cyclic_frame(frame :
    IoCyclicFrame
    ) -> Bytes

    encode_dce_header

    fn encode_dce_header(header :
    DceHeader
    ) -> Bytes

    encode_dcp_get_request

    fn encode_dcp_get_request(source_mac : StringView, destination_mac : StringView, selectors? : StringView, xid? : Int) -> Bytes raise
    FrameError

    encode_dcp_get_request_hex

    fn encode_dcp_get_request_hex(source_mac : StringView, destination_mac : StringView, selectors? : StringView, xid? : Int) -> String raise
    FrameError

    encode_dcp_identify_request

    fn encode_dcp_identify_request(source_mac : StringView, destination_mac? : StringView, xid? : Int) -> Bytes raise
    FrameError

    encode_dcp_identify_request_hex

    fn encode_dcp_identify_request_hex(source_mac : StringView, destination_mac? : StringView, xid? : Int) -> String raise
    FrameError

    encode_dcp_set_ip_request

    fn encode_dcp_set_ip_request(source_mac : StringView, destination_mac : StringView, address : StringView, mask : StringView, gateway : StringView, xid? : Int, is_persistent? : Bool) -> Bytes raise
    FrameError

    encode_dcp_set_ip_request_hex

    fn encode_dcp_set_ip_request_hex(source_mac : StringView, destination_mac : StringView, address : StringView, mask : StringView, gateway : StringView, xid? : Int, is_persistent? : Bool) -> String raise
    FrameError

    encode_dcp_set_name_request

    fn encode_dcp_set_name_request(source_mac : StringView, destination_mac : StringView, station_name : String, xid? : Int, is_persistent? : Bool) -> Bytes raise
    FrameError

    encode_dcp_set_name_request_hex

    fn encode_dcp_set_name_request_hex(source_mac : StringView, destination_mac : StringView, station_name : String, xid? : Int, is_persistent? : Bool) -> String raise
    FrameError

    encode_dhcp_discover_hex

    fn encode_dhcp_discover_hex(mac : StringView, hostname : String) -> String raise

    encode_dhcp_message

    encode_iocr_block_req

    fn encode_iocr_block_req(req :
    IOCRBlockReq
    ) -> Bytes

    encode_iod_control_req

    encode_iod_read_req_header

    encode_iod_write_req_header

    encode_profidrive_param_request

    fn encode_profidrive_param_request(req :
    ParamRequest
    ) -> Bytes

    encode_record_read_hex

    fn encode_record_read_hex(slot : Int, subslot : Int, index : Int) -> String

    encode_snmp_get_hex

    fn encode_snmp_get_hex(oid : String, community : String) -> String

    format_alarm_notification

    fn format_alarm_notification(alarm :
    AlarmNotification
    ) -> String

    format_ar_block_req_default

    fn format_ar_block_req_default(station_name : String) -> String

    format_dce_header

    fn format_dce_header(header :
    DceHeader
    ) -> String

    format_dcp_response_overview

    fn format_dcp_response_overview(response :
    DcpResponse
    ) -> String

    format_device_summary

    fn format_device_summary(summary :
    DeviceSummary
    ) -> String

    format_dhcp_message

    fn format_dhcp_message(msg :
    DhcpMessage
    ) -> String

    format_iam0

    fn format_iam0(iam0 :
    IAndM0
    ) -> String

    format_iocr_block_req_default

    fn format_iocr_block_req_default(frame_id : Int) -> String

    format_lldp_neighbor

    format_profidrive_param_request

    fn format_profidrive_param_request(req :
    ParamRequest
    ) -> String

    format_record_read_req

    fn format_record_read_req(slot : Int, subslot : Int, index : Int) -> String

    format_snmp_message

    fn format_snmp_message(msg :
    SnmpMessage
    ) -> String

    ip_address_change_bumpless

    fn ip_address_change_bumpless() -> Bool

    ip_startup_time_probeability

    fn ip_startup_time_probeability() -> String

    ip_startup_time_probeability_class

    fn ip_startup_time_probeability_class() -> String

    live_get_dcp_response

    fn live_get_dcp_response(interface_name : StringView, destination_mac : StringView, selectors? : StringView, timeout_ms? : Int, xid? : Int) -> String

    live_set_ip_parameters

    fn live_set_ip_parameters(interface_name : StringView, destination_mac : StringView, address : StringView, mask : StringView, gateway : StringView, timeout_ms? : Int, xid? : Int, is_persistent? : Bool) -> String

    live_set_ip_parameters_observation

    fn live_set_ip_parameters_observation(interface_name : StringView, destination_mac : StringView, address : StringView, mask : StringView, gateway : StringView, timeout_ms? : Int, observe_window_ms? : Int, xid? : Int, is_persistent? : Bool) -> LiveSetObservation

    live_set_station_name

    fn live_set_station_name(interface_name : StringView, destination_mac : StringView, station_name : String, timeout_ms? : Int, xid? : Int, is_persistent? : Bool) -> String

    live_set_station_name_observation

    fn live_set_station_name_observation(interface_name : StringView, destination_mac : StringView, station_name : String, timeout_ms? : Int, observe_window_ms? : Int, xid? : Int, is_persistent? : Bool) -> LiveSetObservation

    lldp_minimum_neighbor_capacity

    fn lldp_minimum_neighbor_capacity() -> Int

    lldp_msg_tx_hold

    fn lldp_msg_tx_hold() -> Int

    lldp_msg_tx_interval_ms

    fn lldp_msg_tx_interval_ms() -> Int

    lldp_msg_tx_interval_positive_jitter_ms

    fn lldp_msg_tx_interval_positive_jitter_ms() -> Int

    lldp_neighbor_probeability

    fn lldp_neighbor_probeability() -> String

    lldp_neighbor_probeability_class

    fn lldp_neighbor_probeability_class() -> String

    fn lldp_recommended_neighbor_capacity() -> Int

    lldp_system_capabilities_station_only_required

    fn lldp_system_capabilities_station_only_required() -> Bool

    lldp_tx_now_on_change

    fn lldp_tx_now_on_change() -> Bool

    lldp_tx_ttl_ms

    fn lldp_tx_ttl_ms() -> Int

    lldp_tx_ttl_positive_jitter_ms

    fn lldp_tx_ttl_positive_jitter_ms() -> Int

    logbook_data_probeability

    fn logbook_data_probeability() -> String

    logbook_data_probeability_class

    fn logbook_data_probeability_class() -> String

    mandatory_ar_resource_release_timeout_ms

    fn mandatory_ar_resource_release_timeout_ms() -> Int

    mandatory_autonegotiation_timeout_ms

    fn mandatory_autonegotiation_timeout_ms() -> Int

    mandatory_ip_startup_time_ms

    fn mandatory_ip_startup_time_ms() -> Int

    mandatory_reset_to_factory_time_ms

    fn mandatory_reset_to_factory_time_ms() -> Int

    mandatory_set_storage_time_ms

    fn mandatory_set_storage_time_ms() -> Int

    mandatory_set_usage_time_ms

    fn mandatory_set_usage_time_ms() -> Int

    mandatory_snmp_get_next_timeout_ms

    fn mandatory_snmp_get_next_timeout_ms() -> Int

    mandatory_snmp_get_timeout_ms

    fn mandatory_snmp_get_timeout_ms() -> Int

    mandatory_snmp_mib_update_time_ms

    fn mandatory_snmp_mib_update_time_ms() -> Int

    mandatory_snmp_set_timeout_ms

    fn mandatory_snmp_set_timeout_ms() -> Int

    maximum_diagnosis_data_per_submodule_octets_exclusive_upper_bound

    fn maximum_diagnosis_data_per_submodule_octets_exclusive_upper_bound() -> Int

    measure_snmp_mib_update

    fn measure_snmp_mib_update(sample_text : String) -> String

    measure_snmp_roundtrip

    fn measure_snmp_roundtrip(sample_text : String) -> String

    minimum_arp_cache_size

    fn minimum_arp_cache_size() -> Int

    minimum_logbook_entries

    fn minimum_logbook_entries() -> Int

    fn minimum_operational_link_speed_mbps() -> Int

    observe_dhcp_runtime_state

    fn observe_dhcp_runtime_state(observation_text : String) -> String

    observe_live_set_ip_parameters

    fn observe_live_set_ip_parameters(interface_name : StringView, destination_mac : StringView, address : StringView, mask : StringView, gateway : StringView, timeout_ms? : Int, observe_window_ms? : Int, xid? : Int, is_persistent? : Bool) -> String

    observe_live_set_station_name

    fn observe_live_set_station_name(interface_name : StringView, destination_mac : StringView, station_name : String, timeout_ms? : Int, observe_window_ms? : Int, xid? : Int, is_persistent? : Bool) -> String

    parse_alarm_cr_block_res

    parse_alarm_notification

    parse_cyclic_frame

    parse_gsdml_detail_text

    fn parse_gsdml_detail_text(xml_text : String) -> String raise

    parse_gsdml_summary_file

    fn parse_gsdml_summary_file(path : StringView) -> String raise

    parse_gsdml_summary_text

    fn parse_gsdml_summary_text(xml_text : String) -> String raise

    parse_iocr_block_res

    parse_profidrive_param_response

    pd_interface_data_real_probeability

    fn pd_interface_data_real_probeability() -> String

    pd_interface_data_real_probeability_class

    fn pd_interface_data_real_probeability_class() -> String

    pd_interface_data_real_record_index

    fn pd_interface_data_real_record_index() -> String

    pd_interface_mrp_data_real_probeability

    fn pd_interface_mrp_data_real_probeability() -> String

    pd_interface_mrp_data_real_probeability_class

    fn pd_interface_mrp_data_real_probeability_class() -> String

    pd_interface_mrp_data_real_record_index

    fn pd_interface_mrp_data_real_record_index() -> String

    pd_port_data_check_record_index

    fn pd_port_data_check_record_index() -> String

    pd_port_data_check_supported_blocks

    fn pd_port_data_check_supported_blocks() -> String

    pd_port_data_real_extended_record_index

    fn pd_port_data_real_extended_record_index() -> String

    pd_port_data_real_probeability

    fn pd_port_data_real_probeability() -> String

    pd_port_data_real_probeability_class

    fn pd_port_data_real_probeability_class() -> String

    pd_port_data_real_record_index

    fn pd_port_data_real_record_index() -> String

    pd_port_mrp_data_real_probeability

    fn pd_port_mrp_data_real_probeability() -> String

    pd_port_mrp_data_real_probeability_class

    fn pd_port_mrp_data_real_probeability_class() -> String

    pd_port_mrp_data_real_record_index

    fn pd_port_mrp_data_real_record_index() -> String

    pd_port_mrplc_data_real_probeability

    fn pd_port_mrplc_data_real_probeability() -> String

    pd_port_mrplc_data_real_probeability_class

    fn pd_port_mrplc_data_real_probeability_class() -> String

    pd_port_mrplc_data_real_record_index

    fn pd_port_mrplc_data_real_record_index() -> String

    pd_port_statistic_probeability

    fn pd_port_statistic_probeability() -> String

    pd_port_statistic_probeability_class

    fn pd_port_statistic_probeability_class() -> String

    pd_port_statistic_record_index

    fn pd_port_statistic_record_index() -> String

    pd_real_data_probeability

    fn pd_real_data_probeability() -> String

    pd_real_data_probeability_class

    fn pd_real_data_probeability_class() -> String

    pd_real_data_record_index

    fn pd_real_data_record_index() -> String

    pdev_data_probeability

    fn pdev_data_probeability() -> String

    pdev_data_probeability_class

    fn pdev_data_probeability_class() -> String

    pdev_data_record_index

    fn pdev_data_record_index() -> String

    probeability_matrix_markdown_report

    fn probeability_matrix_markdown_report() -> String

    probeability_matrix_report

    fn probeability_matrix_report() -> String

    profidrive_format_telegram

    fn profidrive_format_telegram(tg :
    TelegramData
    ) -> String

    profidrive_pnu_label_ext

    fn profidrive_pnu_label_ext(pnu : Int) -> String

    profidrive_state_from_zsw1

    fn profidrive_state_from_zsw1(zsw1 : Int) -> String

    profidrive_stw1_for_state

    fn profidrive_stw1_for_state(target :
    DriveState
    ) -> Int

    fn pruning_mac_destination_support_recommended() -> Bool

    read_cimsnmp_real

    fn read_cimsnmp_real(record_text : String) -> String

    read_logbook_data

    fn read_logbook_data(record_text : String) -> String

    read_pd_interface_data_real

    fn read_pd_interface_data_real(record_text : String) -> String

    read_pd_interface_mrp_data_real

    fn read_pd_interface_mrp_data_real(record_text : String) -> String

    read_pd_port_data_real

    fn read_pd_port_data_real(record_text : String) -> String

    read_pd_port_mrp_data_real

    fn read_pd_port_mrp_data_real(record_text : String) -> String

    read_pd_port_mrplc_data_real

    fn read_pd_port_mrplc_data_real(record_text : String) -> String

    read_pd_port_statistic

    fn read_pd_port_statistic(record_text : String) -> String

    read_pd_real_data

    fn read_pd_real_data(record_text : String) -> String

    read_pdev_data

    fn read_pdev_data(record_text : String) -> String

    fn recommended_ar_resource_release_timeout_ms() -> Int

    fn recommended_autonegotiation_timeout_ms() -> Int

    fn recommended_ip_startup_time_ms() -> Int

    fn recommended_reset_to_factory_time_ms() -> Int

    fn recommended_snmp_get_next_timeout_ms() -> Int

    fn recommended_snmp_get_timeout_ms() -> Int

    fn recommended_snmp_mib_update_time_ms() -> Int

    fn recommended_snmp_set_timeout_ms() -> Int

    reject_dcp_set_requests_support

    fn reject_dcp_set_requests_support() -> String

    required_operational_duplex_mode

    fn required_operational_duplex_mode() -> String

    reset_to_factory_time_probeability

    fn reset_to_factory_time_probeability() -> String

    reset_to_factory_time_probeability_class

    fn reset_to_factory_time_probeability_class() -> String

    scan_dcp_devices

    fn scan_dcp_devices(interface_name : StringView, timeout_ms? : Int, xid? : Int) -> Array[
    DeviceSummary
    ]

    scan_dcp_devices_text

    fn scan_dcp_devices_text(interface_name : StringView, timeout_ms? : Int, xid? : Int) -> String

    security_encode_header

    security_format_header

    security_parse_header

    fn security_parse_header(data : Bytes, offset : Int) ->
    SecurityData
    raise

    set_usage_time_probeability

    fn set_usage_time_probeability() -> String

    set_usage_time_probeability_class

    fn set_usage_time_probeability_class() -> String

    snmp_cim_interface_overrides_ar

    fn snmp_cim_interface_overrides_ar() -> Bool

    snmp_community_private_access

    fn snmp_community_private_access() -> String

    snmp_community_public_access

    fn snmp_community_public_access() -> String

    snmp_default_access_disabled

    fn snmp_default_access_disabled() -> Bool

    snmp_default_state_probeability

    fn snmp_default_state_probeability() -> String

    snmp_default_state_probeability_class

    fn snmp_default_state_probeability_class() -> String

    snmp_disabled_after_ar_abort

    fn snmp_disabled_after_ar_abort() -> Bool

    snmp_explicit_enable_required

    fn snmp_explicit_enable_required() -> Bool

    snmp_feature_bridge_mib_optional

    fn snmp_feature_bridge_mib_optional() -> Bool

    snmp_feature_ieee_8021as_mib_optional

    fn snmp_feature_ieee_8021as_mib_optional() -> Bool

    snmp_feature_lldp_mib_required

    fn snmp_feature_lldp_mib_required() -> Bool

    snmp_feature_mib2_required

    fn snmp_feature_mib2_required() -> Bool

    snmp_feature_pno_mib_optional

    fn snmp_feature_pno_mib_optional() -> Bool

    snmp_mib_update_probeability

    fn snmp_mib_update_probeability() -> String

    snmp_mib_update_probeability_class

    fn snmp_mib_update_probeability_class() -> String

    snmp_service_optional

    fn snmp_service_optional() -> Bool

    snmp_timeout_probeability

    fn snmp_timeout_probeability() -> String

    snmp_timeout_probeability_class

    fn snmp_timeout_probeability_class() -> String

    standard_baseline_grouped_report

    fn standard_baseline_grouped_report() -> String

    standard_baseline_markdown_report

    fn standard_baseline_markdown_report() -> String

    standard_baseline_report

    fn standard_baseline_report() -> String

    station_name_change_bumpless

    fn station_name_change_bumpless() -> Bool

    summarize_dcp_response_hex

    fn summarize_dcp_response_hex(packet_hex : StringView) -> String raise

    summarize_dcp_response_hexes

    fn summarize_dcp_response_hexes(packet_hexes : Array[String]) -> String raise

    trace_ar_resource_release_time

    fn trace_ar_resource_release_time(trace_text : String) -> String

    fn trace_link_state_autonegotiation(trace_text : String) -> String

    fn trace_link_state_port_diagnosis(trace_text : String) -> String

    validate_device_fixture_against_gsd_file

    fn validate_device_fixture_against_gsd_file(packet_hex : StringView, gsd_path : StringView) -> String raise

    validate_device_fixture_against_gsd_file_with_timings

    fn validate_device_fixture_against_gsd_file_with_timings(packet_hex : StringView, gsd_path : StringView, observed_set_usage_ms? : Int?, observed_ip_startup_ms? : Int?, observed_reset_to_factory_ms? : Int?, observed_ar_resource_release_ms? : Int?, observed_autonegotiation_ms? : Int?) -> String raise

    validate_live_set_ip_against_gsd_file

    fn validate_live_set_ip_against_gsd_file(interface_name : StringView, destination_mac : StringView, address : StringView, mask : StringView, gateway : StringView, gsd_path : StringView, timeout_ms? : Int, observe_window_ms? : Int, xid? : Int) -> String raise

    validate_live_set_name_against_gsd_file

    fn validate_live_set_name_against_gsd_file(interface_name : StringView, destination_mac : StringView, station_name : String, gsd_path : StringView, timeout_ms? : Int, observe_window_ms? : Int, xid? : Int) -> String raise

    validate_scanned_devices_against_gsd_file

    fn validate_scanned_devices_against_gsd_file(interface_name : StringView, gsd_path : StringView, timeout_ms? : Int, xid? : Int) -> String

    validate_scanned_devices_against_gsd_file_with_timings

    fn validate_scanned_devices_against_gsd_file_with_timings(interface_name : StringView, gsd_path : StringView, timeout_ms? : Int, xid? : Int, observed_set_usage_ms? : Int?, observed_ip_startup_ms? : Int?, observed_reset_to_factory_ms? : Int?, observed_ar_resource_release_ms? : Int?, observed_autonegotiation_ms? : Int?) -> String

    version

    fn version() -> String

    Powered by MoonBit

    Site sourceReport issueModulesSkillsBuild queueStatistics

    © 2026 mooncakes.io