aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-06-23 11:47:10 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2018-06-23 11:47:10 +0200
commitce0a70318adf6f68cf99c3fcb3c030161e2addd2 (patch)
tree9945dd8130ed8d78e499ed6d8fe817b4486a35f5 /NK_C_API.h
parentee6c9c61b93fae7e041abb19e42134d3a831a846 (diff)
downloadlibnitrokey-ce0a70318adf6f68cf99c3fcb3c030161e2addd2.tar.gz
libnitrokey-ce0a70318adf6f68cf99c3fcb3c030161e2addd2.tar.bz2
Handle WINK command
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r--NK_C_API.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/NK_C_API.h b/NK_C_API.h
index f23bb5d..c991d4c 100644
--- a/NK_C_API.h
+++ b/NK_C_API.h
@@ -745,7 +745,11 @@ extern "C" {
*/
NK_C_API int NK_connect_with_ID(const char* id);
-
+ /**
+ * Blink red and green LED alternatively and infinitely (until device is reconnected).
+ * @return command processing error code
+ */
+ NK_C_API int NK_wink();
#ifdef __cplusplus
}