Commit Graph

571 Commits

Author SHA1 Message Date
Zhang Hai Peng
00f6929123 fix(blufi): Fixed blufi init fail after deinit
(cherry picked from commit 7addb57ccd)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-12-09 17:45:19 +08:00
Island
29013b4263 Merge branch 'bugfix/fix_ble_creat_conn_fail_enh_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Fixed BLE create connection fail because of invalid own address type (v5.0)

See merge request espressif/esp-idf!35015
2024-12-06 15:49:32 +08:00
Jiang Jiang Jian
1f5789e649 Merge branch 'fix/duplicated_enc_restart_request_when_change_key_type_v5.0' into 'release/v5.0'
fix(bt): fixed some issues in esp32 bt controller(backport v5.0)

See merge request espressif/esp-idf!35298
2024-12-04 19:21:47 +08:00
Jiang Jiang Jian
e4c871935a Merge branch 'bugfix/fix_ble_ke_mem_267_assert_v5.0' into 'release/v5.0'
fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3(backport v5.0)

See merge request espressif/esp-idf!35341
2024-12-04 11:11:05 +08:00
Jiang Jiang Jian
8642718288 Merge branch 'bugfix/fix_c2_light_sleep_coex_v5.0' into 'release/v5.0'
fix(ble): fix ble light sleep error on esp32c2 (v5.0)

See merge request espressif/esp-idf!35052
2024-12-04 11:09:52 +08:00
chenjianhua
4fa7610be8 feat(ble/bluedroid): Support setting connection params when creating connection 2024-12-03 18:05:12 +08:00
zhiweijian
5d8f11ac84 fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3 2024-12-02 16:23:34 +08:00
gongyantao
21df54c917 fix(bt): fixed some issues in esp32 bt controller
1: fix duplicated lc_enc_restart_req when new lk type is semi-permanent
   key
2: reset PreventEncEvt flag at the end of restart encryption procedure
2024-11-29 14:13:23 +08:00
Jin Chen
219244ffaa fix(ble): fix ble light sleep error on esp32c2
(cherry picked from commit 23f7e33a97)

Co-authored-by: cjin <jinchen@espressif.com>
2024-11-25 21:03:50 +08:00
Chen Jian Hua
7498ce744d fix(bt): Update bt lib for ESP32(c3082c4)
- Fixed BLE creating connection when the connection already exists


(cherry picked from commit cada39c3b5)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-11-25 00:05:12 +08:00
Jin Cheng
a5d2d906ad fix(bt/controller): Fixed some controller bugs on ESP32
- Fixed wrong logic in handling sniff transaction collision at slave
      side
    - Fixed the issue ACL is stopped too early before eSCO
2024-11-15 11:47:17 +08:00
Island
240dd4fb8d Merge branch 'feature/support_moving_code_to_flash_v5.0' into 'release/v5.0'
feat(ble): Support for putting code in flash on ESP32-C2 (v5.0)

See merge request espressif/esp-idf!34782
2024-11-14 10:09:21 +08:00
Island
c0d14dabfc Merge branch 'bugfix/fix_some_ble_bugs_240926_esp32_v5.0' into 'release/v5.0'
Fixed some BLE bugs 240926 on ESP32 (v5.0)

See merge request espressif/esp-idf!34550
2024-11-13 12:05:11 +08:00
Shen Weilong
c3290dfd6b feat(ble): Support for putting code in flash on ESP32-C2 2024-11-11 17:38:13 +08:00
Island
48cb8520b4 Merge branch 'feat/support_controller_run_in_flash_only_v5.0' into 'release/v5.0'
feat(bt/controller): Support controller code run in flash only (backport v5.0)

See merge request espressif/esp-idf!34696
2024-11-11 14:21:42 +08:00
gongyantao
d09167aab4 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:26:35 +08:00
zhanghaipeng
fe6d4ebe1e 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:26:15 +08:00
chenjianhua
ec7ff931c3 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
2024-11-08 14:24:54 +08:00
Jin Cheng
ccb482a38d 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-11-06 19:38:22 +08:00
zhiweijian
81c56354fb feat(bt/controller): Support controller code run in flash only 2024-11-06 14:24:28 +08:00
Chen Jian Hua
2d0c9d1837 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 1e3220b0b0)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-10-31 15:33:43 +08:00
xiongweichao
cf0261a903 feat(ble): Support using 32k oscillator as Bluetooth sleep clock 2024-10-10 11:28:16 +08:00
Island
b980af1ce9 Merge branch 'bugfix/fix_bleqabr24_1282_v5.0' into 'release/v5.0'
Fixed BLE scanning and initiating coexist on ESP32 (v5.0)

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

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


