This is not a known issue. What happens when you increase that delay?
- Madhu Sudhan
I increase timeout up to 5 seconds, nothing happens. Any ideas?
up. any ideas?
Hi again. As I describe above, timeout increasing does not helps at all. But I observe, that in this case there is no any Setup requests received. And if I repeat re-enumeration for the some time it done successful.
So, work around next:
0. Add boolean flag, set it to false. Example name:
1. Do re-enumeration as I describe above. Timeout increasing does not required.
2. Wait for a some time (100 ms so good)
enumarationDoneflag, if true - exits, otherwise go to step 1
enumerationDoneflag must be sets to the true by the Setup Request handler. Of course mutex protection is required.
Steps 0-3 done at the re-enumeration routine. Step 4 done at the Setup Request routine.