Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Build debug-log-free library for increased security | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Rename is_connected to be more specific | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Decrease retry count in the lowest level | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fix typos | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Do not call hid_exit on each device disconnection | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Correct device counters | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Adjust for compilation on Visual Studio 2017 | Szczepan Zalega | 2017-03-11 |
| | | | | Building works however tests are not. Possibly linking with original hidapi solution would work. | ||
* | Make statistics about device's connection | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Throw before communicating with device if it is not initialized | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add method for checking is the device listed as connected in OS | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Decrease retry count to 20 | Szczepan Zalega | 2017-03-11 |
| | | | | | | Update log message to be more readable Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | More debug log info during dev connection | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Use nullptr instead of NULL | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Use lock_guard while accessing hid_api | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Make device configuration const, protect non-const with ::atomic | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Make device slower for now for easier debugging | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring: removing disambiguity from device constants | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Set shorter delays in sending/receiving packets (2) | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Set shorter delays in sending/receiving packets | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Increase retry timeout for NK Storage for now | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fixed bug with not releasing device on disconnect | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Increase delay and retry count for response receiving | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Set variable send_receive delay | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Let device identify itself by model | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Set different delay timings for Nitrokey Storage | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Use int instead of CommError | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Allow setting last command status on device | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Initial version of C/Python bindings | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | increasing retry count | Szczepan Zalega | 2016-03-06 |
| | |||
* | Checking device status after completion of get_feature report and retrying ↵ | Szczepan Zalega | 2016-03-06 |
| | | | | receiving if device status!=0, added FIXME notes of further work | ||
* | formatted code with clang-format-3.6 with style=google | Szczepan Zalega | 2016-03-05 |
| | |||
* | cleaned up test.cc, added fixme comment | Szczepan Zalega | 2016-03-05 |
| | |||
* | added long sleep for behavior check, read_callback is running, fixed device ↵ | Szczepan Zalega | 2016-02-20 |
| | | | | status and command status messages in logs | ||
* | removing hid_init() calls as they should have be called automatically (as ↵ | Szczepan Zalega | 2016-02-20 |
| | | | | long as app is not multithreaded, according to specification) | ||
* | checking status correctly (in specification hid_get_feature_report returns ↵ | Szczepan Zalega | 2016-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 Zalega | 2016-02-20 |
| | | | | it statically with debug messages | ||
* | Minor fixes, working version | Mateusz Zalega | 2015-10-26 |
| | |||
* | Initial | Mateusz Zalega | 2015-10-22 |