(cherry picked from commit 8a80675b7c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-08 15:13:18 +08:00
Chen Jian Hua
f512f059ea fix(bt/controller): Fixed ble get tx power error
(cherry picked from commit 4108a5cc4c)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-27 18:33:18 +08:00
Chen Jian Hua
5bf4347ad9 fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC
(cherry picked from commit 873708579c)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-27 18:33:16 +08:00
zhanghaipeng
7207816a3f feat(ble/controller): Display BLE controller init status for ESP32 and ESP32C3/S3 2024-09-27 15:52:49 +08:00
Chen Jian Hua
4d97cc84b1 fix(bt): Update bt lib for ESP32(3bf7ef0)
- Fixed BLE scanning and initiating coexist


(cherry picked from commit 241b90f3f0)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-26 10:33:18 +08:00
zhanghaipeng
dd2809f4ad fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(63eb54d)
- Fixed issue where RPA is not updated after BLE RPA timeout
2024-09-23 13:31:13 +08:00
Zhang Hai Peng
0badb8863e fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(e9ae856)
- Fixed BLE scan assert in lld_scan.c 1728


(cherry picked from commit 32c7694f56)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-09-23 11:13:14 +08:00
Jiang Jiang Jian
2d02e60d7d Merge branch 'bugfix/fix_missing_per_adv_sync_est_evt_v5.0' into 'release/v5.0'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(c66a703) (Backport v5.0)

See merge request espressif/esp-idf!33454
2024-09-21 15:02:29 +08:00
Jiang Jiang Jian
b2dae87114 Merge branch 'bugfix/fix_ble_max_tx_power_on_esp32c3_v5.0' into 'release/v5.0'
fix(bt/controller): Change the max TX power to +20dBm on ESP32-C3 and ESP32-S3 (v5.0)

See merge request espressif/esp-idf!33614
2024-09-21 15:02:04 +08:00
Chen Jian Hua
fc754b2033 fix(bt/controller): Change the max TX power to +20dBm on ESP32-C3 and ESP32-S3
(cherry picked from commit fe43c8f1b5)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-18 17:34:13 +08:00
Zhao Wei Liang
5f172ab251 fix(ble): fixed occasional assertion issue when enabling logging on ESP32-C2
(cherry picked from commit 0ef9ecb715)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2024-09-18 15:57:31 +08:00
linruihao
32545d7edb fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(c66a703)
- Fixed missing sync established event after canceling sync
2024-09-11 17:25:51 +08:00
Island
f082886099 Merge branch 'bugfix/fix_some_ble_bugs_240826_v5.0' into 'release/v5.0'
Fixed some BLE bugs 240826 on ESP32C3 (8ce789b) (v5.0)

See merge request espressif/esp-idf!33392
2024-09-10 11:37:54 +08:00
chenjianhua
de2631fc9e fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(8ce789b)
- Fixed BLE vendor HCI set scan perfer address command
- Support BLE vendor HCI get controller compile version command
- Fixed BLE util buffer free after controller reset
- Fixed assert when connection already exist and be connected again
2024-09-09 11:35:36 +08:00
chenjianhua
b4c98969ae feat(bt): Update esp32 bt-lib(bc393dd)
- Fixed BLE vendor HCI set scan perfer address command
- Support BLE vendor HCI get controller compile version command
- Support BLE scanning and initiating coexist
2024-09-09 11:30:52 +08:00
cjin
4d53bda333 feat(ble): add internal api to change ble slow clock source 2024-08-27 15:56:25 +08:00
Island
9468f1939b Merge branch 'bugfix/fixed_c6_c2_issues_master_v5.0' into 'release/v5.0'
Bugfix/fixed c6 c2 issues master (v5.0)

See merge request espressif/esp-idf!33067
2024-08-27 10:05:19 +08:00
Jiang Jiang Jian
ef0f7f6d23 Merge branch 'bugfix/fix_ble_resolve_adv_data_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Fixed memory out-of-bounds issue when parsing adv data (v5.0)

See merge request espressif/esp-idf!33026
2024-08-26 14:49:23 +08:00
zwl
8a65b300bd fix(ble): fixed ble controller issues on ESP32-C2 2024-08-24 13:58:28 +08:00
linruihao
1882e5e6cc fix(bt/controller): Fixed bluetooth disconnect issue after modem sleep on ESP32 2024-08-23 11:01:00 +08:00
zhanghaipeng
ae186b888b feat(ble/controller): Support get BLE controller free heap size 2024-08-23 09:42:32 +08:00
Island
326316f63e Merge branch 'bugfix/fix_bleqabr24_1152_v5.0' into 'release/v5.0'
Fixed BLE vendor HCI get controller status command on ESP32 (v5.0)

See merge request espressif/esp-idf!32968
2024-08-22 16:57:13 +08:00
zwl
feb21f46b6 fix(ble): fixed blufi issue on ESP32-C2 2024-08-21 15:24:43 +08:00
chenjianhua
2eb21737f4 fix(bt): Update bt lib for ESP32(241c96c)
- Fixed BLE vendor HCI get controller status command
2024-08-20 19:31:19 +08:00
Jiang Jiang Jian
9ed93caadd Merge branch 'fix/hfp_pcm_api_set_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Add PCM configuration about pcm frame sync signal shape (backport v5.0)

See merge request espressif/esp-idf!32467
2024-08-20 11:34:27 +08:00
Jiang Jiang Jian
b54d9925fb Merge branch 'feat/save_ble_log_to_flash_0605_v5.0' into 'release/v5.0'
Feat/save ble log to flash 0605 v5.0

See merge request espressif/esp-idf!32398
2024-08-20 11:32:31 +08:00