Commit Graph

4029 Commits

Author SHA1 Message Date
morris
796d40a6a7 Merge branch 'change/deprecate_gdma_new_channel_api' into 'master'
change(gdma): deprecate legacy API

See merge request espressif/esp-idf!33148
2024-08-29 16:39:24 +08:00
Island
bb5f95fcc3 Merge branch 'refactor/ble_example_print_on_bluedroid' into 'master'
refactor(bt/bluedroid): Refactor the print for CI example test

Closes BLERP-904 and BLERP-910

See merge request espressif/esp-idf!32513
2024-08-29 14:43:30 +08:00
Lou Tianhao
4393343ac9 fix(ci): some actions taken to pass ci 2024-08-29 14:15:41 +08:00
Island
66cb82a446 Merge branch 'docs/optimized_ble_gattc_multi_connect_example' into 'master'
docs(ble/bluedroid): Optimize BLE example documentation for getting characteristic

Closes IDFGH-13526 and IDFGH-13463

See merge request espressif/esp-idf!33063
2024-08-28 18:02:27 +08:00
morris
39cbba3685 change(gdma): deprecate legacy API
gdma_new_channel() is replaced by gdma_new_ahb_channel() and
gdma_new_axi_channel()
2024-08-28 15:27:35 +08:00
Island
6c59cda5b1 Merge branch 'debug/fix_deep_sleep_wake_up_by_ble' into 'master'
fix(ble): fix BLE immediately  wakeup deep sleep

Closes BLERP-846 and BLERP-943

See merge request espressif/esp-idf!31916
2024-08-28 15:13:10 +08:00
chenjianhua
a56d18383b refactor(bt/bluedroid): Refactor the print for gatt_server and gatt_client example 2024-08-28 14:51:12 +08:00
Wang Meng Yang
59066e3edf Merge branch 'contrib/github_pr_14286' into 'master'
fix(bt): Enable use of RESERVED bits in COD (GitHub PR)

Closes IDFGH-13374

See merge request espressif/esp-idf!32549
2024-08-28 14:03:57 +08:00
zhanghaipeng
dbca12721e fix(ble/bluedroid): Optimize BLE function 'esp_ble_resolve_adv_data_by_type' 2024-08-27 16:56:39 +08:00
chenqingqing
cd05eea685 fix(bt/bluedroid): Fix default codec type on PCM datapath for hfp_hf 2024-08-27 14:24:23 +08:00
chenqingqing
b456865c4a fix(bt): Add a parameter in the two least significant bits of Class of Device 2024-08-27 14:23:49 +08:00
WebDust21
913eca40ef fix(bt): Enable use of RESERVED bits in COD (GitHub PR) 2024-08-27 14:23:49 +08:00
cjin
3aac7d2a58 feat(ble): add internal api to change ble slow clock source 2024-08-27 12:49:32 +08:00
cjin
8b1e4d8437 fix(ble): remove ble wakeup before entering light sleep 2024-08-27 12:49:32 +08:00
Island
18e8e18fa9 Merge branch 'bugfix/fixed_c6_c2_issues_master' into 'master'
Bugfix/fixed c6 c2 issues master

Closes BLERP-946, BLERP-940, BLERP-939, BLERP-937, BLERP-934, BLERP-906, BLERP-932, and BLERP-959

See merge request espressif/esp-idf!32977
2024-08-26 19:28:46 +08:00
Rahul Tank
4d7489a8ff fix(nimble): Corrected parameters assignment in per_adv_transfer_enable 2024-08-26 16:54:20 +05:30
Nebojša Cvetković
e03fd702ae fix(bt/bluedroid): Resolve warning: unused variable 'pp' 2024-08-26 19:19:48 +08:00
Jiang Jiang Jian
f54e1a8f09 Merge branch 'bugfix/fix_work_queue_delete_on_bluedroid' into 'master'
fix(bt/bluedroid): Fixed work queue delete when create thread failed

See merge request espressif/esp-idf!33037
2024-08-26 14:47:48 +08:00
Astha Verma
ef6f7ef528 fix(nimble): Added BT_HCI_LOG_INCLUDED macro according to nimble nomenclature 2024-08-24 11:02:32 +05:30
chenjianhua
ec0277d833 fix(bt/bluedroid): Fixed work queue delete when create thread failed 2024-08-23 16:31:12 +08:00
Rahul Tank
ac8f354458 Merge branch 'bugfix/blesmp_getlist_bond_fail' into 'master'
fix(nimble): Fixed blesmp getbondlist issue

