Commit Graph

3555 Commits

Author SHA1 Message Date
liqigan
970029c2f4 fix(bt/bluedroid): Fix HID Device connection failed bug
Closes https://github.com/espressif/esp-idf/issues/13671
2024-05-20 10:44:29 +08:00
liqigan
cf2bd8029d 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-05-20 10:44:29 +08:00
Island
bd5335f7d3 Merge branch 'feat/optimzie_ble_ctrl_memory_v5.1' into 'release/v5.1'
ble: support only legacy adv and slave function on esp32c2 (v5.1)

See merge request espressif/esp-idf!30335
2024-05-17 10:31:25 +08:00
Jiang Jiang Jian
6d228dc010 Merge branch 'feat/sleep_retention_depends_power_state_management_v5.1' into 'release/v5.1'
backport v5.1: sleep retention multiple modules initialization and dependency management

See merge request espressif/esp-idf!30374
2024-05-17 10:24:18 +08:00
zwl
4647a47a17 ble: fixed some issues on ESP32C6 and ESP32H2 2024-05-16 17:46:18 +08:00
Rahul Tank
0d5d7413cf Merge branch 'feature/get_local_used_addr_v5.1' into 'release/v5.1'
feat(nimble): Added API to get local used address (v5.1)

See merge request espressif/esp-idf!30758
2024-05-16 17:39:42 +08:00
Jiang Jiang Jian
8071b02318 Merge branch 'fix/assert_1024_in_rwbt_isr_v5.1' into 'release/v5.1'
fix(bt/ble): fix some issues in bluetooth controller(backport v5.1)

See merge request espressif/esp-idf!30815
2024-05-16 16:44:29 +08:00
Abhinav Kudnar
7a7aeff0c9 feat(nimble): Added API to get local used address 2024-05-16 09:50:04 +05:30
Rahul Tank
a86e6ea6e9 Merge branch 'doc/update_readme_enc_adv_v5.1' into 'release/v5.1'
docs(nimble): Added chip information in enc_adv example README file (v5.1)

See merge request espressif/esp-idf!30775
2024-05-16 12:12:02 +08:00
Rahul Tank
82b9984816 Merge branch 'bugix/avoid_reset_extract_cb_v5.1' into 'release/v5.1'
fix(nimble): Avoid slave instance reset inside extract_cb (v5.1)

See merge request espressif/esp-idf!30489
2024-05-16 12:01:57 +08:00
Rahul Tank
8abb343778 docs(nimble): Added chip information in ble_enc_adv README file 2024-05-15 15:32:55 +05:30
Rahul Tank
8cf7043e28 Merge branch 'bugfix/disable_mbedtls_options_v5.1' into 'release/v5.1'
fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used (v5.1)

See merge request espressif/esp-idf!30620
2024-05-15 14:17:56 +08:00
Rahul Tank
d72ba104ca fix(nimble): Create separate API to only extract cb info 2024-05-15 11:06:10 +05:30
Li Shuai
2f7a2e0965 change(bt): use new retention api to implement BT mac and bb retention 2024-05-14 19:34:37 +08:00
gongyantao
090a7755cc fix(bt/ble): fix some issues in bluetooth controller
1: fix assert 1024 issue when bt tx and wifi coexist on esp32
2: fix ble scan backoff
3: parse out the correct packet types from host parameters for
   hci command hci_enhanced_setup_synchronous_connection
2024-05-14 10:04:42 +08:00
zwl
45b9ccfb1f ble: optimize bt cmakelists.txt file 2024-05-13 17:49:35 +08:00
zwl
5e2679a02f ble: support only legacy adv and slave function on esp32c2 2024-05-13 17:49:35 +08:00
Rahul Tank
9ac8768650 fix(nimble): Free controller memory if init fails 2024-05-13 12:00:16 +05:30
Island
cb98558051 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BT and BLE bugs 2404 (backport v5.1)

See merge request espressif/esp-idf!30784
2024-05-13 14:01:24 +08:00
Rahul Tank
7ad7f84f0f Merge branch 'bugfix/fix_ble_issues_5.1' into 'release/v5.1'
fix(nimble): Bugfix/fix ble issues 5.1

See merge request espressif/esp-idf!30246
2024-05-13 13:55:15 +08:00
Jiang Jiang Jian
a79bd17e39 Merge branch 'bugfix/bt_bss_in_extram_v5.1' into 'release/v5.1'
fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled(backport v5.1)

See merge request espressif/esp-idf!30636
2024-05-13 11:01:50 +08:00
Jiang Jiang Jian
af5579d3f2 Merge branch 'bugfix/hf_local_param_null_v5.1' into 'release/v5.1'
fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway (v5.1)

