aboutsummaryrefslogtreecommitdiff
path: root/hidapi
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-28 11:53:58 +0100
committerRobin Krahl <robin.krahl@ireas.org>2019-01-28 11:53:58 +0100
commit146f94df39372490756ca7014e9c02a99cb08ac9 (patch)
treea09065b937c7b97bd1ed734c83f4fc4bdd89d7bb /hidapi
parentb0d1d6a1a44210a25b3d0e6950ec08f551714ccf (diff)
downloadlibnitrokey-146f94df39372490756ca7014e9c02a99cb08ac9.tar.gz
libnitrokey-146f94df39372490756ca7014e9c02a99cb08ac9.tar.bz2
Add NK_get_status function to get status struct
Currently, the C API provides access to the device status using the NK_get_{major,minor}_firmware_version, NK_device_serial_number and NK_read_config functions. Each function sends a command to the device, although the data is returned in a single response. This patch adds a NK_status struct and a NK_get_status function that provide access to this data with a single command.
Diffstat (limited to 'hidapi')
0 files changed, 0 insertions, 0 deletions