Commit Graph

3990 Commits

Author SHA1 Message Date
zhanghaipeng
1325c835fe feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-08 11:05:15 +08:00
zhiweijian
b925142b16 fix(bt/nimble): split hci log in nimble 2024-07-08 10:05:02 +08:00
Rahul Tank
fad07af40a Revert "fix(nimble): Added debug print to check for skipped adv report"
This reverts commit 48e54f2d958aafae96cee52ef34a560382e06b60.
2024-07-05 15:56:09 +05:30
linruihao
6613a38040 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-05 14:59:43 +08:00
Island
2d80380413 Merge branch 'bugfix/fixed_ble_issues_on_esp32c2_esp32c6' into 'master'
Bugfix/fixed ble issues on esp32c2 esp32c6

Closes BLERP-834, BLERP-833, BLERP-815, BLERP-835, BLERP-830, BLERP-831, BLERP-820, BLERP-806, BLERP-816, BLERP-822, and BLERP-845

See merge request espressif/esp-idf!31858
2024-07-05 10:39:21 +08:00
Island
759a847ba8 Merge branch 'docs/optimized_ble_controller_api_references_esp32' into 'master'
docs(ble): Revised the esp32 controller API explanations

See merge request espressif/esp-idf!31529
2024-07-04 20:54:26 +08:00
zwl
bafb4d323e fix(ble): fixed some ble issues on ESP32C5 2024-07-04 18:29:12 +08:00
zwl
747d338cfe fix(ble): fixed some ble controller issues on ESP32C6 and ESP32H2 2024-07-04 18:29:12 +08:00
zwl
114dc82ad2 fix(ble): fixed some ble controller issues on ESP32-C2 2024-07-04 18:29:12 +08:00
luoxu
62e8043ab3 fix(ble_mesh): ensure the operation of adv busy is thread-safe 2024-07-04 12:12:26 +08:00
luoxu
63120f0208 feat(ble_mesh): add cas operation for bt_mesh_atomic_val_t 2024-07-04 12:12:26 +08:00
Yuhan Wei
406f341eb1 docs(ble): Added typeof for BLE sleep clock accuracy enum 2024-07-03 18:53:07 +08:00
Rahul Tank
065c0319dd Merge branch 'bugfix/ble_gap_pairing_complete' into 'master'
fix(nimble): Fix the sequence of pairing complete event

See merge request espressif/esp-idf!31630
2024-07-03 17:04:32 +08:00
liqigan
d0878af614 fix(bt/controller): Fixed not report HCI_Disconnection_Complete event 2024-07-03 16:52:18 +08:00
Yuhan Wei
257926cae9 docs(ble): Added a name for BLE sleep clock accuracy enum 2024-07-03 15:19:51 +08:00
Yuhan Wei
b96e9cd5b5 docs(ble): Removed periods for incomplete sentences 2024-07-03 15:19:51 +08:00
Wang Ning
85e172f0b9 Apply 8 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-03 15:19:51 +08:00
Yuhan Wei
f33de4dece docs(ble): Add the parameter name data in esp_vhci_host_send_packet 2024-07-03 15:19:51 +08:00
Wang Ning
181d1de219 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-03 15:19:51 +08:00
Yuhan Wei
78b59e6b6b docs(ble): Add the explanations to controller parameters configurable in menuconfig 2024-07-03 15:19:51 +08:00
Wang Ning
01c45476fb Apply 35 suggestion(s) to 1 file(s)
Co-authored-by: Wang Ning <wangning@espressif.com>
2024-07-03 15:19:51 +08:00
Yuhan Wei
d8428420cf docs(ble): Removed note in esp_bt_controller_config_t 2024-07-03 15:19:51 +08:00
Yuhan Wei
4706c474dc docs(ble): Replaced BT with Bluetooth 2024-07-03 15:19:51 +08:00
Yuhan Wei
b305571a12 docs(ble): Removed unnecessary explanations 2024-07-03 15:19:51 +08:00
Yuhan Wei
371f080046 docs(ble): Added corresponding values to the controller mode 2024-07-03 15:19:51 +08:00
Yuhan Wei
f9b1789ae8 docs(ble): Fixed the explanation of TX power type 2024-07-03 15:19:51 +08:00
Yuhan Wei
2e814bdd2b docs(ble): Revised the esp32 controller API explanations 2024-07-03 15:19:51 +08:00
Abhinav Kudnar
62ef4515c7 fix(nimble): Fix the sequence of pairing complete event 2024-07-01 12:43:37 +05:30
Rahul Tank
3cfc7b1ec9 fix(nimble): Added debug print to check for skipped adv report 2024-06-28 18:35:12 +05:30
Rahul Tank
b1c8757b9f Merge branch 'bugfix/set_correct_cb_arg' into 'master'
fix(nimble): Pass the correct cb arg during reconnection attempt

Closes IDFCI-2207

