mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
set BT_CTRL_BLE_MAX_ACT default value to 6
This commit is contained in:
parent
449efd1871
commit
fbdbb5af62
@ -4,11 +4,13 @@ config BT_CTRL_MODE_EFF
|
|||||||
|
|
||||||
config BT_CTRL_BLE_MAX_ACT
|
config BT_CTRL_BLE_MAX_ACT
|
||||||
int "BLE Max Instances"
|
int "BLE Max Instances"
|
||||||
default 10
|
default 6
|
||||||
range 1 10
|
range 1 10
|
||||||
help
|
help
|
||||||
BLE maximum activities of bluetooth controller,both of connections,
|
BLE maximum activities of bluetooth controller,both of connections,
|
||||||
scan , sync and adv(periodic adv, multi-adv).
|
scan , sync and adv(periodic adv, multi-adv). Each instance needs to
|
||||||
|
consume 828 bytes, you can save RAM by modifying the instance value
|
||||||
|
according to actual needs.
|
||||||
|
|
||||||
config BT_CTRL_BLE_MAX_ACT_EFF
|
config BT_CTRL_BLE_MAX_ACT_EFF
|
||||||
int
|
int
|
||||||
|
@ -251,7 +251,7 @@ void app_main(void)
|
|||||||
FUNC_SEND_WAIT_SEM(esp_ble_gap_config_ext_adv_data_raw(2, sizeof(legacy_adv_data), &legacy_adv_data[0]), test_sem);
|
FUNC_SEND_WAIT_SEM(esp_ble_gap_config_ext_adv_data_raw(2, sizeof(legacy_adv_data), &legacy_adv_data[0]), test_sem);
|
||||||
FUNC_SEND_WAIT_SEM(esp_ble_gap_config_ext_scan_rsp_data_raw(2, sizeof(legacy_scan_rsp_data), &legacy_scan_rsp_data[0]), test_sem);
|
FUNC_SEND_WAIT_SEM(esp_ble_gap_config_ext_scan_rsp_data_raw(2, sizeof(legacy_scan_rsp_data), &legacy_scan_rsp_data[0]), test_sem);
|
||||||
|
|
||||||
// coded phy extend adv, Connectable advertising
|
// coded phy extend adv, Scannable advertising
|
||||||
FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_params(3, &ext_adv_params_coded), test_sem);
|
FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_params(3, &ext_adv_params_coded), test_sem);
|
||||||
FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_rand_addr(3, addr_coded), test_sem);
|
FUNC_SEND_WAIT_SEM(esp_ble_gap_ext_adv_set_rand_addr(3, addr_coded), test_sem);
|
||||||
FUNC_SEND_WAIT_SEM(esp_ble_gap_config_ext_scan_rsp_data_raw(3, sizeof(raw_scan_rsp_data_coded), &raw_scan_rsp_data_coded[0]), test_sem);
|
FUNC_SEND_WAIT_SEM(esp_ble_gap_config_ext_scan_rsp_data_raw(3, sizeof(raw_scan_rsp_data_coded), &raw_scan_rsp_data_coded[0]), test_sem);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user