4011 Commits

Author SHA1 Message Date
Jiang Jiang Jian
14f6943f30 Merge branch 'bugfix/osi_replace_free_v5.3' into 'release/v5.3'
fix(bt/bluedroid): Replace free/malloc with osi_free/malloc(v5.3)

See merge request espressif/esp-idf!34606
2024-11-14 18:58:57 +08:00
Island
7cd3d4a97f Merge branch 'feature/support_moving_code_to_flash_v5.3' into 'release/v5.3'
feat(ble): Support for putting code in flash on ESP32-C2 (v5.3)

See merge request espressif/esp-idf!34785
2024-11-14 11:46:39 +08:00
Island
d22ed3fc0d Merge branch 'bugfix/fix_some_ble_bugs_240926_esp32_v5.3' into 'release/v5.3'
Fixed some BLE bugs 240926 on ESP32 (v5.3)

See merge request espressif/esp-idf!34553
2024-11-13 14:21:46 +08:00
Island
6948697e66 Merge branch 'feat/support_blecrt_90_v5.3' into 'release/v5.3'
feat(bt/bluedroid): Added API to set supported channel selection algorithm (v5.3)

See merge request espressif/esp-idf!34505
2024-11-13 14:21:40 +08:00
Island
951aaa2a9a Merge branch 'bugfix/fix_ble_adv_start_fail_v5.3' into 'release/v5.3'
fix(ble/bluedroid): Fixed crash issue in BLE SMP when a disconnection process is ongoing(v5.3)

See merge request espressif/esp-idf!34528
2024-11-13 14:21:21 +08:00
Island
845a925def Merge branch 'bugfix/fix_ble_build_fail_v5.3' into 'release/v5.3'
fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0 (v5.3)

See merge request espressif/esp-idf!34664
2024-11-13 14:21:15 +08:00
Island
dc1265c6eb Merge branch 'bugfix/fixed_h2_assert_master_1031_v5.3' into 'release/v5.3'
Bugfix/fixed h2 assert master 1031 (v5.3)

See merge request espressif/esp-idf!34540
2024-11-13 14:20:54 +08:00
Shen Weilong
6e4b35ac4a feat(ble): Support for putting code in flash on ESP32-C2 2024-11-11 17:52:15 +08:00
zhiweijian
ac81c14b48 feat(bt/controller): Support controller code run in flash only 2024-11-08 17:28:52 +08:00
Chen Jian Hua
6fdc9ae60f fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(52ee788)
- Fixed BLE vendor HCI set and get tx power
- Support BLE vendor HCI set adv aux offset command
- Support BLE vendor HCI set CSA support command
- Added config for BLE instant passed workaround
- Fixed btdm_sleep_clock_sync timeout workaround


(cherry picked from commit 1e3220b0b084ce0363e8268d6d1cf9d20fa07a59)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-11-08 17:28:52 +08:00
gongyantao
0448a53c66 fix(bt): fix some issues in bt controller
1: Store local device name into NVDS when handling hci_wr_local_name_cmd.
2: Set default device name during link manager initialization.
3: Set the QoS value to the minimum value if the calculated QoS is less
   than the minumum.
2024-11-08 14:33:11 +08:00
zhanghaipeng
90a723f7b5 fix(bt/ble): Update esp32 libbtdm_app.a (17db8bd)
- Added a verification step for the Access Address within the CONNECT_IND PDU
2024-11-08 14:33:02 +08:00
Chen Jian Hua
f36d81a62c fix(bt): Update bt lib for ESP32(a2a7457)
- Fixed assert in ke_mem.c at line 409 when controller reset
- Added config for BLE instant passed workaround
- Fixed connection can't be established when initiating and advertising coexist