See merge request espressif/esp-idf!31629
2024-06-28 20:52:41 +08:00
zwl
b7b32952ff feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci uart mode on ESP32-C5 2024-06-26 17:19:33 +08:00
zwl
2bd3eaf288 feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci uart mode on ESP32-C6 and ESP32-H2 2024-06-26 17:19:00 +08:00
chenjianhua
97057eeaf2 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-06-25 17:00:50 +08:00
Jiang Jiang Jian
b5762b732b Merge branch 'feat/optimize_bt_porting_layer_0619' into 'master'
Feat/optimize bt porting layer 0619

See merge request espressif/esp-idf!31653
2024-06-25 13:57:40 +08:00
Rahul Tank
986f6246fd fix(nimble): Pass the correct cb arg during reconnection attempt 2024-06-25 08:25:09 +05:30
gongyantao
772b4dc26a fix(bt): add integrity check when temporary link key selected 2024-06-24 12:05:49 +08:00
cjin
b4ded34fd8 fix(ble): added c6 config check for ble light sleep 2024-06-21 14:58:39 +08:00
zwl
842e3b13a2 feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-21 14:58:35 +08:00
Rahul Tank
0cfefb8a42 Merge branch 'bugfix/free_memory_before_reattempt' into 'master'
fix(nimble): Clear resource before re-starting advertising

Closes BT-3776

See merge request espressif/esp-idf!31548
2024-06-19 18:40:22 +08:00
Island
83cda5cfb9 Merge branch 'feat/add_definition_of_auth_fail_reason' into 'master'
feat(bt/bluedroid): Add definition for the reason of BLE authentication failure

See merge request espressif/esp-idf!31302
2024-06-19 16:07:25 +08:00
chenjianhua
5aae8dc53c feat(bt/bluedroid): Add definition for the reason of BLE authentication failure 2024-06-18 20:11:39 +08:00
zwl
23ff4fc0c4 feat(bluetooth/controller): update controller api name on ESP32-C5 2024-06-18 15:40:53 +08:00
zwl
5611224141 feat(bluetooth/controller): update controller api name on ESP32-C2 2024-06-18 15:40:53 +08:00
zwl
d6240706ea feat(bluetooth/controller): update controller api name on ESP32-C6 and ESP32-H2 2024-06-18 15:40:53 +08:00
Rahul Tank
df54b0ff12 fix(nimble): Clear resource before re-starting advertising 2024-06-18 10:33:10 +08:00
Jiang Jiang Jian
eba93f00f4 Merge branch 'bugfix/fixed_dport_access_issue' into 'master'
fix(bt/controller): Fixed assert issue caused by DPORT access

See merge request espressif/esp-idf!31469
2024-06-13 15:58:00 +08:00
Jiang Jiang Jian
2152f07bc3 Merge branch 'bugfix/fix_no_mem_coex_issue' into 'master'
fix(nimble): Added change to handle extra memory for ext adv reattempt

See merge request espressif/esp-idf!31443
2024-06-13 14:31:34 +08:00
linruihao
49c19fd857 fix(bt/controller): Fixed assert issue caused by DPORT access 2024-06-13 11:43:45 +08:00
Island
0ebc44e2db Merge branch 'bugfix/fix_ble_evt_time' into 'master'
fix(ble/controller): Update esp32 bt-lib (1e63e23)

Closes BLERP-760, BLERP-759, BLERP-793, BLERP-794, IDFGH-12768, and BLERP-803

See merge request espressif/esp-idf!30878
2024-06-13 11:09:03 +08:00
Island
27f06bef11 Merge branch 'bugfix/fix_ble_set_adv_param_check' into 'master'
Bugfix/fix ble set adv param check

Closes BLERP-739

See merge request espressif/esp-idf!30745
2024-06-13 11:04:09 +08:00
Island
54da44509c Merge branch 'bugfix/fix_ble_security_param' into 'master'
fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization

Closes IDFGH-12909

See merge request espressif/esp-idf!31304
2024-06-13 11:03:22 +08:00
zhanghaipeng
21bfbaca61 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-12 19:34:41 +08:00
Rahul Tank
23d88abbfb fix(nimble): Added change to handle extra memory for ext adv reattempt 2024-06-12 15:10:49 +05:30
Island
8057d80f25 Merge branch 'bugfix/fix_some_ble_bugs_240531' into 'master'
Fixed some BLE bugs 240531 on ESP32C3 (0738a61)

See merge request espressif/esp-idf!31260
2024-06-12 14:13:43 +08:00
Abhinav Kudnar
cefcba9910 fix(nimble): Added return code in ble_gap_unpair error logs 2024-06-05 09:32:49 +05:30
Rahul Tank
2bc29a788a Merge branch 'bugfix/explict_free_adv_data' into 'master'
fix(nimble): Explicitly NULL assign adv data

Closes BLERP-795

See merge request espressif/esp-idf!31286
2024-06-05 11:41:15 +08:00
zhanghaipeng
42ca04b586 fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization 2024-06-05 11:40:58 +08:00
Island
82af82501c Merge branch 'bugfix/esp32c2_fixed_some_ble_issues_master' into 'master'
Bugfix/esp32c2 fixed some ble issues master

