summaryrefslogtreecommitdiff
path: root/include/device.h
Commit message (Collapse)AuthorAge
* Correct device countersSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Compiles on MXE, but not working on WindowsSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Make statistics about device's connectionSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Add method for checking is the device listed as connected in OSSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove UNKNOWN type of the deviceSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Use atomic_exchange for atomic operationsSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Make device configuration const, protect non-const with ::atomicSzczepan Zalega2017-03-11
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove unused inttypesSzczepan Zalega2017-01-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Convinient function for checking if authorization command is supportedSzczepan Zalega2016-12-03
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Try to disconnect when destroying deviceSzczepan Zalega2016-11-26
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Code refactoring: removing disambiguity from device constantsSzczepan Zalega2016-10-19
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Remove not used CommError classSzczepan Zalega2016-08-09
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Clear last command status on the device when checkedSzczepan Zalega2016-08-05
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Support for command: is_aes_supportedSzczepan Zalega2016-08-05
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Set variable send_receive delaySzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* Let device identify itself by modelSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* 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>
* Fix const declarationsSzczepan Zalega2016-08-01
| | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
* 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
|
* 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