Closes BLERP-921

See merge request espressif/esp-idf!32697
2024-08-23 12:36:27 +08:00
Island
db1f207d64 Merge branch 'feat/get_free_heap_size_for_ble' into 'master'
feat(ble/controller): Support get BLE controller free heap size

Closes BLERP-938

See merge request espressif/esp-idf!32874
2024-08-23 10:09:44 +08:00
Island
6a2bc24f7f Merge branch 'bugfix/fix_ble_resolve_adv_data' into 'master'
fix(ble/bluedroid): Fixed memory out-of-bounds issue when parsing adv data

Closes BLERP-941

See merge request espressif/esp-idf!32894
2024-08-22 16:54:49 +08:00
zhanghaipeng
946f484861 feat(ble/controller): Support get BLE controller free heap size 2024-08-22 14:42:52 +08:00
shreeyash
1ff60d5336 fix(nimble): Fixed blesmp getbondlist issue 2024-08-22 10:40:45 +05:30
Island
66b8c33308 Merge branch 'bugfix/fix_c5_ble_crash_issue' into 'master'
fix(ble): fix esp32c5 crash issue when enable the ble controller

See merge request espressif/esp-idf!32890
2024-08-22 10:28:43 +08:00
zwl
8c3e2c9d5a fix(ble): fixed ble controller issues on ESP32-C2 2024-08-22 09:53:11 +08:00
zwl
e8c80d4809 fix(ble): fixed ble controller issues on ESP32-H2 2024-08-22 09:53:11 +08:00
zwl
c038e38c24 fix(ble): fixed ble controller issues on ESP32-C6 2024-08-22 09:53:11 +08:00
Jiang Jiang Jian
b6f67b36fb Merge branch 'bugfix/fix_clkn_lost_after_modem_sleep' into 'master'
fix(bt/controller): Fixed bluetooth disconnect issue after modem sleep on ESP32

Closes BT-3831

See merge request espressif/esp-idf!32959
2024-08-21 23:19:50 +08:00
Rahul Tank
c480d92a59 Merge branch 'feat/ble_link_estab_event' into 'master'
feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link is established

Closes BLEQABR24-977, BLERP-851, BLERP-854, BLERP-878, IDFCI-2291, IDFCI-2289, BLERP-933, and BLERP-947

See merge request espressif/esp-idf!31968
2024-08-21 23:17:28 +08:00
zhanghaipeng
c1fb888cc1 fix(ble/bluedroid): Fixed memory out-of-bounds issue when parsing adv data 2024-08-21 19:27:36 +08:00
linruihao
fd46936033 fix(bt/controller): Fixed bluetooth disconnect issue after modem sleep on ESP32 2024-08-21 17:53:25 +08:00
Island
3929afdb5f Merge branch 'fix/ble_mesh_gh_pr_13135' into 'master'
fix(ble_mesh): Fix OP_TIME_SET and OP_TIME_STATUS

See merge request espressif/esp-idf!32768
2024-08-21 16:54:40 +08:00
Rahul Tank
61aae40313 feat(nimble): BLE_GAP_EVENT_LINK_ESTAB event to ensure link established 2024-08-21 13:07:46 +05:30
Jiang Jiang Jian
ff0bc815a2 Merge branch 'bugfix/fixed_c2_blufi_issue_when_use_only_4.2_adv' into 'master'
fix(ble): fixed blufi issue on ESP32-C2

Closes BLERP-944

See merge request espressif/esp-idf!32941
2024-08-20 22:04:51 +08:00
Shen Weilong
36c0bf9331 fix(ble): fix esp32c5 crash issue when enable the ble controller 2024-08-20 18:04:12 +08:00
Rahul Tank
dbce23f8a4 Merge branch 'feat/allow_connect_during_scan' into 'master'
Some checks failed
docker / docker (push) Has been cancelled
feat(nimble): Add support to allow connection during scanning

Closes BLERP-903