Closes BLERP-768, BLERP-789, BLERP-765, BLERP-766, BLERP-769, and BLERP-655

See merge request espressif/esp-idf!31215
2024-06-04 10:21:55 +08:00
Rahul Tank
bd3fddc6b3 fix(nimble): Explicitly NULL assign adv data 2024-06-03 18:08:20 +05:30
gongyantao
e80feeab1a fix(bt): fix some issues in bt controller
1: fix return incorrect link key with hci command rd_stored_link_key
2: fix the assert triggered during APB TX
2024-06-03 15:21:38 +08:00
chenjianhua
f4edc80019 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-03 11:15:56 +08:00
Rahul Tank
c7bbfaee25 Merge branch 'bugfix/copy_ext_adv_data_reattempt' into 'master'
fix(nimble): Use appendfrom to duplicate adv data

See merge request espressif/esp-idf!31224
2024-06-01 18:56:22 +08:00
Wang Meng Yang
809f1e347b Merge branch 'bugfix/l2cap_use_wrong_handle' into 'master'
fix(bt/bluedroid):  Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event

Closes IDFGH-12886

See merge request espressif/esp-idf!31098
2024-05-31 17:47:05 +08:00
Rahul Tank
82bb1a79e4 fix(nimble): Use appendfrom to duplicate adv data 2024-05-31 11:55:13 +05:30
zwl
5cd85b832c ble: fixed ble some issues on esp32c6 and esp32h2 2024-05-31 14:03:29 +08:00
zwl
a3e6a6b43d ble: fixed ble some issues on esp32c2 2024-05-31 14:03:29 +08:00
luoxu
cee98dae25 fix(ble_mesh): fix issues in mesh deinit 2024-05-31 11:10:30 +08:00
Rahul Tank
fdbe535434 Merge branch 'bugfix/free_reattempt_adv_data' into 'master'
fix(nimble): Added change to free memory in case of failure

See merge request espressif/esp-idf!31099
2024-05-30 17:19:40 +08:00
Wang Meng Yang
651e6a7b32 Merge branch 'bugfix/fix_rsw_collision' into 'master'
fix(bt/controller): Fixed role switch LMP collision bug

Closes BTQABR2023-283

See merge request espressif/esp-idf!30581
2024-05-29 19:38:19 +08:00
Rahul Tank
e9a857f2cc fix(nimble): Added change to free memory in case of failure 2024-05-29 14:55:43 +05:30
liqigan
49ba7d7afd fix(bt/controller): Fixed role switch LMP collision bug 2024-05-29 15:53:19 +08:00
Rahul Tank
90960d58c6 feat(nimble): Revert support for Enhanced ATT "
This reverts commit f265e50ca0.
2024-05-29 12:39:25 +05:30
xiongweichao
a3d3b74e35 fix(bt/bluedroid): Fixed deadlock caused by not unlocking 2024-05-27 19:36:17 +08:00
xiongweichao
0b0d316d4c 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-05-27 19:34:46 +08:00
Abhinav Kudnar
4eb0fef079 feat(nimble): Added API to get resolve ADV data 2024-05-27 16:48:35 +05:30
Island
43af0fbe1d Merge branch 'bugfix/fix_blecrt_147' into 'master'
fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK

See merge request espressif/esp-idf!30825
2024-05-27 14:56:21 +08:00
zhiweijian
9946315a5f feat(bt/nimble): support hci log for nimble 2024-05-24 14:51:06 +08:00
Island
657b35cfea Merge branch 'fix/ble_mesh_gatts_bugfix' into 'master'
fix(ble_mesh): Create service after service register success

Closes BLERP-758

See merge request espressif/esp-idf!30877
2024-05-24 14:09:31 +08:00
Island
039c6d7380 Merge branch 'fix/fix/ble_mesh_sar_bugfix' into 'master'
BLE Mesh SAR bugfix

Closes BLERP-761 and BLERP-762

See merge request espressif/esp-idf!30880
2024-05-24 14:09:14 +08:00
Rahul Tank
946d25a884 Merge branch 'bugfix/restart_advertising_if_slave_23e' into 'master'
fix(nimble): start advertising if disconnect due to 0x3E in slave

Closes BLERP-618 and BLERP-757

See merge request espressif/esp-idf!30707
2024-05-23 20:17:37 +08:00
chenjianhua
7e975ee805 fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK 2024-05-23 17:26:07 +08:00
luoxu
26a693eed7 fix(ble_mesh): change tx/rx lock to recursive mutex to avoid dead lock 2024-05-23 15:12:03 +08:00
luoxu
6ca1651d14 fix(ble_mesh): reference net_buf on correct positions 2024-05-23 15:12:03 +08:00
luoxu
2567b7175d fix(ble_mesh): Create service after service register success 2024-05-23 12:13:45 +08:00
Island
42f42f73b6 Merge branch 'feat/add_api_to_set_privacy_mode' into 'master'
feat(bt/bluedroid): support BLE set privacy mode

