From b832792a2286e98e76a620ed0ea2b2766d715474 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald@gmail.com" Date: Thu, 16 Oct 2014 13:56:25 +0000 Subject: [PATCH] use IO_CAPABILITY_NO_INPUT_NO_OUTPUT as default for LE (same as for Classic now) --- ble/sm.c | 2 +- ble/sm.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ble/sm.c b/ble/sm.c index 9db5e0de9..deb8aacf4 100644 --- a/ble/sm.c +++ b/ble/sm.c @@ -211,7 +211,7 @@ static uint8_t sm_accepted_stk_generation_methods; static uint8_t sm_max_encryption_key_size; static uint8_t sm_min_encryption_key_size; static uint8_t sm_auth_req = 0; -static uint8_t sm_io_capabilities = IO_CAPABILITY_UNKNOWN; +static uint8_t sm_io_capabilities = IO_CAPABILITY_NO_INPUT_NO_OUTPUT; static uint8_t sm_slave_request_security; static uint8_t sm_authenticate_outgoing_connections = 0; // might go away diff --git a/ble/sm.h b/ble/sm.h index 425295732..55eec64b7 100644 --- a/ble/sm.h +++ b/ble/sm.h @@ -68,7 +68,6 @@ typedef enum { IO_CAPABILITY_KEYBOARD_ONLY, IO_CAPABILITY_NO_INPUT_NO_OUTPUT, IO_CAPABILITY_KEYBOARD_DISPLAY, // not used by secure simple pairing - IO_CAPABILITY_UNKNOWN = 0xff } io_capability_t; // Authorization state