See merge request espressif/esp-idf!32509
2024-08-20 17:10:30 +08:00
zwl
0611a04250 fix(ble): fixed blufi issue on ESP32-C2 2024-08-20 16:42:42 +08:00
Rahul Tank
f03c3ed43e feat(nimble): Add support to allow connection during scanning 2024-08-20 10:05:14 +05:30
Pat Erley
5daee45f6e fix(ble_mesh): Fix OP_TIME_SET and OP_TIME_STATUS
When a user app is handling these messages, the tai_utc_delta and
time_zone_offset fields are not correctly populated.  Resolve by
properly setting the fields.
2024-08-20 12:01:35 +08:00
chenjianhua
ee0bd91364 fix(bt): Update bt lib for ESP32(241c96c)
- Fixed BLE vendor HCI get controller status command
2024-08-14 15:29:11 +08:00
Rahul Tank
a02a2a2d34 fix(nimble) Added change to handle linked om data at blufi layer 2024-08-13 16:39:18 +05:30
Island
75eb7fe379 Merge branch 'feat/print_the_ble_mac_when_init' into 'master'
feat(ble): Print out the BT mac when the controller is initialized

Closes BLERP-914

See merge request espressif/esp-idf!32674
2024-08-12 20:16:51 +08:00
Zhao Wei Liang
915e1238f0 Merge branch 'bugfix/fixed_c6_h2_vendor_hci_master' into 'master'
Bugfix/fixed c6 h2 vendor hci master

See merge request espressif/esp-idf!32739
2024-08-12 10:54:53 +08:00
Zhang Hai Peng
8971902e1c Merge branch 'feat/get_ble_addr_tpye_in_bond_list' into 'master'
feat(ble/bluedroid): Support getting BLE address type in bond list

Closes IDFGH-13287

See merge request espressif/esp-idf!32680
2024-08-12 10:26:11 +08:00
Island
368cfdac26 Merge branch 'docs/optimized_ble_connect_param_update' into 'master'
docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates

Closes BLERP-892

See merge request espressif/esp-idf!32351
2024-08-12 10:25:37 +08:00
Island
f90d23565b Merge branch 'feature/ble_5_1_direction_finding_support_host' into 'master'
feature : Bluetooth LE 5.1 direction finding host support

See merge request espressif/esp-idf!32704
2024-08-12 10:20:36 +08:00
zwl
a9ae1162aa fix(bluetooth/controller): fixed get controller status vendor hci command error on ESP32C5 2024-08-10 12:34:01 +08:00
zwl
0de0ab46fe fix(bluetooth/controller): fixed get controller status vendor hci command error on ESP32C6 2024-08-10 12:28:32 +08:00
zhanghaipeng
9fcb712539 feat(ble/bluedroid): Support getting BLE address type in bond list 2024-08-09 19:53:16 +08:00
Wang Meng Yang
d4b2da21eb Merge branch 'bugfix/heap_corrupt_in_bt_mem_release_on_esp32' into 'master'
fix(bt): Fix heap corruption in the call of esp_bt_mem_release on ESP32

Closes IDFGH-13349

See merge request espressif/esp-idf!32436
2024-08-09 17:58:45 +08:00
Island
8072d96cd6 Merge branch 'bugfix/fix_ble_channel_map_update' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)

Closes BCI-436, BLERP-908, and BLERP-909

See merge request espressif/esp-idf!32571
2024-08-09 17:26:59 +08:00
Geng Yuchao
4a70ba9e7b feat: update nimble submodule to support Bluetooth LE 5.1 Direction Finding featrue 2024-08-09 14:51:37 +08:00
Geng Yuchao
25a12ef95e feat: Add direction finding relate defines and kconfig and CMakeLists 2024-08-09 14:51:37 +08:00
zhanghaipeng
b261ee37e4 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(f583012)
- Fix BLE channel map update when latency is not zero
2024-08-08 21:33:52 +08:00
Mario Schlegel
9c98a8584b fix(ble-mesh): don't use dangling pointer in nimble gatt service 2024-08-08 17:39:51 +08:00
Shen Weilong
a5551179ac feat(ble): Print out the BT mac when the controller is initialized 2024-08-07 16:40:27 +08:00
Rahul Tank
a547ebb383 Merge branch 'feat/set_data_length_enhancement' into 'master'
feat(nimble): Add extra handling for set data len packet event

