py-ios-device icon indicating copy to clipboard operation
py-ios-device copied to clipboard

支持 wifi连接吗

Open zkj3e opened this issue 3 years ago • 3 comments

目前支持 wifi 无线连接吗

zkj3e avatar Oct 25 '21 03:10 zkj3e

同问,我看接口文档里面有说,但是源码调用的时候找不到

lycfr avatar Nov 29 '21 05:11 lycfr

同问

shijie93 avatar Apr 01 '22 06:04 shijie93

def get_devices(self, network=None):
    payload = {
        "MessageType": "ListDevices",
        "ClientVersionString": "libusbmuxd 1.1.0",
        "kLibUSBMuxVersion": 3,
    }
    devices = self.listener.exchange('ListDevices', payload)
    for device in devices.get('DeviceList'):
        if not network and device['Properties']['ConnectionType'] == 'Network':
            continue

把这个continue部分拿掉

xlhe3 avatar Jan 17 '23 09:01 xlhe3