Does anyone know how I can detect if my USB device is connected to a Host or not?
Thx Steven
I don't know, can you measure/sense the voltage on the supply, or get interrupts from the USB controller indicating transactions on the data bus?