pub unsafe extern "C" fn NK_write_config(
    numlock: u8,
    capslock: u8,
    scrolllock: u8,
    enable_user_password: bool,
    delete_user_password: bool,
    admin_temporary_password: *const c_char
) -> c_int
Expand description

Write general config to the device @param numlock set value in range [0-1] to send HOTP code from slot ‘numlock’ after double pressing numlock or outside the range to disable this function @param capslock similar to numlock but with capslock @param scrolllock similar to numlock but with scrolllock @param enable_user_password set True to enable OTP PIN protection (require PIN each OTP code request) @param delete_user_password (unused) @param admin_temporary_password current admin temporary password @return command processing error code