Closes BLERP-745

See merge request espressif/esp-idf!30801
2024-05-22 17:57:04 +08:00
Island
a3cb889ba3 Merge branch 'bugfix/fix_bci_416' into 'master'
Fixed BLE interrupt allocation using esp API on ESP32C3

See merge request espressif/esp-idf!30652
2024-05-22 17:57:01 +08:00
Rahul Tank
3df54c5178 fix(nimble): start advertising if disconnect due to 0x3E in slave 2024-05-22 12:53:29 +05:30
chenjianhua
f573cd09ab feat(bt/bluedroid): support BLE set privacy mode 2024-05-21 19:53:43 +08:00
Rahul Tank
7e2534d533 Merge branch 'feat/enhanced_att' into 'master'
feat(nimble): Added support for Enhanced ATT

Closes BT-3065

See merge request espressif/esp-idf!30422
2024-05-21 14:11:13 +08:00
Sumeet Singh
f265e50ca0 feat(nimble): Added support for Enhanced ATT or ATT over Enhanced L2CAP Credit Based Flow Control Mode 2024-05-17 12:27:32 +05:30
zwl
8f3c069c3c ble: fixed some issues on ESP32C6 and ESP32H2 2024-05-16 17:28:58 +08:00
Konstantin Kondrashov
28e592563c Merge branch 'feature/unuse_old_log_apis' into 'master'
feat(all): Remove usage old log macros

See merge request espressif/esp-idf!30598
2024-05-16 13:57:06 +08:00
Rahul Tank
57e8031e65 Merge branch 'feature/get_local_used_addr' into 'master'
feat(nimble): Added API to get local used address

See merge request espressif/esp-idf!30595
2024-05-16 12:14:38 +08:00
Rahul Tank
4d873e3c9f fix(nimble): Remove ESP IP dependancy on enc_adv_data example 2024-05-15 15:27:11 +05:30
Konstantin Kondrashov
668886842f feat(all): Remove usage old log macros 2024-05-15 15:25:30 +08:00
Abhinav Kudnar
c1787c24bd feat(nimble): Added API to get local used address 2024-05-15 12:12:04 +05:30
Rahul Tank
fca1c0fa3b fix(nimble): Create separate API to only extract cb info 2024-05-14 17:15:49 +05:30
chenjianhua
2c93450d59 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-05-14 14:41:39 +08:00
zhanghaipeng
afca005778 fix(ble/bluedroid): Fixed BLE set adv param check 2024-05-11 11:13:40 +08:00
Wang Meng Yang
caa248be08 Merge branch 'bugfix/loadprohibited_after_bt_deinit' into 'master'
fix(coex): fixed crash issue in coexist callback

Closes BT-3715

See merge request espressif/esp-idf!30493
2024-05-10 12:16:43 +08:00
gongyantao
88774ee612 fix(bt): fixed assert_1024 issue when bt tx and wifi coexist
Closes https://github.com/espressif/esp-idf/issues/13656
2024-05-10 10:18:54 +08:00
Rahul Tank
d42058de17 fix(nimble): Free controller memory if init fails 2024-05-08 09:57:22 +05:30
Island
705c21d38e Merge branch 'feat/display_ble_controller_init_status' into 'master'
feat(ble/controller): Display BLE controller init status for ESP32 and ESP32-C3/S3

Closes BLERP-728

See merge request espressif/esp-idf!30651
2024-05-08 10:28:31 +08:00
zhanghaipeng
fc9290d8a2 fix(ble/bluedroid): Fixed BLE spelling error in word 2024-05-07 16:24:27 +08:00
zhanghaipeng
b270f0abc3 feat(ble/bluedroid): Add BLE memory allocation failure message 2024-05-07 15:32:11 +08:00
Island
5a09fce7e4 Merge branch 'bugfix/fix_ble_scan_back_off' into 'master'
fix(ble/controller): Update esp32 bt-lib (b79d7e2)

Closes IDFCI-2016

See merge request espressif/esp-idf!30582
2024-05-07 14:14:42 +08:00
Rahul Tank
5791913b85 Merge branch 'bugfix/disable_mbedtls_options' into 'master'
fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used

See merge request espressif/esp-idf!30497
2024-05-07 12:37:42 +08:00
zhanghaipeng
24e7d9b1cb feat(ble/controller): Display BLE controller init status for ESP32 and ESP32C3/S3 2024-05-07 11:00:03 +08:00
Island
498cf723f0 Merge branch 'bugfix/fix_ble_pktlen_change' into 'master'
Bugfix/fix ble pktlen change

Closes BLERP-726