(cherry picked from commit 2b28133ace9ff00592ef0a34d5b17913569cafb3)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-11-08 14:32:44 +08:00
Zhang Hai Peng
7a4d10b718 fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0
(cherry picked from commit 94d1a4f1c009031c7623153b885f1f75b39b4555)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-11-05 16:13:46 +08:00
xiongweichao
68b16aa2ba fix(bt/bluedroid): Replace free/malloc with osi_free/malloc 2024-11-01 17:49:39 +08:00
linruihao
a987953341 fix(bt/bluedroid): Fix memory leak in sco when bluedroid disable 2024-11-01 10:42:48 +08:00
zwl
f808a705b8 fix(ble): fixed occasional crash issue in low memory scenarios on ESP32-C6 2024-10-31 11:34:09 +08:00
Zhao Wei Liang
c9b55d1542 fix(ble): fixed occasional crash issue in low memory scenarios on ESP32-H2
(cherry picked from commit dbad6a0ca5430ff79f8339de8ca6236255b9c5c4)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-10-31 11:23:50 +08:00
Zhang Hai Peng
4f707f0c12 fix(ble/bluedroid): Fixed crash issue in BLE SMP when a disconnection process is ongoing
(cherry picked from commit 76e1650161a019bca22c2855ab37f11608f130bd)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-30 15:24:52 +08:00
Zhang Hai Peng
bc1b6e2bf1 fix(ble/bluedroid): Support enable BLE topology check by API
(cherry picked from commit dbc94c70562ad1f9734424a8cf20787d72d37a3d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-30 15:24:37 +08:00
chenjianhua
116820c42c fix(bt/bluedroid): Fixed error when memory debug enabled 2024-10-29 21:49:53 +08:00
chenjianhua
5e383d34fa fix(bt/bluedroid): Fixed GATTC app status check when BT and BLE coexist 2024-10-29 21:49:44 +08:00
chenjianhua
116e5c34f6 fix(bt/bluedroid): Update address type for BLE link when the connection is completed 2024-10-29 21:49:28 +08:00
Chen Jian Hua
149474e5d2 feat(bt/bluedroid): Added API to set supported channel selection algorithm
(cherry picked from commit 4ae7b4aecf473b96113284b096e5f1b95f2f4b2e)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-10-29 17:35:26 +08:00
Jiang Jiang Jian
9f4b1bd471 Merge branch 'bugfix/hfp_sniff_mng_v5.3' into 'release/v5.3'
bugfix/hf_and_ag_cannot_enter/exit sniff mode. (v5.3)

See merge request espressif/esp-idf!34464
2024-10-28 21:46:21 +08:00
Jiang Jiang Jian
eb4186dc97 Merge branch 'bugfix/update_btlib_v5.3' into 'release/v5.3'
fix(bt/controller): Fixed some controller bugs on ESP32 (v5.3)

See merge request espressif/esp-idf!34463
2024-10-28 21:09:50 +08:00
Island
425db8e135 Merge branch 'bugfix/fix_assert_if_ble_sleep_init_failed_v5.3' into 'release/v5.3'
fix(ble): do not assert if ble sleep init failed (v5.3)

See merge request espressif/esp-idf!34427
2024-10-28 11:55:31 +08:00
Island
d926a9259b Merge branch 'refactor/ble_example_print_on_bluedroid_v5.3' into 'release/v5.3'
refactor(bt/bluedroid): Refactor the print for BLE examples (v5.3)

See merge request espressif/esp-idf!34310
2024-10-28 10:52:54 +08:00
Jin Cheng
c42c11ec4d fix(bt/controller): Fixed some controller bugs on ESP32
- Fixed access NULL in SCO frame end
      Closes https://jira.espressif.com:8443/browse/IDFGH-10796
    - Added LAP checking for Periodic Inquiry
    - Removed an inproper assertion in SCO module
    - Fixed wrong logic in key exchange when
      LMP transaction collision occurred
    - Fixed the using of wrong error code in
      the transaction collision of role switch
2024-10-28 10:26:45 +08:00
Jin Cheng
2a603083d0 fix(bt/bluedroid): fixed AG and HF client cannot enter/exit sniff mode 2024-10-28 10:20:34 +08:00
Jin Cheng
ca3618c433 Revert "Disable sniff mode during (e)SCO connection."
This reverts commit 39a5eb84f3c6e48cce8cecd25927ad6b1e0fe383.
2024-10-28 10:20:34 +08:00
Jiang Jiang Jian
5bb5407dc6 Merge branch 'feat/support_32k_osc_ble_sleep_clk_v5.3' into 'release/v5.3'
feat(ble): Support using 32k oscillator as Bluetooth sleep clock(v5.3)

See merge request espressif/esp-idf!33996
2024-10-28 09:41:03 +08:00
Jiang Jiang Jian
93ce86a309 Merge branch 'feat/support_enable_ble_hci_log_by_api_v5.3' into 'release/v5.3'
feat(ble/bluedroid): Support enable BLE hci log by API (v5.3)

See merge request espressif/esp-idf!34424
2024-10-25 17:47:30 +08:00
Jiang Jiang Jian
89bf068df2 Merge branch 'bugfix/fix_ble_robust_feature_v5.3' into 'release/v5.3'
fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic (v5.3)

See merge request espressif/esp-idf!34247
2024-10-25 17:46:26 +08:00
xiongweichao
2b30323a2b feat(ble): Support using 32k oscillator as Bluetooth sleep clock 2024-10-25 17:25:18 +08:00
cjin
e3cbe53fa3 fix(ble): do not assert if ble sleep init failed 2024-10-25 10:54:35 +08:00
Zhang Hai Peng
8fbf8820f1 feat(ble/bluedroid): Support enable BLE hci log by API
(cherry picked from commit 15c895fc6a41a9df43b1798c92960994c407eb58)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-24 20:13:28 +08:00
chenjianhua
f6bedd65b6 refactor(bt/bluedroid): Refactor the print for gatt_server and gatt_client example 2024-10-24 12:03:56 +08:00
Rahul Tank
aa7802ee6a fix(nimble): Adjust Data len time in case BLE 5.0 support is not present 2024-10-23 11:15:55 +05:30
Zhang Hai Peng
9461323fda fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic
(cherry picked from commit 5126742003f8eb5c10648679393c500d3a66009a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-21 18:03:27 +08:00
Jiang Jiang Jian
3ecc5e451f Merge branch 'bugfix/wifi_bt_coex_crash_v5.3' into 'release/v5.3'
fix(nimble): Fix the sequence of ll and host transport init (v5.3)

See merge request espressif/esp-idf!33961
2024-10-17 10:40:50 +08:00
Zhang Hai Peng
b031e0b672 fix(ble/bluedroid): Fixed BLE handle check for GATT API
(cherry picked from commit 514155de3b0c44bf9c3b00c31f64b3b40bc36c83)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-10 21:13:28 +08:00
Island
ded2989a73 Merge branch 'feat/ble_mesh_v1.1_feat_disable_support_v5.3' into 'release/v5.3'
feat(ble_mesh): esp ble mesh v1.1 features enable/disable supported (v5.3)

See merge request espressif/esp-idf!33779
2024-10-10 10:19:09 +08:00
Island
88030d4832 Merge branch 'bugfix/fix_bleqabr24_1282_v5.3' into 'release/v5.3'
Fixed BLE scanning and initiating coexist on ESP32 (v5.3)

See merge request espressif/esp-idf!33834
2024-10-09 17:19:30 +08:00
Island
7531d7e853 Merge branch 'bugfix/fix_bci_443_v5.3' into 'release/v5.3'
fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC (v5.3)

See merge request espressif/esp-idf!33893
2024-10-09 17:19:04 +08:00
Zhang Hai Peng
b6cbf1a026 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(01cc408)
- Fixed extended connectable advertising data length check


(cherry picked from commit 8a80675b7c05d613b3e9a7126a0049458b589db2)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-08 15:13:40 +08:00
luoxu
41be5e929e feat(ble_mesh): esp ble mesh v1.1 features enable/disable supported 2024-10-08 15:05:24 +08:00
Abhinav Kudnar
4337e634c6 fix(nimble): Fix the sequence of ll and host transport init 2024-10-03 15:33:04 +08:00
Wang Meng Yang
6df7db673e Merge branch 'feat/add_mode_chg_parem_v5.3' into 'release/v5.3'
feat(bt/bluedroid): Report sniff interval to application layer(v5.3)

See merge request espressif/esp-idf!33865
2024-09-29 14:03:31 +08:00
Chen Jian Hua
8fa51aa1b5 fix(bt/controller): Fixed ble get tx power error
(cherry picked from commit 4108a5cc4cb96039ed861703dda06f7f3a5969c3)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-27 18:33:45 +08:00