Merge branch 'nimble_esp32c3_support' into 'master'

ESP32C3 NimBLE support

See merge request espressif/esp-idf!12046
This commit is contained in:
Jiang Jiang Jian
2021-01-20 13:57:38 +08:00
5 changed files with 96 additions and 7 deletions

View File

@@ -361,11 +361,11 @@ app_main(void)
ble_hs_cfg.sm_sc = 1;
#else
ble_hs_cfg.sm_sc = 0;
#endif
#ifdef CONFIG_EXAMPLE_BONDING
ble_hs_cfg.sm_our_key_dist = 1;
ble_hs_cfg.sm_their_key_dist = 1;
#endif
#endif
rc = gatt_svr_init();