Closes BLERP-905

See merge request espressif/esp-idf!32515
2024-08-07 13:06:42 +08:00
Island
f305b74d43 Merge branch 'feat/ble_mesh_support_esp32c5' into 'master'
Feat/ble mesh support esp32c5

Closes BLERP-893 and IDF-9165

See merge request espressif/esp-idf!32479
2024-08-06 17:34:02 +08:00
Island
ff4f1a24ce Merge branch 'bugfix/fixed_ble_issues_on_c6_h2_c2_0731' into 'master'
Bugfix/fixed ble issues on c6 h2 c2 0731

Closes BLERP-858, BLERP-856, BLERP-772, BLERP-888, BLERP-886, BLERP-884, BLERP-883, BLERP-879, BLERP-877, and BLERP-899

See merge request espressif/esp-idf!32457
2024-08-06 16:00:49 +08:00
zhanghaipeng
3e98408b92 docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates 2024-08-06 11:17:46 +08:00
Island
707dd9b599 Merge branch 'bugfix/fix_cble50y24_81' into 'master'
feat(bt/bluedroid): Add print and assert when failed to alloc memory

Closes BLERP-809

See merge request espressif/esp-idf!31634
2024-08-06 10:46:49 +08:00
Island
ba4e111e87 Merge branch 'bugfix/fix_blecrt_196' into 'master'
feat(bt/bluedroid): Report HCI error code to app when command fails

Closes BLERP-897

See merge request espressif/esp-idf!32411
2024-08-05 19:51:54 +08:00
chenjianhua
800f360cc3 feat(bt/bluedroid): Add print and assert when failed to alloc memory 2024-08-05 16:18:41 +08:00
Rahul Tank
15dbfa8a5b feat(nimble): Add extra handling for set data len packet event 2024-08-05 11:05:27 +05:30
zwl
ca5cb23095 fix: fixed directed adv can't be conneted when adv filter is 0x2 on ESP32C2 2024-08-02 16:34:21 +08:00
zwl
556264dcad fix: fixed occasional wdt issue in multi-connection scenarios on ESP32H2 2024-08-02 16:34:21 +08:00
Rahul Tank
a6f90b5a02 fix(nimble): Modify Advertising Tx power levels 2024-08-02 11:24:56 +05:30
Rahul Tank
d663a27053 Merge branch 'bugfix/add_return_value_to_rpa_to_api' into 'master'
fix(nimble): Add return value to RPA Timeout API

See merge request espressif/esp-idf!32312
2024-08-01 20:21:50 +08:00
Island
c1e875fd38 Merge branch 'feat/support_enhanced_tx_power_on_esp32c3' into 'master'
Support enhanced BLE TX power setting and getting on ESP32C3

Closes BLERP-881 and BLERP-882

See merge request espressif/esp-idf!32289
2024-08-01 17:32:19 +08:00
luoxu
a16d90ac02 feat(ble_mesh): Support BLE Mesh lib for esp32c5 2024-08-01 14:28:36 +08:00
luoxu
bacae23734 feat(ble_mesh): Support BLE Mesh for esp32c5 2024-08-01 14:28:36 +08:00
luoxu
62e3f414a1 feat(ble_mesh): mesh lib update to aff87bf33a 2024-08-01 14:28:36 +08:00
Wang Meng Yang
d92c09a0ad Merge branch 'bugfix/baidu_sniff_disc_esp32' into 'master'
fix(bt/controller):  Fixed the issue of disconnection caused by updating the channel map in sniff mode

Closes AUD-5479

See merge request espressif/esp-idf!32007
2024-07-31 19:04:43 +08:00
Rahul Tank
7c2d3a9e3b fix(nimble): Add return value to RPA Timeout API 2024-07-31 14:41:45 +05:30
Island
24e49de66c Merge branch 'feat/save_ble_log_to_flash_0605' into 'master'
ble: save ble log to flash on ESP32C6

Closes BLERP-796, BLERP-885, BLERP-889, and BLERP-894

