Commit Graph

3692 Commits

Author SHA1 Message Date
Rahul Tank
5c57dfe949 Merge branch 'bugfix/adjust_tx_power_lvl_boundary_v5.1' into 'release/v5.1'
Some checks failed
docker / docker (push) Has been cancelled
fix(nimble): Modify Advertising Tx power levels (v5.1)

See merge request espressif/esp-idf!32563
2024-08-05 20:38:40 +08:00
xiongweichao
efd8ee03e5 fix(bt/controller): Fixed disconnection issue
- Fixed the issue of disconnection caused by updating the channel map in sniff mode
2024-08-05 20:01:56 +08:00
chenqingqing
d36f5166fe fix(bt/bluedroid): Add PCM configuration about pcm frame sync signal shape 2024-08-05 20:01:56 +08:00
Rahul Tank
a367c5da00 fix(nimble): Modify Advertising Tx power levels 2024-08-05 10:57:48 +05:30
Island
d7bf5a1eac Merge branch 'bugfix/fix_ble_security_param_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization (v5.1)

See merge request espressif/esp-idf!32507
2024-08-02 17:31:28 +08:00
Island
69ed92c95c Merge branch 'bugfix/fix_ble_gattc_app_unregister_v5.1' into 'release/v5.1'
Bugfix/fix ble gattc app unregister (v5.1)

See merge request espressif/esp-idf!32440
2024-08-02 17:30:21 +08:00
zhanghaipeng
3a163fe2cf fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization 2024-08-01 16:18:05 +08:00
Rahul Tank
966988af45 fix(nimble): Add return value to RPA Timeout API 2024-07-31 14:46:33 +05:30
zwl
fde374a78e fix: fixed directed adv can't be conneted when adv filter is 0x2 on ESP32C2 2024-07-31 14:38:52 +08:00
zwl
c8b7ce6f11 fix: fixed occasional wdt issue in multi-connection scenarios on ESP32H2 2024-07-31 14:38:52 +08:00
Island
490d5e7211 Merge branch 'feat/save_ble_log_to_flash_0605_v5.1' into 'release/v5.1'
ble: save ble log to flash on ESP32C6 (v5.1)

See merge request espressif/esp-idf!32396
2024-07-31 11:29:30 +08:00
zhanghaipeng
2330510635 fix(ble/bluedroid): Fix incorrect state issue when unregistering BLE GATTC application 2024-07-30 19:12:40 +08:00
zwl
d26a0ba71f fix(ble): fixed tx memory leak issue when controller disable 2024-07-29 11:56:23 +08:00
zwl
035bb3176d fix(ble): fixed wdt issue when print key controller info on ESP32-C6 and ESP32-H2 2024-07-29 11:56:23 +08:00
zwl
70e5c79476 feat(bluetooth/controller): support switching log output mode on ESP32-C2 2024-07-29 11:56:23 +08:00
zwl
10c8b0c3b8 feat(bluetooth/controller): support switching log output mode on ESP32-C6 and ESP32-H2 2024-07-29 11:56:23 +08:00
zwl
11f0fd8f8e feat(bluetooth/controller): storage ble controller log to flash on ESP32C2 2024-07-29 11:56:23 +08:00
zwl
cfb5d9d224 feat(bluetooth/controller): storage ble controller log to flash on ESP32C6 and ESP32H2 2024-07-29 11:56:23 +08:00
Rahul Tank
1d23173715 fix(nimble): Zero initialize variable to avoid garbage value 2024-07-26 21:33:00 +05:30
Island
2e08930e9c Merge branch 'bugfix/fix_ble_cannot_create_conn_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed BLE cannot create connection(v5.1)

See merge request espressif/esp-idf!32309
2024-07-26 15:43:36 +08:00
zhanghaipeng
bea98fdd1e fix(ble/bluedroid): Fixed BLE cannot create connection 2024-07-26 10:38:10 +08:00
zhiweijian
d41dfab0f6 feat(bt/controller): support mesh duplicate with extend scan 2024-07-23 20:07:43 +08:00
linruihao
8ea1299395 fix(coex): Update bt lib for ESP32-C3 and ESP32-S3(e4ba7f6)
- Fixed coexist LoadProhibited issue
2024-07-23 20:07:38 +08:00
zhanghaipeng
f004ac85e2 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(abd7733)
- Fix the issue where RSSI is incorrect when latency is not zero
2024-07-23 20:07:32 +08:00
chenjianhua
6ce37484e9 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(66b5cc0)
- Fixed vendor hci get controller status command
- Prevent BLE interrupt from being preempted
2024-07-23 20:07:23 +08:00
Island
864f4713a7 Merge branch 'fix/ble_mesh_24_76_v5.1' into 'release/v5.1'
fix(ble_mesh): fixed BLEMESH24-76_v5.1

