use SSP_IO_AUTHREQ_MITM_PROTECTION_NOT_REQUIRED_GENERAL_BONDING as default

This commit is contained in:
matthias.ringwald@gmail.com 2014-01-19 15:08:44 +00:00
parent 9faad3ab0d
commit 63048403cc

View File

@ -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