summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * Get proper card serial for Storage. Get serial as one number.Szczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Return SD card size as get from the deviceSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Handle SD card related functionsSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Decrease retry count in the lowest levelSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Fix typosSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Do not call hid_exit on each device disconnectionSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Handle disconnection while requesting device's statusSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Correct device countersSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Rename strdup to _strdup under MSVCSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Hidapi added as a submoduleSzczepan 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>
| * Adjust for compilation on Visual Studio 2017Szczepan Zalega2017-03-11
| | | | | | | | Building works however tests are not. Possibly linking with original hidapi solution would work.
| * Test compilation under windowsSzczepan Zalega2017-03-11
| |
| * Count all busy statusSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * For Clang use default compiler nameSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Do not let to enable both ASAN and TSANSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Support TSANSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Allow user to build only one version (static/dynamic) of the lib at onceSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Mark issues with FIXMESzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Fix project versionSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Compile both dynamic and static library versionsSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use CPack to generate packagesSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Build Release with debug info when none build type selectedSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Support ASAN and Clang optionallySzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove MakefileSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove GCC specific settings. Make tests compilation optional.Szczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use alias for easy device changeSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use CMake instead of MakeSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Disable early device disconnection on communication errorSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Allow device to reply 10 times with busy status in a trySzczepan 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>
| * Allow users to lock encrypted volumes specificallySzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Disconnect device as soon as the communication issue appearsSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add description for some Storage variablesSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * C++ tests fixedSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Throw before communicating with device if it is not initializedSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Add more shortcuts for checking devices error codeSzczepan 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>
| * Pass devices shared pointer to methods instead of refSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Make disconnect thread safe. Check is device actually connected by invoking ↵Szczepan Zalega2017-03-11
| | | | | | | | | | | | its checking method Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Be tread-safe on initializing instanceSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use local hexdumping function for getting serial numberSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Send current time when checking time synchronizationSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Use const char pointers for C stringsSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Read slot command supportSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Remove support for new authorization protocol for storageSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Throw on not connected device when requesting modelSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Fix getting card serialSzczepan Zalega2017-03-11
| | | | | | | | | | todo: remove whitespace at the string end Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Check command's fail reason within exceptionSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| * Method to get commands failure causeSzczepan Zalega2017-03-11
| | | | | | | | Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>