Pair device
adb_pairPair an Android 11+ device over Wireless Debugging with its IP:port and 6-digit code, enabling later ADB reconnections without pairing again.
Instructions
Pair with an Android 11+ device over Wireless Debugging, once per device and computer; afterwards adb_connect alone reconnects. On the device: Developer options -> Wireless debugging -> "Pair device with pairing code" shows ip:port and a 6-digit code. The pairing port is random and differs from the connect port; after pairing succeeds, call adb_connect with the ip:port shown on the main Wireless debugging screen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 6-digit pairing code from the dialog | |
| host | Yes | ip:port from the pairing dialog (random port, NOT 5555) |