Understand the adb_shell.transport package submodules
masterThe adb_shell.transport package provides the underlying transport mechanisms for communicating with Android devices via ADB. Depending on your connection type (TCP or USB) and whether you require asynchronous operations, you should use one of the following submodules:
- TCP Transport: Use
adb_shell.transport.tcp_transportfor synchronous TCP connections oradb_shell.transport.tcp_transport_asyncfor asynchronous TCP connections. - USB Transport: Use
adb_shell.transport.usb_transportfor connections via a USB cable. - Base Transports:
adb_shell.transport.base_transportandadb_shell.transport.base_transport_asyncdefine the abstract base classes for all transport implementations.