Compare commits
2 Commits
0e076a29ef
...
4c76d2b618
Author | SHA1 | Date | |
---|---|---|---|
4c76d2b618 | |||
979573d7d6 |
@ -32,7 +32,7 @@ impl BluetoothInfo {
|
||||
}
|
||||
|
||||
pub fn get_all_bluetooth_devices(
|
||||
&connection: dbus::blocking::Connection,
|
||||
connection: &dbus::blocking::Connection,
|
||||
) -> Result<Vec<BluetoothInfo>> {
|
||||
let proxy = connection.with_proxy("org.bluez", "/", Duration::from_millis(5000));
|
||||
let (result,): (HashMap<dbus::Path<'static>, HashMap<String, arg::PropMap>>,) = proxy
|
||||
|
Loading…
x
Reference in New Issue
Block a user