pull/1063/head
Jm Casler 2022-01-04 19:26:50 -08:00
rodzic da5bc9d9d9
commit f9905ea416
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -516,7 +516,7 @@ void reinitBluetooth()
ble_hs_cfg.sm_io_cap = BLE_SM_IO_CAP_DISP_ONLY;
ble_hs_cfg.sm_bonding = 1;
ble_hs_cfg.sm_mitm = 1;
ble_hs_cfg.sm_mitm = 0;
ble_hs_cfg.sm_sc = 1;
// per https://github.com/espressif/esp-idf/issues/5530#issuecomment-652933685
ble_hs_cfg.sm_our_key_dist = BLE_SM_PAIR_KEY_DIST_ID | BLE_SM_PAIR_KEY_DIST_ENC;