See merge request espressif/esp-idf!30441
2024-05-13 11:00:04 +08:00
Jiang Jiang Jian
80de3e63a9 Merge branch 'bugfix/fix_ble_appearance_v5.1' into 'release/v5.1'
Fixed BLE appearance category ranges (v5.1)

See merge request espressif/esp-idf!30286
2024-05-13 10:43:05 +08:00
Jiang Jiang Jian
eb639cd917 Merge branch 'bugfix/ble_mesh_heartbeat_filter_add_v5.1' into 'release/v5.1'
Fix(ble_mesh):fix error condition for heartbeat filter adding node address (v5.1)

See merge request espressif/esp-idf!29987
2024-05-13 10:38:27 +08:00
Jiang Jiang Jian
ffbb69e9d5 Merge branch 'change/add_convt_from_hci_state_to_esp_state_v5.1' into 'release/v5.1'
change(bt/bluedroid): Use BTC util to convert HCI status to ESP status (v5.1)

See merge request espressif/esp-idf!29922
2024-05-13 10:37:35 +08:00
Wang Meng Yang
7f127429d3 Merge branch 'bugfix/sdp_remove_record_no_evt_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed the crash caused by using illegal pointers during SDP deinit(v5.1)

See merge request espressif/esp-idf!29943
2024-05-13 10:18:47 +08:00
Wang Meng Yang
5056683c0a Merge branch 'feature/add_api_to_send_vendor_hci_cmd_v5.1' into 'release/v5.1'
Feature/add api to send vendor hci cmd (backport v5.1)

See merge request espressif/esp-idf!30226
2024-05-13 10:16:50 +08:00
Rahul Tank
12fd2435ea fix(nimble): Expose API to set RPA Timeout 2024-05-12 13:50:14 +05:30
Sumeet Singh
bce9b7ad4b fix(nimble): Removed code for termination upon signed write operation failure 2024-05-12 13:50:14 +05:30
Rahul Tank
e4083fd321 fix(nimble): Fix compilation issues when CCCD is set to 0 2024-05-12 13:50:14 +05:30
Rahul Tank
d7bfdee87b fix(nimble): Fix for Vulnerability CVE_2024_24746 2024-05-12 13:50:14 +05:30
Rahul Tank
fec0bb07f6 fix(nimble): Add support for data length change evt 2024-05-12 13:50:14 +05:30
Rahul Tank
28f8c9d228 fix(nimble): Fix the size of num_packets in dtm event 2024-05-12 13:50:14 +05:30
Rahul Tank
0bda7fb520 fix(nimble): Remove extra code in reattempt connection 2024-05-12 13:50:14 +05:30
Rahul Tank
d8e072fd8a fix(nimble): Change reconnection scheme 2024-05-12 13:50:14 +05:30
Rahul Tank
7ff783db6a fix(nimble): Handle auto connection flag for extended connect 2024-05-12 13:50:14 +05:30
Darshan Dobariya
26eb624879 fix(nimble): Added support for deleting the oldest bonded device across reboot 2024-05-12 13:50:14 +05:30
Roshan Bangar
a51364c76f fix(nimble): Fix compilation issues and Minor enhancements to esp_hid 2024-05-12 13:50:14 +05:30
Roshan Bangar
0e0ac035dd fix(nimble): Fixed compilation issues on disabling security 2024-05-12 13:50:14 +05:30
zhanghaipeng
db06b4ac2a feat(ble/bluedroid): Support BLE command status debug log 2024-05-11 14:40:24 +08:00
zhanghaipeng
da961e3c75 fix(ble/controller): Update esp32 bt-lib (4012cfb)
- Fixed BLE coex assert
- Fixed BLE DTM status and tx count
2024-05-11 14:40:13 +08:00
chenjianhua
c3c56b9a75 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(c23ab4c)
- Support QA test vendor HCI command and event
2024-05-11 14:38:58 +08:00
baohongde
08d3e74353 fix(ble/controller): Fixed LoadProhibited after bluetooth deinit 2024-05-11 14:38:53 +08:00
chenjianhua
fecd966e5a 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-05-11 14:38:47 +08:00
baohongde
2798e62787 feat(ble/controller): Add coexist schm for BLE 2024-05-11 14:38:40 +08:00
chenjianhua
d6df155da2 feat(bt): Update bt lib for ESP32(e314148)
- Support QA test vendor HCI command and event
2024-05-11 14:37:13 +08:00
zhanghaipeng
c6414934b0 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-05-11 14:37:06 +08:00
Jin Cheng
0cdccd57e9 fix(bt/controller): Use embedded assembly to get access to DPORT registers 2024-05-11 14:36:57 +08:00
Jiang Jiang Jian
517a27ed26 Merge branch 'fix/rd_stored_link_key_error_v5.1' into 'release/v5.1'
fix(bt): fix some issues in bt controller(backport v5.1)