See merge request espressif/esp-idf!30630
2024-05-07 09:28:27 +08:00
Rahul Tank
4b4602d846 fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:15:36 +05:30
zhanghaipeng
840da7ab11 fix(ble/controller): Update esp32 bt-lib (b79d7e2)
- Fixed BLE scan backoff
2024-05-06 16:17:14 +08:00
zhanghaipeng
bc1851d793 fix(ble/bluedroid): Optimize BLE stack connect callback name 2024-05-06 15:43:09 +08:00
zhanghaipeng
f2cfe4a0f0 fix(ble/bluedroid): Fixed BLE no data length change event 2024-05-06 15:34:21 +08:00
Wang Meng Yang
8c76bd49b2 Merge branch 'bugfix/add_param_check_for_enh_sync_conn' into 'master'
fix(bt/controller): Parse out the correct packet types from Host parameters

See merge request espressif/esp-idf!29973
2024-05-06 10:07:03 +08:00
Jin Cheng
b79fcbb9d7 fix(bt/controller): Parse out the correct packet types from Host parameters
- For HCI command HCI_Enhanced_Setup_Synchronous_Connection
2024-04-30 17:38:58 +08:00
liqigan
284b80024c fix(bt/bluedroid): Fix HID Device connection failed bug
Closes https://github.com/espressif/esp-idf/issues/13671
2024-04-30 12:40:04 +08:00
zhanghaipeng
49cab1a22f fix(ble/bluedroid): Fixed BLE report event when connection fails 2024-04-28 15:44:13 +08:00
baohongde
5912194ccd fix(coex): Fixed some coexist issues
- Fixed crash issue in coexist callback
- Fixed coexist scheme status update issue
2024-04-28 11:59:01 +08:00
Island
39a1e17c32 Merge branch 'bugfix/fix_ble_coex_assert' into 'master'
fix(bt): Update esp32 bit-lib (4012cfb)

Closes BT-3674 and BLERP-715

See merge request espressif/esp-idf!30447
2024-04-28 10:48:24 +08:00
zhanghaipeng
4b083ca59c feat(ble/bluedroid): Support BLE command status debug log 2024-04-26 17:08:17 +08:00
zhanghaipeng
89b848d018 fix(ble/controller): Update esp32 bt-lib (4012cfb)
- Fixed BLE coex assert
- Fixed BLE DTM status and tx count
2024-04-26 16:43:31 +08:00
Island
6c032a0b70 Merge branch 'bugfix/fix_some_ble_bugs_240420' into 'master'
Fixed some BLE bugs 240420 on ESP32C3 (a771b7c)

Closes BLERP-704, BLERP-705, BLERP-706, BLERP-707, BLERP-708, and BLERP-709

See merge request espressif/esp-idf!30400
2024-04-26 16:37:46 +08:00
Rahul Tank
9433067f33 fix(nimble): Expose API to set RPA Timeout 2024-04-23 11:21:26 +05:30
chenjianhua
22cdf8db16 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(a771b7c)
- Fixed assert when starting advertising due to preemption
- Fixed RPA generation after each reboot
- Fixed RPA renew timer start and stop
2024-04-23 11:30:02 +08:00
Island
148aa32c64 Merge branch 'feat/optimzie_ble_ctrl_memory' into 'master'
ble: support only legacy adv and slave function on esp32c2

Closes BLERP-675

See merge request espressif/esp-idf!30186
2024-04-22 22:50:58 +08:00
Wang Meng Yang
64bb591ef3 Merge branch 'bugfix/hf_local_param_null' into 'master'
fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway in...

See merge request espressif/esp-idf!30123
2024-04-22 15:25:06 +08:00
zwl
dcb9780302 ble: optimize bt cmakelists.txt file 2024-04-22 11:25:04 +08:00
zwl
917134f890 ble: support only legacy adv and slave function on esp32c2 2024-04-22 11:25:04 +08:00
Wang Meng Yang
14bf30d5b6 Merge branch 'bugfix/optimize_hidh_connection' into 'master'
fix(bt/bluedroid): Fix HID Host connection bugs

Closes BT-3680

See merge request espressif/esp-idf!30160
2024-04-22 09:33:28 +08:00
Zhi Wei Jian
713e36e776 Merge branch 'bugfix/remove_ble_func_discard_declaration' into 'master'
fix(ble/bluedroid): Remove BLE functions discard declaration

Closes BLERP-663

See merge request espressif/esp-idf!30011
2024-04-18 19:00:55 +08:00
zhiweijian
b9a1756202 fix(ble/bluedroid): Remove BLE functions discard declaration
fix(nt/bluedroid): Split the device name set functions

feat(bt/bluedroid): added APIs to get/set device name on BT GAP side

change(bt/common): Marked some APIs in device module as deprecated

1. esp_bt_dev_set_device_name
2. esp_bt_dev_get_device_name

change(bt/bluedroid): use BT GAP APIs to set/get device name in bluetooth classic examples

change(bt/bluedroid): use BT/BLE GAP APIs to set/get device name in coexist examples
2024-04-18 15:53:54 +08:00
zhiweijian
5725595d84 fix(ble/bluedroid): Remove esp_bluedroid_init() discard declaration 2024-04-18 15:53:30 +08:00
Rahul Tank
d80a4e0ce1 Merge branch 'bugfix/fix_hex2val_ret' into 'master'
fix(nimble): Add check for return value of hex2val

