libnitrokey 3.8.0
Loading...
Searching...
No Matches
NK_status Struct Reference

Stores the common device status for all Nitrokey devices. More...

#include <NK_C_API.h>

Data Fields

uint8_t firmware_version_major
 The major firmware version, e.
 
uint8_t firmware_version_minor
 The minor firmware version, e.
 
uint32_t serial_number_smart_card
 The serial number of the smart card.
 
uint8_t config_numlock
 The HOTP slot to generate a password from if the numlock key is pressed twice (slot 0-1, or any other value to disable the function).
 
uint8_t config_capslock
 The HOTP slot to generate a password from if the capslock key is pressed twice (slot 0-1, or any other value to disable the function).
 
uint8_t config_scrolllock
 The HOTP slot to generate a password from if the scrolllock key is pressed twice (slot 0-1, or any other value to disable the function).
 
bool otp_user_password
 Indicates whether the user password is required to generate an OTP value.
 

Detailed Description

Stores the common device status for all Nitrokey devices.

Field Documentation

◆ firmware_version_major

uint8_t NK_status::firmware_version_major

The major firmware version, e.

g. 0 in v0.40.

◆ firmware_version_minor

uint8_t NK_status::firmware_version_minor

The minor firmware version, e.

g. 40 in v0.40.


The documentation for this struct was generated from the following file: