Commit Graph

2715 Commits

Author SHA1 Message Date
chenjianhua
d7c97ce20b update bt lib for ESP32-C3 and ESP32-S3
1 fixed privacy error for directed adv
2 fixed multi periodic adv sync failed in air
2022-12-13 21:40:04 +08:00
Zhi Wei Jian
6d676019c1 Merge branch 'bugfix/fix_gatt_char_perm_key_size' into 'master'
Bluedroid: fix encrypt keysize of GATT characteristic permission

Closes BT-2992

See merge request espressif/esp-idf!21250
2022-12-12 16:23:59 +08:00
Zhi Wei Jian
250f2c4a89 Merge branch 'bugfix/fix_ble_conn_param_update' into 'master'
Bluedroid: fix ble connection update with same params

Closes BT-2943

See merge request espressif/esp-idf!21309
2022-12-12 15:18:26 +08:00
Jiang Jiang Jian
706a2c779f Merge branch 'bugfix/correct_the_default_SR_mode' into 'master'
bugfix/correct the SR_mode selection when konw nothing about Peripheral

See merge request espressif/esp-idf!21355
2022-12-12 14:57:16 +08:00
Jiang Jiang Jian
f0fd0b7bc3 Merge branch 'rebase/remove_redundant_pm_lock_on_ble' into 'master'
ble: remove redundant pm lock on ble

See merge request espressif/esp-idf!21357
2022-12-12 14:49:23 +08:00
Wang Meng Yang
84e48db373 Merge branch 'feature/support_ble_53_feature_for_pts' into 'master'
Bluedroid: support ble host features for PTS

See merge request espressif/esp-idf!21253
2022-12-12 14:33:37 +08:00
Zhi Wei Jian
6842d2f8c9 Merge branch 'bugfix/fix_mem_not_released_after_controller_init_failed_on_esp32c3' into 'master'
Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3

Closes BT-3047 and BT-3025

See merge request espressif/esp-idf!21504
2022-12-12 11:15:34 +08:00
Li Qi Gan
df5c1ffd8b Merge branch 'bugfix/fix_hid_device_vup_without_connection' into 'master'
Bugfix/Fix HID Device can not remove virtually cabled device without a connection

Closes IDFGH-8662

See merge request espressif/esp-idf!21152
2022-12-12 10:08:57 +08:00
Rahul Tank
7b08933d09 Merge branch 'feature/nimble_support_ble_max_conn_num' into 'master'
Nimble:  Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3

See merge request espressif/esp-idf!21498
2022-12-09 21:35:19 +08:00
Zhi Wei Jian
bf3a9a1085 Merge branch 'bugfix/fix_mem_not_free_after_controller_init_failed' into 'master'
Fixed some memory was not released after Bluetooth controller initialization failed on ESP32

Closes BT-3025 and BT-3037

See merge request espressif/esp-idf!21477
2022-12-09 18:57:06 +08:00
cjin
77d870c73a ble: fix occasional assertion on ble rtc intr 2022-12-09 15:23:44 +08:00
zwl
46127774fa Unify controller internal error code on ESP32-C2 2022-12-09 15:23:44 +08:00
cjin
6d83c999c6 ble: remove redundant pm lock on ble 2022-12-09 15:23:44 +08:00
chenjianhua
5a0bc5c1fd bluedroid: fix ble connection update with same params 2022-12-09 14:40:57 +08:00
chenjianhua
2afe5cdc76 bluedroid: add config for GAP service and periodic adv sync transfer 2022-12-09 13:28:31 +08:00
chenjianhua
702e06e09e bluedroid: add internal GATT API for PTS 2022-12-09 13:28:31 +08:00
chenjianhua
fa06476806 bluedroid: add config for robust caching and RPA timeout 2022-12-09 13:28:31 +08:00
chenjianhua
238d1375a8 bluedroid: support GATT robust caching feature 2022-12-09 13:28:31 +08:00
chenjianhua
f4cd0b687d bluedroid: support GATT services database hash calculate 2022-12-09 13:28:31 +08:00
chenjianhua
4a487a6a5c bluedroid: support periodic advertising sync transfer cmd 2022-12-09 13:28:31 +08:00
chenjianhua
6f0d34d323 bluedroid: support LE L2CAP credit based connection 2022-12-09 13:28:31 +08:00
chenjianhua
2048322429 bluedroid: support oob pairing for smp secure connection 2022-12-09 13:28:31 +08:00
Wang Meng Yang
7d7a710b60 Merge branch 'feature/report_acl_conn_cmp_stat_to_app' into 'master'
feature/report ACL link related events to application

Closes BT-2097 and BT-1863

See merge request espressif/esp-idf!19276
2022-12-09 13:10:52 +08:00
Rahul Tank
4bf8886042 Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 2022-12-08 17:23:15 +05:30
zwj
b5a6e9a528 Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3 2022-12-08 17:26:14 +08:00
Jin Cheng
f2f6aef019 correct the SR_mode selection when konw nothing about Peripheral 2022-12-07 09:47:03 +00:00
zwj
e9bfaf9a41 Fixed some memory was not released after bluetooth controller initialization failed on ESP32 2022-12-07 15:04:39 +08:00
Wang Meng Yang
c9b4f1995a Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption' into 'master'
Reduce the stack consumption of BTU_TASK

Closes BT-3022 and BT-2950

See merge request espressif/esp-idf!21433
2022-12-07 11:13:41 +08:00
liqigan
2198c3ed77 fix HID device can not remove virtually cabled device without a connection
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-07 10:36:42 +08:00
jincheng
228bf596dc Added reporting for ACL link related events to application 2022-12-07 02:33:55 +00:00
Wang Meng Yang
7b1bbd59eb Merge branch 'bugfix/spp_vfs_memory_leak' into 'master'
Component_bt/fix esp_spp_vfs_register memory leak

Closes BT-2344

See merge request espressif/esp-idf!17909
2022-12-06 20:14:51 +08:00
Shen Wei Long
67507baf37 Merge branch 'feature/add_comments_for_bt_connections_master' into 'master'
Explain how much memory that will be used by each connection/advertiser.

See merge request espressif/esp-idf!21321
2022-12-06 16:55:26 +08:00
xiongweichao
9d56c4c215 Assert when malloc user_data fail 2022-12-05 20:30:45 +08:00
xiongweichao
6bce9b7029 Fixed memory leak when SPP initialization failed 2022-12-05 20:30:45 +08:00
xiongweichao
4a702a2011 Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register() 2022-12-05 20:30:43 +08:00
zwj
e5a45f00e4 Reduce the stack consumption of BTU_TASK 2022-12-05 17:01:48 +08:00
Jiang Jiang Jian
12180da408 Merge branch 'contrib/github_pr_9529' into 'master'
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails

See merge request espressif/esp-idf!19463
2022-12-05 15:37:02 +08:00
chenjianhua
c37184aa85 bluedroid: fix encrypt keysize of GATT characteristic permission 2022-12-02 15:10:39 +08:00
Shen Weilong
b3d248df95 Explain how mush memory that will be used by each connection/advertiser. 2022-12-02 14:21:22 +08:00
Zhi Wei Jian
18e0cd6214 Merge branch 'feature/support_ble_max_conn_num_to_9' into 'master'
Support bluedroid host maximum number of connections to 9

Closes BT-2914, BT-3000, and BT-2915

See merge request espressif/esp-idf!20933
2022-12-02 12:10:27 +08:00
liuning
d9ef6aed66 ci: fix esp_phy_modem_deinit issue 2022-11-30 16:39:40 +08:00
Jiang Jiang Jian
09231b4fa2 Merge branch 'bugfix/fix_failure_of_wifi_channel_configuration' into 'master'
phy: only set phy_init_flag at power domain off, when all modems deinit

Closes WIFI-4983

See merge request espressif/esp-idf!21235
2022-11-30 14:41:08 +08:00
Jiang Jiang Jian
36012433f9 Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect' into 'master'
component_bt: Fixed a2dp failing to connect again after disconnect

Closes BT-1803

See merge request espressif/esp-idf!16947
2022-11-30 11:56:59 +08:00
Jiang Jiang Jian
7869f4e151 Merge branch 'feature/esp32c2_optimize_ble_init' into 'master'
Fixed memory leak when RAM free size is insufficient or setting ext scan...

See merge request espressif/esp-idf!21261
2022-11-30 11:09:51 +08:00
xiongweichao
592675fd5b Fixed incorrect parameters in switching to BTC context 2022-11-30 10:41:54 +08:00
xiongweichao
3268075231 bt:Modify the member variable *arg in struct btc_msg to arg[0] 2022-11-30 10:41:54 +08:00
xiongweichao
40f6239fd7 bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails 2022-11-30 10:41:52 +08:00
zwj
51c739c181 update BLE lib for ESP32-C3 and ESP32-S3
- Fixed lld_con.c line 3048 assert
- Fixed crash sometimes when connected as a slave by 8th device
2022-11-29 17:37:04 +08:00
zhiweijian
957bf03d6a bluedroid host supports the maximum number of connections to 9 2022-11-29 16:33:17 +08:00
zwl
81d6b8f011 Fixed interrupt latency when cache is disable on ESP32-C2 2022-11-29 16:29:32 +08:00