mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-30 07:21:20 +00:00
use IO_CAPABILITY_NO_INPUT_NO_OUTPUT as default for LE (same as for Classic now)
This commit is contained in:
parent
d8407cf0ab
commit
b832792a22
2
ble/sm.c
2
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_max_encryption_key_size;
|
||||||
static uint8_t sm_min_encryption_key_size;
|
static uint8_t sm_min_encryption_key_size;
|
||||||
static uint8_t sm_auth_req = 0;
|
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_slave_request_security;
|
||||||
static uint8_t sm_authenticate_outgoing_connections = 0; // might go away
|
static uint8_t sm_authenticate_outgoing_connections = 0; // might go away
|
||||||
|
|
||||||
|
1
ble/sm.h
1
ble/sm.h
@ -68,7 +68,6 @@ typedef enum {
|
|||||||
IO_CAPABILITY_KEYBOARD_ONLY,
|
IO_CAPABILITY_KEYBOARD_ONLY,
|
||||||
IO_CAPABILITY_NO_INPUT_NO_OUTPUT,
|
IO_CAPABILITY_NO_INPUT_NO_OUTPUT,
|
||||||
IO_CAPABILITY_KEYBOARD_DISPLAY, // not used by secure simple pairing
|
IO_CAPABILITY_KEYBOARD_DISPLAY, // not used by secure simple pairing
|
||||||
IO_CAPABILITY_UNKNOWN = 0xff
|
|
||||||
} io_capability_t;
|
} io_capability_t;
|
||||||
|
|
||||||
// Authorization state
|
// Authorization state
|
||||||
|
Loading…
x
Reference in New Issue
Block a user