Is there are special circuit that says to USB socket how much current the device needs?
Our device needs at up to 200mA or little bit more.
I have been searching but I do not find a clear answer anywhere. Should there be resistors on data lines or something else? Unit load for USB 2.0 is 100mA and for USB 3.0 it's 150mA according to Wikipedia. How does a the host know how much current to supply? How does the slave ask for load units?