Closes BT-3695

See merge request espressif/esp-idf!30304
2024-04-18 14:00:21 +08:00
Island
2cdd56ebc3 Merge branch 'bugfix/fixed_coex_asset_on_esp32c2' into 'master'
ble: fixed an occasional assertion issue in coexistence scenarios on ESP32C2

See merge request espressif/esp-idf!30300
2024-04-18 10:54:15 +08:00
Island
fc4e48dca5 Merge branch 'bugfix/fix_ble_appearance' into 'master'
Fixed BLE appearance category ranges

Closes IDFGH-12628

See merge request espressif/esp-idf!30284
2024-04-18 10:43:23 +08:00
zhanghaipeng
0a4636a8be fix(ble/bluedroid): Fixed set BLE appearance value 2024-04-17 20:38:36 +08:00
Rahul Tank
7ee1e0b8fb fix(nimble): Add check for return value of hex2val 2024-04-17 18:07:59 +05:30
Island
e82a723abf Merge branch 'bugfix/ble_mesh_fsm_list_init' into 'master'
bugfix/ble_mesh_fsm_list_init

Closes BLERP-539 and BLERP-451

See merge request espressif/esp-idf!30281
2024-04-17 20:09:52 +08:00
Wang Meng Yang
d8ddc102f6 Merge branch 'bugfix/crash_after_bluedroid_deinit' into 'master'
fix(bt/bluedroid): Fixed controller using null pointer after bluedroid deinit

Closes BTQABR2023-248

See merge request espressif/esp-idf!30172
2024-04-17 17:26:06 +08:00
zwl
d0c1ff0376 ble: fixed an occasional assertion issue in coexistence scenarios on ESP32C2 2024-04-17 14:46:02 +08:00
luoxu
b6c09192c8 fix(ble_mesh): rpr server and df bug fixed(10f7fdc1a9) 2024-04-17 11:14:18 +08:00
Sumeet Singh
19ad84f008 fix(nimble): Removed code for termination upon signed write operation failure 2024-04-16 09:57:25 +05:30
Island
46e0760619 Merge branch 'feat/support_ble_add_device_to_resolving_list' into 'master'
feat(ble/bluedroid): Support BLE add device to resolving list

Closes BLERP-681

See merge request espressif/esp-idf!30216
2024-04-16 10:35:16 +08:00
zhanghaipeng
9ae6007b5b feat(ble/bluedroid): Support create BLE static random address and NRPA 2024-04-15 21:04:52 +08:00
zhanghaipeng
36c9953588 feat(ble/bluedroid): Support BLE add device to resolving list 2024-04-15 19:37:02 +08:00
Island
8e0714341a Merge branch 'feat/support_qa_test_vendor_hci_esp32c3' into 'master'
Support QA test vendor HCI command and event on ESP32C3

Closes BLERP-578

See merge request espressif/esp-idf!29282
2024-04-15 14:08:40 +08:00
Island
caf0712174 Merge branch 'feat/support_qa_test_vendor_hci_esp32' into 'master'
Support QA test vendor HCI command and event on ESP32

Closes BLERP-578

See merge request espressif/esp-idf!29372
2024-04-15 14:08:34 +08:00
Jin Cheng
081dc80eb8 fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway in its initialization when dynamic memory is wnabled 2024-04-15 11:20:55 +08:00
Rahul Tank
f2fd8192fc fix(nimble): Fix compilation issues when CCCD is set to 0 2024-04-12 11:01:47 +05:30
Rahul Tank
052e884f34 Merge branch 'bugfix/fix_cve_2024_24746' into 'master'
fix(nimble): Fix for Vulnerability CVE_2024_24746

See merge request espressif/esp-idf!30106
2024-04-12 13:12:35 +08:00
Wang Meng Yang
d4552c6274 Merge branch 'bugfix/bt_bss_in_extram' into 'master'
BT: Fix non-existent linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled

Closes IDFGH-9017

See merge request espressif/esp-idf!21790
2024-04-12 08:57:10 +08:00
Rahul Tank
1e8c5fb247 fix(nimble): Fix for Vulnerability CVE_2024_24746 2024-04-11 19:28:44 +05:30
Rahul Tank
8a061af163 Merge branch 'feat/add_data_len_chg_evt' into 'master'
fix(nimble): Add support for data length change evt

Closes BLERP-666 and BLERP-665

See merge request espressif/esp-idf!29799
2024-04-11 21:09:53 +08:00
Island
0545816211 Merge branch 'bugfix/fix_ble_max_attribute_value' into 'master'
fix(ble/bluedroid): Fixed BLE GATT max length of an attribute value

Closes IDFGH-12362

See merge request espressif/esp-idf!30155
2024-04-11 19:11:20 +08:00
Rahul Tank
beb87e30f0 fix(nimble): Add support for data length change evt 2024-04-11 11:01:59 +05:30
xiongweichao
f535fdff2d 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-04-11 10:39:44 +08:00
Rahul Tank
fdd630425d fix(nimble): Fix the size of num_packets in dtm event 2024-04-10 19:26:07 +05:30
Xu Xiao
f0365ba6b5 Merge branch 'chip/esp32c5_beta3_support_wifi_rebase_master' into 'master'
feat(wifi): add esp32c5 beta3 wifi support

