usbmuxd_get_device_by_udid function does not return CONNECTION_TYPE_NETWORK devices
Hi, usbmuxd_get_device_by_udid function in libusbmuxd.c in current master (9db5747c) does not find devices with conn_type CONNECTION_TYPE_NETWORK.
I think connection type check is not needed here. https://github.com/libimobiledevice/libusbmuxd/blob/master/src/libusbmuxd.c#L1286
Older version of usbmuxd returns NETWORK devices.
usbmuxd comimt: 9db5747cd823b1f59794f81560a4af22a031f5c9
This is done on purpose. For network devices, use the new API usbmuxd_get_device with the appropriate options.
Hi @nikias
Thank you very much for your prompt reply!
I am facing a problem that idevicesyslog -u <UDID> command of libimobiledevice cannot find network device.
idevice_new() function should be fixed to use new API usbmuxd_get_device instead of usbmuxd_get_device_by_udid
since idevicesyslog uses idevice_new() => usbmuxd_get_device_by_udid() ?
https://github.com/libimobiledevice/libimobiledevice/blob/master/tools/idevicesyslog.c#L60 https://github.com/libimobiledevice/libimobiledevice/blob/master/src/idevice.c#L253
Yes I know. I am working on it.
Thank you!
Hi,
I am having the same problem, both "idevicesyslog -u DEVICE_ID" and "ideviceinfo -u DEVICE_ID" cannot find the device (if connected by network, by USB it works fine).
Is this issue still current? I would like to debug this in order to use backups over wifi. Please let me know where to touch/play.