See merge request espressif/esp-idf!32228
2024-07-22 14:05:29 +08:00
Rahul Tank
cd4714dd01 Merge branch 'bugfix/reset_irk_when_all_unpair_v5.1' into 'release/v5.1'
Some checks failed
docker / docker (push) Has been cancelled
fix(nimble): Fixed BLE security vulnerability when using fixed IRK (v5.1)

See merge request espressif/esp-idf!32158
2024-07-18 22:49:28 +08:00
Rahul Tank
0095bc4b7f fix(nimble): Fixed BLE security vulnerability when using fixed IRK 2024-07-18 09:55:33 +05:30
luoxu
5507b1ee37 fix(ble_mesh): fixed BLEMESH24-76 2024-07-18 11:39:17 +08:00
zwl
4cdb166b36 feat(bluetooth/controller): support default tx power configurable on ESP32C2 2024-07-18 10:44:29 +08:00
zwl
115af31441 feat(bluetooth/controller): support default tx power configurable on ESP32C6 and ESP32H2 2024-07-18 10:43:07 +08:00
zwl
c2bf1ff2b5 feat(bluetooth/controller): update nimble host to adapt hci layer 2024-07-16 13:23:41 +08:00
zwl
4ec72b01fb feat(bluetooth/controller): add default cts and rts macro definition 2024-07-16 13:23:41 +08:00
zwl
b7ea3416c3 feat(bluetooth/controller): adopting new HCI layer code and support UHCI function on ESP32-C6 and ESP32-H2 2024-07-16 13:23:41 +08:00
zwl
c09892df4a feat(bluetooth/controller): adopting new HCI layer code on ESP32-C2 2024-07-16 13:23:41 +08:00
zwl
d7838290e5 feat(bluetooth/controller): optimize bt hci layer code 2024-07-16 13:23:41 +08:00
Jin Cheng
1b848b6ef0 fix(bt/controller): Removed an improper assertion in ACL link driver.
It can be triggered on peripheral SNIFF mode
when RX window is adjusted on ESP32.
2024-07-15 15:29:26 +08:00
Jiang Jiang Jian
0b6f501aef Merge branch 'docs/optimized_ble_controller_api_references_esp32_v5.1' into 'release/v5.1'
docs(ble): Revised the esp32 controller API explanations (v5.1)

See merge request espressif/esp-idf!31927
2024-07-15 10:41:52 +08:00
Island
dc859c1e67 Merge branch 'feat/add_ble50_instant_v5.1' into 'release/v5.1'
Some checks failed
docker / docker (push) Has been cancelled
Add support for BLE 5.0 instances in related events (v5.1)

See merge request espressif/esp-idf!31992
2024-07-12 14:52:56 +08:00
Wei Yu Han
d7960deda7 docs(ble): Removed trailing whitespaces 2024-07-12 09:15:05 +08:00
Wei Yu Han
3db28fbb04 docs(ble): Revised the explanation for esp_bt_mem_release and esp_bt_controller_mem_release 2024-07-12 08:54:17 +08:00
zhanghaipeng
0c82c90bca fix(ble/bluedroid): Fixed BLE set adv param check 2024-07-10 12:24:37 +08:00
Wei Yu Han
e7b13d719d docs(ble): Add the parameter name data in esp_vhci_host_send_packet 2024-07-10 10:41:50 +08:00
zhiweijian
3cac5c4fdd fix(bt/nimble): split hci log in nimble 2024-07-09 16:40:06 +08:00
zhanghaipeng
67e1325377 feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-09 15:38:44 +08:00
linruihao
b981e4cdac fix(bt/controller): Fixed some controller bugs
- Fixed fail to establish eSCO when connected to two devices
- Changed some error log level to Debug if the error have a workaround

Closes https://github.com/espressif/esp-idf/issues/12340
2024-07-08 14:26:59 +08:00
liqigan
8725c9a56e fix(bt/controller): Fixed not report HCI_Disconnection_Complete event 2024-07-08 14:26:59 +08:00
Island
c8b9ad5da0 Merge branch 'fix/blemesh24_61_v5.1' into 'release/v5.1'
fix/blemesh24_61 (v5.1)