See merge request espressif/esp-idf!29296
2024-04-10 20:21:47 +08:00
Zhi Wei Jian
48464e91bd Merge branch 'feature/move_vendor_hci_api_to_ble_part' into 'master'
feat(ble/bluedroid): move vendor hci api to ble internal code

Closes BLERP-669

See merge request espressif/esp-idf!30117
2024-04-10 19:43:36 +08:00
zhanghaipeng
20a780da8c fix(ble/bluedroid): Fixed BLE GATT max length of an attribute value 2024-04-10 19:41:46 +08:00
Wang Mengyang
d69767fcb8 change(bt): Follow the same implementation of esp_bt_mem_release on ESP32-C5 2024-04-10 19:13:17 +08:00
Wang Mengyang
745922ac72 change(bt): Add a test for release bt .bss and .data memory to heap
1. use nimble host, initialize and then deinitialize bt stack in the test
2. support tests for different SoC targets and multiple configuration options
2024-04-10 19:13:17 +08:00
Wang Mengyang
95a249e3f6 change(bt): Modify test_app directory layout
- Existing test app is put in a new subdirectory "basic_unit_test"
2024-04-10 19:13:17 +08:00
Wang Mengyang
1d9559cc9d change(bt): Rename linker script file names and symbol names
1. rename linker files
2. support memory release in case that ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY is enabled
3. improve the implementation of memory release
2024-04-10 19:13:17 +08:00
Wang Mengyang
0aca5ec357 fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled
1. Closes https://github.com/espressif/esp-idf/issues/10427
2. add two linker script to unify linker script symbols for BT libraries
3. The memory release functions have also been simplified
2024-04-10 19:13:17 +08:00
xuxiao
ec872c0c81 fix(wifi): fix code review comments 2024-04-10 15:27:50 +08:00
liqigan
e1d2e0393d fix(bt/bluedroid): Fix HID Host connection bugs
1. Fix is_orig value inconsistency for HIDH open event
2. Fix the error state for repeat connection of the same device
2024-04-10 15:22:02 +08:00
chenjianhua
765af1aba4 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(c23ab4c)
- Support QA test vendor HCI command and event
2024-04-10 14:24:07 +08:00
chenjianhua
10735b7ea5 feat(bt): Update bt lib for ESP32(e314148)
- Support QA test vendor HCI command and event
2024-04-10 14:23:00 +08:00
zhiweijian
0b4695435f feat(bt/common): Add bluerooth hci layer data stream record 2024-04-10 14:17:31 +08:00
zhiweijian
379484f4db feat(ble/bluedroid): move vendor hci api to ble internal code 2024-04-10 14:17:01 +08:00
xuxiao
27f61966cd feat(wifi): add esp32c5 beta3 wifi support 2024-04-10 14:09:40 +08:00
zwl
a99d1739b6 ble: fixed the bt cmakelist error when use nimble host only 2024-04-10 10:26:59 +08:00
Island
21f5fda319 Merge branch 'bugfix/ble_mesh_heartbeat_filter_add' into 'master'
Fix(ble_mesh):fix error condition for heartbeat filter adding node address

Closes BLERP-654

See merge request espressif/esp-idf!29985
2024-04-09 12:05:21 +08:00
Rahul Tank
60156a4006 Merge branch 'bugfix/set_correct_addr_type' into 'master'
fix(nimble): Set correct peer_addr during reattempt connection

See merge request espressif/esp-idf!30051
2024-04-08 20:32:43 +08:00
Island
e3839a31bf Merge branch 'bugfix/fix_ble_scan_assert' into 'master'
fix(bt/controller): Update bt lib for ESP32(5838b68)

Closes IDFGH-6912, BLERP-628, BLERP-400, IDFCI-2016, BLERP-629, BLERP-634, IDFGH-12506, and FCS-1421

See merge request espressif/esp-idf!29686
2024-04-08 20:12:29 +08:00
Zhi Wei Jian
b9ea883781 Merge branch 'bugfix/fix_adv_not_resatrt_due_to_dis_reason' into 'master'
fix(ble/bluedroid): Fixed adv do not restart due to disconnection reason 0x3e

Closes BLERP-635

See merge request espressif/esp-idf!29733
2024-04-08 19:58:42 +08:00
Wang Meng Yang
02fe8fc671 Merge branch 'bugfix/loadprohibited_after_bluetooth_deinit' into 'master'
fix(ble/controller): Fixed LoadProhibited after bluetooth deinit

Closes BT-3672

See merge request espressif/esp-idf!30074
2024-04-08 19:15:11 +08:00
Shen Wei Long
4ec0e7bc43 Merge branch 'feature/support_ble_on_esp32c5beta3_master' into 'master'
feat(ble): Support BLE on esp32c5beta3