See merge request espressif/esp-idf!29977
2024-05-11 11:31:39 +08:00
Rahul Tank
63ae667750 fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:21:05 +05:30
Wang Mengyang
cc0485e40d 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-05-06 16:39:46 +08:00
Wang Mengyang
d01f09044e 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-05-06 16:38:10 +08:00
Jin Cheng
c38a3544ca fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway in its initialization when dynamic memory is wnabled 2024-04-24 08:28:15 +08:00
zhanghaipeng
151976a2c2 fix(ble/bluedroid): Fixed set BLE appearance value 2024-04-17 20:40:44 +08:00
zwl
f22ac0ff82 ble: fixed an occasional assertion issue in coexistence scenarios on ESP32C2 2024-04-17 14:55:29 +08:00
zwl
e4fe67f7c2 ble: fixed the bt cmakelist error when use nimble host only 2024-04-17 14:54:54 +08:00
zhiweijian
45f5714beb fix(ble/bluedroid): Fixed adv not restart due to disconnection reason 0x3e 2024-04-13 15:41:49 +08:00
zhiweijian
cc2e293d7c feat(bt/common): Add bluerooth hci layer data stream record 2024-04-13 15:41:15 +08:00
zhiweijian
070f6b4c9a feat(bt/bluedroid): add api to setnd vendor hci command 2024-04-13 12:57:55 +08:00
zhiweijian
eefcec929e fix(ble/bluedroid): fixed bluedroid host DTM API 2024-04-13 11:47:44 +08:00
zhiweijian
fc5bd26340 feat(ble/bluedroid): Add APIs for BLE direct test mode on bluedroid host 2024-04-13 11:45:04 +08:00
Jiang Jiang Jian
dd8080e164 Merge branch 'bugfix/BT-3491_v5.1' into 'release/v5.1'
bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have...(v5.1)

See merge request espressif/esp-idf!28050
2024-04-12 10:30:49 +08:00
luoxu
a1f97563cc fix(ble_mesh): fix error condition for heartbeat filter adding node address 2024-04-11 20:24:43 +08:00
wangjialiang
8fc57142a3 update invalid links in the ble mesh example documentation 2024-04-11 20:23:50 +08:00
luoxu
ea6e8653f6 bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have already left the network. 2024-04-11 20:23:50 +08:00
xiongweichao
67137791cd fix(bt/bluedorid): Fixed crash caused by using illegal pointer 2024-04-07 19:08:41 +08:00
xiongweichao
75c0c89de3 fix(bt/bluedorid): Fixed no event when removing an invalid SDP record 2024-04-07 19:08:41 +08:00
cjin
d7c4968d3c feat(ble): add cca related config in c6, h2 and c2 2024-04-02 19:55:37 +08:00
cjin
8e140779e7 change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-02 19:55:36 +08:00
zwl
142af33ded ble: update esp32c2 lib to 7a428d35 2024-04-02 19:25:51 +08:00
zwl
056754317c ble: update esp32h2 and esp32c6 lib to 39c6e050 2024-04-02 19:25:37 +08:00
zhaoweiliang
90cf9c42d7 ble : adjust the log initialization sequence of ESP32C6 and ESP32H2 2024-04-02 19:25:10 +08:00
gongyantao
3796715228 fix(bt): fix some issues in bt controller
1: fixed the incorrect timeing in reporting HCI_Link_Key_Type_Changed.
2: fixed the incorrect iv value during resuming encryption.
3: fixed the incorrect return with hci command rd_stored_link_key.
2024-04-02 09:37:45 +08:00
Jin Cheng
1dc8ace8c7 change(bt/bluedroid): Use BTC util to convert HCI status to ESP status 2024-03-28 10:19:00 +08:00
Alexey Lapshin
4325d5c9c5 fix(bt): fix gcc 13.1.0 warnings 2024-03-18 14:55:22 +05:30
linruihao
c90f4fce9c fix(bt/controller): Fixed some bugs in esp32 bt controller
1. fixed crash issue in coexist callback
2. fixed wrong LMP message send when expect peer device increase tx power to max
2024-03-15 19:08:51 +08:00
Jin Cheng
0fcd6a7c73 feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-03-14 10:53:11 +08:00
Rahul Tank
5710425216 Merge branch 'bugfix/reconnect_host_based_v5.1' into 'release/v5.1'
fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 (v5.1)

See merge request espressif/esp-idf!29570
2024-03-13 12:55:07 +08:00
Island
9fe40d424d Merge branch 'bugfix/ble_update_lib_20240306_v5.1' into 'release/v5.1'
update lib on release/v5.1

