Skip to main content

xilinx_sys_read_handler

Function xilinx_sys_read_handler 

Source
pub fn xilinx_sys_read_handler(
    sub_cmd_str: &str,
    property_path: &str,
) -> Result<String, Error>
Expand description

Dispatches read subcommands for the xilinx_sys DBus status API.

Supported sub_cmd_str values:

  • read_flags to read FPGA flags. property_path may be a plain device handle (e.g. fpga0) or the exact sysfs flags path (e.g. /sys/class/fpga_manager/fpga0/flags). Sysfs paths to other properties are rejected.
  • read_property to read a validated sysfs property path