See merge request espressif/esp-idf!31352
2024-07-31 11:51:00 +08:00
xiongweichao
e50547f664 fix(bt/controller): Fixed disconnection issue
- Fixed the issue of disconnection caused by updating the channel map in sniff mode
2024-07-31 10:33:33 +08:00
Wang Meng Yang
f3f8618eee Merge branch 'fix/hfp_pcm_api_set' into 'master'
fix(bt/bluedroid): Add PCM configuration about pcm frame sync signal shape

Closes BT-3809

See merge request espressif/esp-idf!32265
2024-07-30 21:11:26 +08:00
Wang Mengyang
fd4f4a2fa0 fix(bt): Fix heap corruption in the call of esp_bt_mem_release on ESP32
Closes https://github.com/espressif/esp-idf/issues/14263
2024-07-30 19:29:03 +08:00
Wang Mengyang
ced444e49c change(bt): Perform comprehensive heap check in test_app for memory release 2024-07-30 19:29:03 +08:00
Island
d371677736 Merge branch 'bugfix/fix_ble_gattc_app_unregister' into 'master'
Bugfix/fix ble gattc app unregister

Closes BLERP-896

See merge request espressif/esp-idf!32405
2024-07-30 17:59:31 +08:00
zhanghaipeng
d703799356 fix(ble/bluedroid): Fix incorrect state issue when unregistering BLE GATTC application 2024-07-30 11:47:26 +08:00
chenqingqing
4e8dcf5753 fix(bt/bluedroid): Add PCM configuration about pcm frame sync signal shape 2024-07-29 19:51:37 +08:00
luoxu
b0367f5f2f feat(ble_mesh): disable some models by default 2024-07-29 16:02:36 +08:00
chenjianhua
1ba831b0e2 feat(bt/bluedroid): Report HCI error code to app when command fails 2024-07-29 15:23:14 +08:00
zwl
e4922b9629 fix(ble): fixed tx memory leak issue when controller disable 2024-07-26 14:29:39 +08:00
zwl
d62f1d3d43 fix(ble): fixed wdt issue when print key controller info on ESP32-C6 and ESP32-H2 2024-07-26 14:26:42 +08:00
zwl
959d649126 feat(bluetooth/controller): support switching log output mode on ESP32-C2 2024-07-26 14:26:42 +08:00
zwl
3e13e70290 feat(bluetooth/controller): support switching log output mode on ESP32-C6 and ESP32-H2 2024-07-26 14:26:42 +08:00
zwl
ca6bb9e60b feat(bluetooth/controller): storage ble controller log to flash on ESP32C2 2024-07-26 14:26:42 +08:00
zwl
60e6a6116f feat(bluetooth/controller): storage ble controller log to flash on ESP32C6 and ESP32H2 2024-07-26 14:26:42 +08:00
Rahul Tank
bd7be6a147 fix(nimble): Zero initialize variable to avoid garbage value 2024-07-26 09:38:40 +05:30
Island
f6c42041a4 Merge branch 'feature/support_ble_for_esp32c5' into 'master'
Feature/support ble for esp32c5

See merge request espressif/esp-idf!32162
2024-07-24 11:53:11 +08:00
Island
b24dd77bd1 Merge branch 'bugfix/fix_bci_422' into 'master'
fix(bt/bluedroid): Fixed BLE create conn cancel when conn already exist

Closes BLERP-857

See merge request espressif/esp-idf!31730
2024-07-24 10:27:27 +08:00
Island
2c44bb711e Merge branch 'bugfix/fix_ble_cannot_create_conn' into 'master'
fix(ble/bluedroid): Fixed BLE cannot create connection

Closes BLERP-865

See merge request espressif/esp-idf!32170
2024-07-24 09:48:46 +08:00
chenjianhua
6962bca5fa fix(bt/bluedroid): Fixed BLE create conn cancel when conn already exist 2024-07-23 20:31:43 +08:00
Shen Weilong
777b48a494 feat(ble): support ble on esp32c5 2024-07-23 20:12:43 +08:00
chenjianhua
6c2fc9da53 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(4e58df9)
- Support enhanced BLE TX power setting and getting
2024-07-23 16:22:26 +08:00
Island
ce12f4106d Merge branch 'feat/support_mesh_duplicate_with_extend_scan' into 'master'
feat(bt/controller): support mesh duplicate with extend scan

Closes BLERP-868

See merge request espressif/esp-idf!32203
2024-07-22 17:34:24 +08:00