From ce0a70318adf6f68cf99c3fcb3c030161e2addd2 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 23 Jun 2018 11:47:10 +0200 Subject: Handle WINK command Signed-off-by: Szczepan Zalega --- NK_C_API.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'NK_C_API.h') 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 } -- cgit v1.2.1