pub unsafe extern "C" fn NK_login(
device_model: *const c_char,
) -> c_intExpand description
Connect to device of given model. Currently library can be connected only to one device at once. @param device_model char ‘S’: Nitrokey Storage, ‘P’: Nitrokey Pro @return 1 if connected, 0 if wrong model or cannot connect