adb_network_auto_connect
Scan a local IP range and automatically connect to Android devices via ADB over network, combining discovery and connection into one step.
Instructions
Discover and automatically connect to ADB devices on the local network. Combines network scanning with adb connect in one step. Probes a single port (default 5555) on each candidate; if you need to cover the full ADB port range (5555-5558) use adb_network_scan first, then adb_connect with the discovered host:port.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ipRange | No | IP range to scan (e.g., '192.168.1.1-254') | |
| port | No | ADB port to probe and connect (1-65535, default 5555) | |
| device | No | Device serial (used to determine local subnet for ARP-based discovery) |