See merge request espressif/esp-idf!29992
2024-04-08 19:13:43 +08:00
Wang Meng Yang
6b453b803f Merge branch 'feat/set_get_lpclk_src' into 'master'
feat(ble): Added API to get low power clock source

Closes BTQABR2023-133, BTQABR2023-163, BTQABR2023-182, BTQABR2023-179, and BTQABR2023-178

See merge request espressif/esp-idf!28997
2024-04-08 17:59:23 +08:00
Island
4726afa3e6 Merge branch 'feat/support_ble_set_rpa_timeout_by_api' into 'master'
feat(ble/bluedroid): Support set resolvable provate address timeout by api

Closes BLERP-650

See merge request espressif/esp-idf!29935
2024-04-08 15:23:20 +08:00
zhiweijian
adde5a3dd6 fix(ble/bluedroid): Fixed adv not restart due to disconnection reason 0x3e 2024-04-08 14:51:33 +08:00
zhanghaipeng
9c6869fbf8 fix(bt/controller): Update bt lib for ESP32(5838b68)
- Fixed BLE scan assert
 - Fixed assert(10,0) in lld_pdu
 - Add BLE scan backoff in menuconfig
2024-04-08 14:49:06 +08:00
luoxu
0e21cdd18a fix(ble_mesh): fix error condition for heartbeat filter adding node address 2024-04-08 14:25:18 +08:00
baohongde
d60c0441f0 fix(ble/controller): Fixed LoadProhibited after bluetooth deinit 2024-04-08 11:49:05 +08:00
Island
f36a16bea7 Merge branch 'bugfix/fix_some_ble_bugs_240401' into 'master'
Fixed some BLE bugs 240401 on ESP32C3(5274796)

Closes BLERP-656, BLERP-657, BLERP-535, BLERP-644, BLERP-645, BLERP-658, BLERP-659, and BLERP-660

See merge request espressif/esp-idf!29998
2024-04-08 11:06:56 +08:00
zhanghaipeng
8c42f6a891 feat(ble/bluedroid): Support set resolvable provate address timeout by api 2024-04-07 20:40:29 +08:00
xiongweichao
3d19c3db13 feat(ble): Added API to get low power clock source 2024-04-07 17:30:55 +08:00
xiongweichao
cca828d03a fix(bt/bluedroid): Fix SPP crash after deinit
- The disconnection event comes up after spp disable is completed, so a null pointer is used.
2024-04-07 15:51:43 +08:00
Rahul Tank
d0853d70ce fix(nimble): Remove extra code in reattempt connection 2024-04-05 21:33:12 +05:30
chenjianhua
ae95ad5958 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5274796)
- Fixed extended uncoded and coded scan scheduling
- Add config for channel assessment and ping procedure
- Clear random address for extended advertising
- Add periodic advertising list check
- Fixed periodic advertising data setting with zero length
2024-04-03 17:56:21 +08:00
Island
28f68a0376 Merge branch 'feat/adjust_ble_log_init_order' into 'master'
Feat/adjust ble log init order

Closes BLERP-649, BLERP-651, BLERP-631, BLERP-652, and BLERP-655

See merge request espressif/esp-idf!29931
2024-04-03 12:39:49 +08:00
Shen Weilong
f09dcff91e feat(ble): Support BLE on esp32c5beta3 2024-04-03 10:58:06 +08:00
Jiang Jiang Jian
8ae1d9907f Merge branch 'optimize/bt_make_alarm_num_configurable' into 'master'
optimize(ble_mesh): Make alarm number configurable

Closes BLERP-577

See merge request espressif/esp-idf!28965
2024-04-02 16:18:36 +08:00
Rahul Tank
9c846916fa Merge branch 'bugfix/revamp_reconn_scheme' into 'master'
fix(nimble): Cleanup code in connection reconnection implementation

Closes BLERP-633

See merge request espressif/esp-idf!29941
2024-04-02 14:23:58 +08:00
luoxu
8160ddee46 fix(ble_mesh): fix NRF mesh(android) provisioning node failed
Closes: https://github.com/espressif/esp-idf/issues/12871
2024-04-02 10:41:57 +08:00
Jin Cheng
98230244df fix(bt/controller): Use embedded assembly to get access to DPORT registers 2024-04-01 18:53:47 +08:00
Rahul Tank
7e34300a1b fix(nimble): Change reconnection scheme 2024-04-01 16:05:41 +05:30
Jiang Jiang Jian
d954057ed8 Merge branch 'feat/coex_schm_ble' into 'master'
feat(ble/controller): Add coexist schm for BLE

See merge request espressif/esp-idf!29740
2024-04-01 18:26:52 +08:00
Wang Meng Yang
ef30e40151 Merge branch 'fix/rd_stored_link_key_error' into 'master'
fix(bt/controller): fix some issues in bt controller

Closes CBI-722, CBI-709, and BTQABR2023-210

See merge request espressif/esp-idf!29454
2024-04-01 18:17:37 +08:00