summaryrefslogtreecommitdiff
path: root/device.cc
Commit message (Collapse)AuthorAge
* Use int instead of CommErrorSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Allow setting last command status on deviceSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Initial version of C/Python bindingsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* increasing retry countSzczepan Zalega2016-03-06
|
* Checking device status after completion of get_feature report and retrying ↵Szczepan Zalega2016-03-06
| | | | receiving if device status!=0, added FIXME notes of further work
* formatted code with clang-format-3.6 with style=googleSzczepan Zalega2016-03-05
|
* cleaned up test.cc, added fixme commentSzczepan Zalega2016-03-05
|
* added long sleep for behavior check, read_callback is running, fixed device ↵Szczepan Zalega2016-02-20
| | | | status and command status messages in logs
* removing hid_init() calls as they should have be called automatically (as ↵Szczepan Zalega2016-02-20
| | | | long as app is not multithreaded, according to specification)
* checking status correctly (in specification hid_get_feature_report returns ↵Szczepan Zalega2016-02-20
| | | | number of received bytes+1, so its never under 1 when successful)
* compiling own version of lib hid_libusb (copied from nitroapp) and linking ↵Szczepan Zalega2016-02-20
| | | | it statically with debug messages
* Minor fixes, working versionMateusz Zalega2015-10-26
|
* InitialMateusz Zalega2015-10-22