Searched refs:HCI_DEVICES_DIR (Results 1 – 2 of 2) sorted by relevance
9 pub const HCI_DEVICES_DIR: &str = "/sys/class/bluetooth"; constant157 match std::fs::read_dir(HCI_DEVICES_DIR) { in list_hci_devices_string()167 Path::new(format!("{}/hci{}", HCI_DEVICES_DIR, hci.to_i32()).as_str()).exists() in check_hci_device_exists()173 match std::fs::canonicalize(format!("{}/hci{}/device", HCI_DEVICES_DIR, hci.to_i32()).as_str()) in get_devpath_for_hci()259 let path = format!("{}/{}/device/coredump_disabled", HCI_DEVICES_DIR, hci); in set_adapter_coredump_state()
11 HCI_DEVICES_DIR = "/sys/class/bluetooth" variable