Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Log current device ID | Szczepan Zalega | 2018-02-28 |
| | | | | | | | | Allow logger to set global prefix Used to indicate current device Store USB path when used to connection as well Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Show connection success/failure on DEBUG_L1 | Szczepan Zalega | 2018-02-28 |
| | | | | | | Clarify disconnection log message Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Initial support for multiple devices with C++ and test | Szczepan Zalega | 2018-02-28 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Update license/copyright lines | Szczepan Zalega | 2018-01-16 |
| | | | | | | Remove redundant file Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Update device properties | Szczepan Zalega | 2017-10-10 |
| | | | | | | | Increase device delays Increase retry count Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Make only 10 retries on receiving | Szczepan Zalega | 2017-09-20 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Log formatting: Enumerate from 1 | Szczepan Zalega | 2017-09-20 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Do not resend command to device | Szczepan Zalega | 2017-09-20 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.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 |
| |