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,aliasmoon 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 prmendmoon 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[submodule]
kind=<registered-kind>
slot_number=<slot>
subslot_number=<subslot>
# kind-specific flat key/value pairs follow[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>[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>pub(all) struct LiveSetObservation {
response_text : String
observed_set_usage_ms : Int?
observed_summary : DeviceSummary?
} derive(Eq)fn acquisition_channel_skeleton_markdown_report() -> Stringfn ar_resource_release_time_probeability_class() -> Stringfn autonegotiation_fault_requires_link_restart() -> Boolfn autonegotiation_time_probeability_class() -> Stringfn decode_alarm_notification_hex(hex : StringView) -> String raisefn describe_dcp_response_hex(packet_hex : StringView) -> String raisefn encode_dcp_get_request(source_mac : StringView, destination_mac : StringView, selectors? : StringView, xid? : Int) -> Bytes raise FrameErrorfn encode_dcp_get_request_hex(source_mac : StringView, destination_mac : StringView, selectors? : StringView, xid? : Int) -> String raise FrameErrorfn encode_dcp_identify_request(source_mac : StringView, destination_mac? : StringView, xid? : Int) -> Bytes raise FrameErrorfn encode_dcp_identify_request_hex(source_mac : StringView, destination_mac? : StringView, xid? : Int) -> String raise FrameErrorfn encode_dcp_set_ip_request(source_mac : StringView, destination_mac : StringView, address : StringView, mask : StringView, gateway : StringView, xid? : Int, is_persistent? : Bool) -> Bytes raise FrameErrorfn 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 FrameErrorfn encode_dcp_set_name_request(source_mac : StringView, destination_mac : StringView, station_name : String, xid? : Int, is_persistent? : Bool) -> Bytes raise FrameErrorfn encode_dcp_set_name_request_hex(source_mac : StringView, destination_mac : StringView, station_name : String, xid? : Int, is_persistent? : Bool) -> String raise FrameErrorfn encode_dhcp_discover_hex(mac : StringView, hostname : String) -> String raisefn encode_record_read_hex(slot : Int, subslot : Int, index : Int) -> Stringfn format_record_read_req(slot : Int, subslot : Int, index : Int) -> Stringfn live_get_dcp_response(interface_name : StringView, destination_mac : StringView, selectors? : StringView, timeout_ms? : Int, xid? : Int) -> Stringfn live_set_ip_parameters(interface_name : StringView, destination_mac : StringView, address : StringView, mask : StringView, gateway : StringView, timeout_ms? : Int, xid? : Int, is_persistent? : Bool) -> Stringfn 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) -> LiveSetObservationfn live_set_station_name(interface_name : StringView, destination_mac : StringView, station_name : String, timeout_ms? : Int, xid? : Int, is_persistent? : Bool) -> Stringfn 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) -> LiveSetObservationfn lldp_system_capabilities_station_only_required() -> Boolfn maximum_diagnosis_data_per_submodule_octets_exclusive_upper_bound() -> Intfn 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) -> Stringfn 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) -> Stringfn parse_cyclic_frame(data : Bytes, offset : Int, data_length : Int) -> IoCyclicFrame raise FrameErrorfn pd_interface_data_real_probeability_class() -> Stringfn pd_interface_mrp_data_real_probeability() -> Stringfn pd_interface_mrp_data_real_probeability_class() -> Stringfn pd_interface_mrp_data_real_record_index() -> Stringfn pd_port_data_real_extended_record_index() -> Stringfn pd_port_mrp_data_real_probeability_class() -> Stringfn pd_port_mrplc_data_real_probeability_class() -> Stringfn pruning_mac_destination_support_recommended() -> Boolfn read_pd_interface_mrp_data_real(record_text : String) -> Stringfn recommended_ar_resource_release_timeout_ms() -> Intfn reset_to_factory_time_probeability_class() -> Stringfn scan_dcp_devices(interface_name : StringView, timeout_ms? : Int, xid? : Int) -> Array[DeviceSummary]fn scan_dcp_devices_text(interface_name : StringView, timeout_ms? : Int, xid? : Int) -> Stringfn summarize_dcp_response_hex(packet_hex : StringView) -> String raisefn trace_ar_resource_release_time(trace_text : String) -> Stringfn trace_link_state_autonegotiation(trace_text : String) -> Stringfn trace_link_state_port_diagnosis(trace_text : String) -> Stringfn validate_device_fixture_against_gsd_file(packet_hex : StringView, gsd_path : StringView) -> String raisefn 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 raisefn 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 raisefn 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 raisefn validate_scanned_devices_against_gsd_file(interface_name : StringView, gsd_path : StringView, timeout_ms? : Int, xid? : Int) -> Stringfn 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