See merge request espressif/esp-idf!31566
2024-07-08 14:06:32 +08:00
Rahul Tank
e922e49f85 Revert "fix(nimble): Added debug print to check for skipped adv report"
This reverts commit 634412e20c.
2024-07-05 18:09:25 +05:30
Wang Ning
565394ba44 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-05 18:08:13 +08:00
Yuhan Wei
86463b7f27 docs(ble): Add the explanations to controller parameters configurable in menuconfig 2024-07-05 18:08:13 +08:00
Wang Ning
b81ddcbed0 Apply 35 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-05 18:08:13 +08:00
Yuhan Wei
fde21eab8e docs(ble): Removed note in esp_bt_controller_config_t 2024-07-05 18:08:13 +08:00
Yuhan Wei
2dcd257dcf docs(ble): Replaced BT with Bluetooth 2024-07-05 18:08:13 +08:00
Yuhan Wei
e7be8fa4c6 docs(ble): Removed unnecessary explanations 2024-07-05 18:08:13 +08:00
Yuhan Wei
060a7e3abb docs(ble): Added corresponding values to the controller mode 2024-07-05 18:08:12 +08:00
Yuhan Wei
e742961c9c docs(ble): Fixed the explanation of TX power type 2024-07-05 18:08:12 +08:00
Yuhan Wei
5f1064ccc4 docs(ble): Added typeof for BLE sleep clock accuracy enum 2024-07-05 18:08:12 +08:00
Yuhan Wei
09a682753f docs(ble): Added a name for BLE sleep clock accuracy enum 2024-07-05 18:08:12 +08:00
Yuhan Wei
698c38441e docs(ble): Revised the esp32 controller API explanations 2024-07-05 18:08:12 +08:00
Island
aaeb03ad36 Merge branch 'bugfix/fixed_ble_issues_on_esp32c2_esp32c6_v5.1' into 'release/v5.1'
Bugfix/fixed ble issues on esp32c2 esp32c6 (v5.1)

See merge request espressif/esp-idf!31861
2024-07-05 10:39:26 +08:00
luoxu
86fd1c0ca1 fix(ble_mesh): ensure the operation of adv busy is thread-safe 2024-07-04 12:13:03 +08:00
luoxu
5e7546269e feat(ble_mesh): add cas operation for bt_mesh_atomic_val_t 2024-07-04 12:13:03 +08:00
zwl
98f12d1a2d fix(ble): fixed some ble controller issues on ESP32C6 and ESP32H2 2024-07-02 15:44:32 +08:00
zwl
8744e7c8bc fix(ble): fixed some ble controller issues on ESP32-C2 2024-07-02 15:44:32 +08:00
Rahul Tank
634412e20c fix(nimble): Added debug print to check for skipped adv report 2024-07-01 15:33:53 +05:30
Jiang Jiang Jian
abc703a0dd Merge branch 'bugfix/fix_ble_connect_fail_report_time_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed BLE report event when connection fails (v5.1)

See merge request espressif/esp-idf!31783
2024-07-01 14:20:09 +08:00
Jiang Jiang Jian
6b60fc715f Merge branch 'bugfix/crash_after_bluedroid_deinit_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed controller using null pointer after bluedroid deinit(v5.1)

See merge request espressif/esp-idf!30328
2024-07-01 10:20:53 +08:00
Rahul Tank
c98f32ecb9 Merge branch 'bugfix/set_correct_cb_arg_v5.1' into 'release/v5.1'
fix(nimble): Pass the correct cb arg during reconnection attempt (v5.1)

See merge request espressif/esp-idf!31719
2024-06-28 21:00:58 +08:00
zhanghaipeng
6f08290f3d fix(ble/bluedroid): Fixed BLE report event when connection fails 2024-06-28 12:00:45 +08:00
Island
3530c0c7c8 Merge branch 'bugfix/fixed_hci_uart_error_on_esp32c6_esp32h2_v5.1' into 'release/v5.1'
feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci... (v5.1)

See merge request espressif/esp-idf!31752
2024-06-27 17:19:29 +08:00
Island
4efd577c19 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BLE bugs 240620 (backport v5.1)

See merge request espressif/esp-idf!31654
2024-06-26 20:33:14 +08:00
zwl
ea6d8e64c9 feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci uart mode on ESP32-C6 and ESP32-H2 2024-06-26 17:32:57 +08:00
Jiang Jiang Jian
55cfe6ee21 Merge branch 'bugfix/l2cap_use_wrong_handle_v5.1' into 'release/v5.1'
fix(bt/bluedroid):  Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event(v5.1)

See merge request espressif/esp-idf!31280
2024-06-26 10:41:21 +08:00
Jiang Jiang Jian
6f1ff29851 Merge branch 'fix/add_integrity_check_when_select_temporary_key_v5.1' into 'release/v5.1'
fix(bt): add integrity check when temporary link key selected(backport v5.1)

See merge request espressif/esp-idf!31700
2024-06-26 10:37:53 +08:00
Island
cf072a4fe3 Merge branch 'feat/optimize_bt_porting_layer_0619_v5.1' into 'release/v5.1'
Feat/optimize bt porting layer 0619 (v5.1)

