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