Loading system/btif/co/bta_dm_co.c +8 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,14 @@ #if (defined BLE_INCLUDED && BLE_INCLUDED == TRUE) #include "bte_appl.h" tBTE_APPL_CFG bte_appl_cfg = { 0x5, 0x4, 0x7, 0x7, 0x10 }; tBTE_APPL_CFG bte_appl_cfg = { BTM_AUTH_SPGB_YES, // Authentication requirements BTM_LOCAL_IO_CAPS, // I/O capabilities 7, // Initiaor key size 7, // Responder key size 16 // Maximum key size }; #endif /******************************************************************************* Loading system/include/bt_target.h +0 −4 Original line number Diff line number Diff line Loading @@ -1367,10 +1367,6 @@ and USER_HW_DISABLE_API macros */ #define BLE_PERIPHERAL_MODE_SUPPORT TRUE #endif #ifndef BLE_PERIPHERAL_DISPLAYONLY #define BLE_PERIPHERAL_DISPLAYONLY FALSE #endif #ifndef BLE_PERIPHERAL_ADV_NAME #define BLE_PERIPHERAL_ADV_NAME FALSE #endif Loading system/stack/smp/smp_act.c +0 −7 Original line number Diff line number Diff line Loading @@ -109,13 +109,6 @@ void smp_send_app_cback(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) { p_cb->loc_auth_req = cb_data.io_req.auth_req; p_cb->loc_io_caps = cb_data.io_req.io_cap; #if (defined(BLE_PERIPHERAL_DISPLAYONLY) && (BLE_PERIPHERAL_DISPLAYONLY == TRUE)) if (p_cb->role == HCI_ROLE_SLAVE) { p_cb->loc_io_caps = SMP_IO_CAP_OUT; } #endif p_cb->loc_oob_flag = cb_data.io_req.oob_data; p_cb->loc_enc_size = cb_data.io_req.max_key_size; p_cb->loc_i_key = cb_data.io_req.init_keys; Loading Loading
system/btif/co/bta_dm_co.c +8 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,14 @@ #if (defined BLE_INCLUDED && BLE_INCLUDED == TRUE) #include "bte_appl.h" tBTE_APPL_CFG bte_appl_cfg = { 0x5, 0x4, 0x7, 0x7, 0x10 }; tBTE_APPL_CFG bte_appl_cfg = { BTM_AUTH_SPGB_YES, // Authentication requirements BTM_LOCAL_IO_CAPS, // I/O capabilities 7, // Initiaor key size 7, // Responder key size 16 // Maximum key size }; #endif /******************************************************************************* Loading
system/include/bt_target.h +0 −4 Original line number Diff line number Diff line Loading @@ -1367,10 +1367,6 @@ and USER_HW_DISABLE_API macros */ #define BLE_PERIPHERAL_MODE_SUPPORT TRUE #endif #ifndef BLE_PERIPHERAL_DISPLAYONLY #define BLE_PERIPHERAL_DISPLAYONLY FALSE #endif #ifndef BLE_PERIPHERAL_ADV_NAME #define BLE_PERIPHERAL_ADV_NAME FALSE #endif Loading
system/stack/smp/smp_act.c +0 −7 Original line number Diff line number Diff line Loading @@ -109,13 +109,6 @@ void smp_send_app_cback(tSMP_CB *p_cb, tSMP_INT_DATA *p_data) { p_cb->loc_auth_req = cb_data.io_req.auth_req; p_cb->loc_io_caps = cb_data.io_req.io_cap; #if (defined(BLE_PERIPHERAL_DISPLAYONLY) && (BLE_PERIPHERAL_DISPLAYONLY == TRUE)) if (p_cb->role == HCI_ROLE_SLAVE) { p_cb->loc_io_caps = SMP_IO_CAP_OUT; } #endif p_cb->loc_oob_flag = cb_data.io_req.oob_data; p_cb->loc_enc_size = cb_data.io_req.max_key_size; p_cb->loc_i_key = cb_data.io_req.init_keys; Loading