Implement usbmuxd protocol

This commit is contained in:
Jackson Coxson
2025-01-26 19:30:08 -07:00
parent ffed5aceb6
commit c84cae6f5b
7 changed files with 377 additions and 0 deletions

View File

@@ -29,6 +29,10 @@ path = "src/mounter.rs"
name = "core_device_proxy_tun"
path = "src/core_device_proxy_tun.rs"
[[bin]]
name = "idevice_id"
path = "src/idevice_id.rs"
[dependencies]
idevice = { path = "../idevice", features = ["full"] }

13
tools/src/idevice_id.rs Normal file
View File

@@ -0,0 +1,13 @@
// Jackson Coxson
// Gets the devices from the muxer
use idevice::usbmuxd::UsbmuxdConnection;
#[tokio::main]
async fn main() {
env_logger::init();
let mut muxer = UsbmuxdConnection::default().await.unwrap();
let res = muxer.get_devices().await.unwrap();
println!("{res:#?}");
}