Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Allow device to reply 10 times with busy status in a try | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Make statistics about device's connection | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Disconnect device as soon as the communication issue appears | 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> | ||
* | Pass devices shared pointer to methods instead of ref | 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> | ||
* | Add lock_guard for complete send-receive cycle | Szczepan Zalega | 2017-03-11 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Remove unused inttypes | Szczepan Zalega | 2017-01-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Treat LongOperationException as CommandFailed and handle it transparently | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring - named magic numbers (2) | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring - named magic numbers | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handle busy_progressbar device status | Szczepan Zalega | 2016-11-26 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fix compilation G++6 error | Szczepan Zalega | 2016-11-18 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Fix compilation warning and error under G++ - use union to reach uint8 ↵ | Szczepan Zalega | 2016-10-22 |
| | | | | | | slot_counter for NK Storage. Fixes #46 Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Add all devices' and commands' statuses | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring: replacing magic numbers | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring: variables names unification | Szczepan Zalega | 2016-10-19 |
| | | | | 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> | ||
* | Code refactoring: replacing magic numbers | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring: c++ casts | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code reformat | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code refactoring: rename - disambiguate receiving counter from sending | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Resend outgoing packet on invalid crc and when used all receiving retries | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Make packet valid when its crc is not equal 0 | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Handle NK Storage status sent on Storage commands | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Code reformat | Szczepan Zalega | 2016-10-19 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Moving to shared ptr for device | Szczepan Zalega | 2016-08-09 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Clearing whole response packet instead of only payload part #20 | Szczepan Zalega | 2016-08-08 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Clear incoming packets as soon they meet their lifetime endv0.9 | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Clear outgoing packet as soon as command response is received | Szczepan Zalega | 2016-08-05 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Throw exception when retry count is exhausted. Show retry counts in debug ↵ | Szczepan Zalega | 2016-08-05 |
| | | | | | | messages 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> | ||
* | Correct debug message about wrong crc | 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> | ||
* | Handling device errors through exceptions | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | Set last command status | Szczepan Zalega | 2016-08-01 |
| | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com> | ||
* | adding next steps for hotp tests: writing, reading and authorization for ↵ | Szczepan Zalega | 2016-03-29 |
| | | | | writing hotp code | ||
* | 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 |
| | |||
* | Minor fixes, working version | Mateusz Zalega | 2015-10-26 |
| | |||
* | Initial | Mateusz Zalega | 2015-10-22 |