tcpip
Enable/disable ADB over Wi-Fi.
info
Toggling ADB over Wi-Fi will restart ADB daemon, causing all existing connections to be closed.
info
Tango requires another daemon connection to connect devices over TCP. See create TCP connection for more information.
declare class AdbTcpIpCommand extends AdbCommandBase {
setPort(port: number): Promise<string>;
disable(): Promise<string>;
}
declare class Adb {
readonly tcpip: AdbTcpIpCommand;
}
Enable ADB over Wi-Fi
await adb.tcpip.setPort(5555);
Equivalent ADB Command
adb tcpip 5555