pymobiledevice3 usbmux¶
Inspect usbmuxd-connected devices and forward TCP ports to them.
forward¶
Forward a local TCP port to a port on the device via usbmuxd (like iproxy); runs until Ctrl+C.
Arguments:
| Argument | Description |
|---|---|
src_port |
Local TCP port to listen on. [required] |
dst_port |
TCP port on the device to connect each connection to. [required] |
Options:
| Option | Description |
|---|---|
--host <str> |
Address to bind the local port to. [default: 127.0.0.1] |
-d, --daemonize |
Run the forwarder in the background. |
Accepts the connection options: --usbmux, --udid.
list¶
List devices known to usbmuxd (USB and Wi-Fi).
Options:
| Option | Description |
|---|---|
-u, --usb |
Show only USB devices. |
-n, --network |
Show only network (Wi-Fi) devices. |
--simple |
List only UDIDs without connecting to lockdownd. |
Accepts the connection options: --usbmux.