Sebastian Zagrodzki
|
b6794b7d45
|
Add a test for InEndpoint.Read. Use ID for vid/pid in OpenDevice...
|
2017-04-10 01:25:51 +02:00 |
|
Sebastian Zagrodzki
|
b1dcaa1195
|
Add Device.OutEndpoint, simplify endpoint test.
|
2017-04-10 01:11:38 +02:00 |
|
Sebastian Zagrodzki
|
57b10f0dd3
|
Remove OpenEndpoint, add InEndpoint for Read transfers.
|
2017-04-10 01:00:53 +02:00 |
|
Sebastian Zagrodzki
|
dd405348e9
|
move tests around
|
2017-04-09 20:55:37 +02:00 |
|
Sebastian Zagrodzki
|
aaef575b06
|
rename Setups to AltSettings
|
2017-04-09 20:45:35 +02:00 |
|
Sebastian Zagrodzki
|
87c7a873e9
|
Go naming for error codes. Export USBError type.
|
2017-04-09 19:27:33 +02:00 |
|
Sebastian Zagrodzki
|
f668df87df
|
OpenEndpoint for now takes an address - a device can have two endpoints
with the same number...
|
2017-04-09 19:08:42 +02:00 |
|
Sebastian Zagrodzki
|
e0f30623b3
|
Modify EndpointInfo to provide meaningful data rather than raw USB
descriptor values. E.g. for the user, the distinction between
MaxIsoPkt and MaxPktSize is irrelevant, only the calculated max packet
size matters.
|
2017-04-08 23:49:10 +02:00 |
|
Sebastian Zagrodzki
|
341fde410e
|
replace Endpoint interface with a real Endpoint struct.
|
2017-03-27 22:15:45 +02:00 |
|
Sebastian Zagrodzki
|
ff7995c159
|
Add endpoint open test
|
2017-03-10 08:35:50 -05:00 |
|
Sebastian Zagrodzki
|
2d51a51ec5
|
newEndpoint no longer references *Device, but receives individual values
extracted from the device. Makes testing easier.
|
2017-02-26 21:47:47 +01:00 |
|
Sebastian Zagrodzki
|
c0d81e08a8
|
use a shared fakelibusb for mocking
|
2017-02-26 21:14:04 +01:00 |
|
Sebastian Zagrodzki
|
01ec3a240e
|
use named receiver in all methods for nicer indentation.
|
2017-02-22 23:36:28 +01:00 |
|
Sebastian Zagrodzki
|
9fdd8c7eb8
|
Rename epSetup to epCfg.
|
2017-02-22 01:36:36 +01:00 |
|
Sebastian Zagrodzki
|
34c00f398b
|
- more tests, for "out" endpoint.
|
2017-02-22 01:35:13 +01:00 |
|
Sebastian Zagrodzki
|
0e46520137
|
change test slightly, add test for write on in endpoint
|
2017-02-22 00:58:50 +01:00 |
|
Sebastian Zagrodzki
|
c7c647e701
|
First tests.
|
2017-02-19 16:04:16 +01:00 |
|