Commit Graph

4 Commits

Author SHA1 Message Date
Sebastian Zagrodzki
ef59587a24 move descriptor to the device, like config and interface.
Clear separation between descriptor stringers and value stringers for
the device and interface.
2017-04-29 00:59:13 +02:00
Sebastian Zagrodzki
80f3c60b2b Better error messages.
Update rawread to use the new endpoint interface.
2017-04-29 00:41:26 +02:00
Sebastian Zagrodzki
0cfaee3514 Fail operations if Close was called before. 2017-04-29 00:18:26 +02:00
Sebastian Zagrodzki
5f122b4dcd Introduce two more layers between device and endpoint:
device -> active config -> claimed interface -> endpoints.
Device can have at most one active config. A config can have
multiple claimed interfaces, each with a specific alt setting.
An interface with an alt setting defines a list of endpoints.
2017-04-29 00:01:11 +02:00