mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-27 06:35:20 +00:00
use SSP_IO_AUTHREQ_MITM_PROTECTION_NOT_REQUIRED_GENERAL_BONDING as default
This commit is contained in:
parent
9faad3ab0d
commit
63048403cc
@ -927,10 +927,10 @@ void hci_init(hci_transport_t *transport, void *config, bt_control_t *control, r
|
||||
// class of device
|
||||
hci_stack.class_of_device = 0x007a020c; // Smartphone
|
||||
|
||||
// Secure Simple Pairing default: enable, no I/O capabilities, auto accept
|
||||
// Secure Simple Pairing default: enable, no I/O capabilities, general bonding, mitm not required, auto accept
|
||||
hci_stack.ssp_enable = 1;
|
||||
hci_stack.ssp_io_capability = SSP_IO_CAPABILITY_NO_INPUT_NO_OUTPUT;
|
||||
hci_stack.ssp_authentication_requirement = 0;
|
||||
hci_stack.ssp_authentication_requirement = SSP_IO_AUTHREQ_MITM_PROTECTION_NOT_REQUIRED_GENERAL_BONDING;
|
||||
hci_stack.ssp_auto_accept = 1;
|
||||
|
||||
// LE
|
||||
|
Loading…
x
Reference in New Issue
Block a user