android.adb.enableTcpip
Enable TCP/IP debugging on Android devices to switch from USB to WiFi connections. Connect via USB first, then use this tool to establish wireless debugging access.
Instructions
Enables TCP/IP mode on the device for WiFi debugging. Device must be connected via USB first. Default port is 5555. After enabling, use android.adb.getDeviceIp to get the device's IP address, then use android.adb.connectWifi to connect wirelessly. You can then disconnect the USB cable.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Device serial number (USB connection required) | |
| port | No | TCP/IP port (default: 5555) |