adb_network_scan
Scan local network for Android devices with ADB enabled over WiFi. Probes common ADB ports (5555-5558) on ARP table hosts and optionally a custom IP range to find connectable devices.
Instructions
Scan the local network for Android devices with ADB enabled over WiFi/TCP. Probes common ADB ports (5555-5558) on hosts from the ARP table and optionally a custom IP range. Discovered devices can be connected with adb_connect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ipRange | No | IP range to scan (e.g., '192.168.1.1-254'). If omitted, scans hosts from the ARP table only. | |
| ports | No | Custom ports to probe (default: [5555, 5554, 5556, 5557, 5558], max 20) | |
| timeoutMs | No | Connection timeout per host in ms (500-10000, default 2000) | |
| device | No | Device serial (used to determine the local subnet if no ipRange given) |