I am developed USB device protocol. My stack work fine and the device is correctly enumerated by the host. I assume that the enumeration process is correctly terminated when a set_configuration is send by the host, so I have "an event" in order to detect when the device is correcly enumerated.
But if the enumeration failed, how I can detect this error? I could use a time-out (if a set_configuration is not receive in 10sec i.e.) but it it is potentially dangerous, I could assume uncorrect decision based on my time out.
Can anyone help me?
Sorry for the bad English