See merge request espressif/esp-idf!31674
2024-06-25 14:18:32 +08:00
Rahul Tank
0edef52a67 fix(nimble): Pass the correct cb arg during reconnection attempt 2024-06-25 08:32:14 +05:30
chenjianhua
3730b0a9af feat(bt/bluedroid): Add definition for the reason of BLE authentication failure 2024-06-24 17:59:01 +08:00
chenjianhua
5eed961113 fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK 2024-06-24 17:59:01 +08:00
chenjianhua
40b9ec3860 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(0738a61)
- Fixed BT BB interrupt allocation
- Refactor the prefix of assert print
- Fixed HCI LE set privacy mode command handle
2024-06-24 17:59:01 +08:00
chenjianhua
ae29703fb4 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(eca46a0)
- Fixed adv data buffer free after restart adv
- Fixed BLE interrupt allocation using esp API
2024-06-24 17:59:01 +08:00
gongyantao
6cd05b082a fix(bt): add integrity check when temporary link key selected 2024-06-24 17:50:35 +08:00
cjin
066e04a9a4 fix(ble): added c6 config check for ble light sleep 2024-06-24 11:31:40 +08:00
zwl
5fe68c206e feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-24 11:31:40 +08:00
Rahul Tank
517064d0b3 Merge branch 'bugfix/free_memory_before_reattempt_v5.1' into 'release/v5.1'
fix(nimble): Clear resource before re-starting advertising(v5.1)

See merge request espressif/esp-idf!31627
2024-06-24 10:45:17 +08:00
Rahul Tank
b482d04fb6 fix(nimble): Clear resource before re-starting advertising 2024-06-20 11:02:46 +05:30
xiongweichao
b63bcef8e0 fix(bt/bluedroid): Fixed crash after bluedroid deinit
hci_host_env.downstream_data_ready is set to NULL during bluedroid deinit,
causing the controller to use a null pointer when calling callback.
2024-06-17 19:03:47 +08:00
xiongweichao
69729d4639 fix(bt/bluedroid): Fixed deadlock caused by not unlocking 2024-06-17 19:03:05 +08:00
xiongweichao
3eb54ad307 fix(bt/bluedroid): Fixed L2CAP using wrong handle
- Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event.
- Closes https://github.com/espressif/esp-idf/issues/13847
2024-06-17 19:03:05 +08:00
zwl
b01930a5c0 feat(bluetooth/controller): update controller api name on ESP32-C2 2024-06-17 16:43:32 +08:00
zwl
7019204f20 feat(bluetooth/controller): update controller api name on ESP32-C6 and ESP32-H2 2024-06-17 16:43:32 +08:00
Rahul Tank
58a9d0e27b Merge branch 'bugfix/fix_no_mem_coex_issue_v5.1' into 'release/v5.1'
fix(nimble): Added change to handle extra memory for ext adv reattempt (v5.1)

See merge request espressif/esp-idf!31502
2024-06-14 20:04:19 +08:00
Rahul Tank
d5c4973bd3 fix(nimble): Added change to handle extra memory for ext adv reattempt 2024-06-14 12:05:09 +05:30
linruihao
18cac360b9 fix(bt/controller): Fixed assert issue caused by DPORT access 2024-06-13 17:36:05 +08:00
zhanghaipeng
ae9a2fde60 fix(ble/controller): Update esp32 bt-lib (1e63e23)
- Optimized GATT write and notify throughput on ESP32
- Fixed BLE connect timeout after using DTM on ESP32
- Added ke memory debug tools on ESP32
- Fixed memory leak issue when BLE SCAN and other event coexist on ESP32
2024-06-13 16:41:06 +08:00
Island
e3c4c76b17 Merge branch 'bugfix/fix_ble_pktlen_change_v5.1' into 'release/v5.1'
Bugfix/fix ble pktlen change (v5.1)

See merge request espressif/esp-idf!31251
2024-06-13 11:03:41 +08:00
Rahul Tank
d2f8b753fc Merge branch 'bugfix/ble_gap_unpair_error_code_v5.1' into 'release/v5.1'
fix(nimble): Added return code in ble_gap_unpair error logs (v5.1)

See merge request espressif/esp-idf!31309
2024-06-06 12:54:08 +08:00
Jiang Jiang Jian
7f1a2c3cc1 Merge branch 'fix/assert_in_bt_controller_v5.1' into 'release/v5.1'
fix(bt): fix some issues in bluetooth controller(backport v5.1)

See merge request espressif/esp-idf!31323
2024-06-06 12:02:43 +08:00
Abhinav Kudnar
5694eb354f fix(nimble): Added return code in ble_gap_unpair error logs 2024-06-05 12:10:41 +05:30
Island
76e28986ba Merge branch 'fix/idfgh-12762_v5.1' into 'release/v5.1'
fix(ble_mesh):Fixed a compatibility issue with the provisioner (v5.1)

See merge request espressif/esp-idf!30731
2024-06-05 10:44:02 +08:00