See merge request espressif/esp-idf!29436
2024-03-13 10:18:33 +08:00
Darshan Dobariya
86ec111525 fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 2024-03-12 20:53:43 +05:30
Rahul Tank
a4916eb8a6 Merge branch 'bugfix/fix_strict_prototype_hid_v5.1' into 'release/v5.1'
fix(nimble): Address compilation errors when strict-prototype is enabled (v5.1)

See merge request espressif/esp-idf!29541
2024-03-12 23:00:59 +08:00
Rahul Tank
f93025b7f9 Merge branch 'feat/exposed_gap_service_macros_to_menuconfig_v5.1' into 'release/v5.1'
feat(nimble): Exposed macros used by GAP service to menuconfig (v5.1)

See merge request espressif/esp-idf!29505
2024-03-12 12:22:23 +08:00
Jiang Jiang Jian
b0fb3bbe01 Merge branch 'bugfix/fix_some_ble_bugs_240310_v5.1' into 'release/v5.1'
Bugfix/fix some ble bugs 240310 v5.1(backport v5.1)

See merge request espressif/esp-idf!29518
2024-03-12 10:56:25 +08:00
Jiang Jiang Jian
8519d3c509 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BLE bugs 2403 (backport v5.1)

See merge request espressif/esp-idf!29466
2024-03-12 10:54:06 +08:00
Rahul Tank
dc384fcb4d Merge branch 'bugfix/gap_connect_failed_with_0x0d_v5.1' into 'release/v5.1'
fix(nimble): Revise the help section for the Kconfig macro BLE_RPA_TIMEOUT (v5.1)

See merge request espressif/esp-idf!29493
2024-03-11 23:10:55 +08:00
Rahul Tank
9ddaaca46d Merge branch 'bugfix/add_esp_timer_get_expiry_time_v5.1' into 'release/v5.1'
fix(nimble): Add support for esp_timer_get_expiry_time to nimble porting layer (v5.1)

See merge request espressif/esp-idf!29463
2024-03-11 22:36:26 +08:00
Rahul Tank
e78e9a9558 Merge branch 'bugfix/expose_baud_rate_in_menu_v5.1' into 'release/v5.1'
fix(nimble): Exposed the baud rate for hci uart in menuconfig (v5.1)

See merge request espressif/esp-idf!29489
2024-03-11 20:09:45 +08:00
Sumeet Singh
74e3970cfe feat(nimble): Exposed macros used by GAP service to menuconfig (v5.1) 2024-03-11 17:25:30 +05:30
Rahul Tank
ab7708bdee fix(nimble): Address compilation errors when strict-prototype is enabled 2024-03-11 17:22:13 +05:30
chenjianhua
b5425ffa5c feat(bt/bluedroid): Add ext adv and privacy status check 2024-03-11 18:03:26 +08:00
thekurtovic
2fc2876109 fix(bt/bluedroid): Fixed "reprot" typo in esp_ble_gap_ext_adv_reprot_t 2024-03-11 18:03:26 +08:00
Joshua
dc63404d06 fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation) 2024-03-11 18:03:26 +08:00
chenjianhua
7d197cfd0d fix(bt/bluedroid): Fixed crash when calculating GATTS database hash 2024-03-11 18:03:26 +08:00
chenjianhua
c2528a0eff fix(bt): Update bt lib for ESP32(5ea2fca)
- Fixed HCI command status event sending for disconnect command
- Fixed LE transmitter test command param check
2024-03-11 18:03:26 +08:00
Jin Cheng
91589676fc fix(bt/controller): Fixed 3 esp32 bt controller bugs
update esp32 bt-lib (952debf4)

1. Increased the length of queue for coexist requestions
2. fix(bt/controller): Cleared BT SNIFF when no connections exists
3. fix(bt/controller): Corrected a typo in coex module
2024-03-11 18:03:26 +08:00
chenjianhua
b098010c1e fix(bt): Update bt lib for ESP32(2de69f3)
- Fixed HCI command status event send when LLCP busy
2024-03-11 18:03:26 +08:00
zhanghaipeng
672775bc17 fix(ble/bluedroid): Fixed BLE BLE periodic advertising parameter check 2024-03-11 18:01:27 +08:00
zhanghaipeng
2e34e6c02c fix(ble/bluedroid): Fixed BLE crash when repeatedly initialize and deinitialize host 2024-03-11 18:01:27 +08:00
zwl
78c72ca62b ble(update):
Update h2 lib to d0218de8
Update c6 lib to d0218de8
2024-03-11 15:49:59 +08:00
Rahul Tank
9b32ce4903 fix(nimble): Add support for esp_timer_get_expiry_time to nimble porting layer 2024-03-11 12:58:27 +05:30