Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Rename devices: s/Stick10/Device_NKPro and s/Stick20/Device_NKStorage | Elie Tournier | 2017-05-25 |
| | | | | Signed-off-by: Elie Tournier <tournier.elie@gmail.com> | ||
* | Use bool explicitly for success variable | Szczepan Zalega | 2017-05-12 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Use alternative device connection check | Szczepan Zalega | 2017-04-26 |
| | | | | | | | Do not use hid_enumarate under OSX Hidapi: do not call event loop on OSX Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fix compilation warnings | Szczepan Zalega | 2017-03-31 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Allow to change device commands delays runtime | Szczepan Zalega | 2017-03-29 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Never call hid exit on OSX | Szczepan Zalega | 2017-03-13 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Set turbo mode | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Check for null device reference in case of failed reconnection | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove obsolete comments | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Do reconnect also on receiving failure | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove checking for mutex being locked | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Make device-level reconnect on problem with sending | Szczepan Zalega | 2017-03-11 |
| | | | | | | | Make it 3 times before throwing exception Call hid_exit on last device disconnection Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | 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 |