Skip to main content

Module conn

Module conn 

Source
Expand description

Device discovery and the rootless userspace tunnel.

lockdown (via usbmuxd, USB or Wi-Fi) → CoreDeviceProxy → CDTunnel → software TCP stack → RSD. Nothing here needs root or a utun interface, and nothing depends on Xcode’s own CoreDevice tunnel.

Structs§

DeviceEntry
Route
Tunnel

Constants§

LABEL

Functions§

conn_name
describe_raw
list
Connected devices, one entry per phone, USB preferred.
list_raw
Every (udid, transport) pair usbmuxd knows about. A phone reachable over both USB and Wi-Fi shows up twice.
mux_addr
mux_connect
open_tunnel
Open the userspace tunnel and read the RSD service list.
open_tunnel_with_provider
Test each transport independently, including Wi-Fi while USB is present.
passcode_locked
What lockdown says about the passcode lock (PasswordProtected: true while the phone is locked). None when lockdown did not say. Read-only.
route
How to reach udid: USB when plugged in, otherwise Wi-Fi.