I now have multiple devices connected to libirecoverage
When I listened, I found that not every device informed me once. During debugging, it is found that the values obtained by SetupDiGetDeviceRegistryProperty(usbDevices, &devinfodata, SPDRP_DRIVER, &sz, (PBYTE)driver, sizeof(driver), NULL) in _irecv_event_handler are too similar (my devices are the same, such as iphonex).
So I modified the code to match the device with ECID (windows only), so that there will be no matching problem.
I now have multiple devices connected to libirecoverage
When I listened, I found that not every device informed me once. During debugging, it is found that the values obtained by SetupDiGetDeviceRegistryProperty(usbDevices, &devinfodata, SPDRP_DRIVER, &sz, (PBYTE)driver, sizeof(driver), NULL) in _irecv_event_handler are too similar (my devices are the same, such as iphonex).
So I modified the code to match the device with ECID (windows only), so that there will be no matching problem.
Signed-off-by: GITHUB 8059826@qq.com