Commit Graph

793 Commits

Author SHA1 Message Date
Wei Yu Han
6f390af3cc docs(ble): Refactored the API reference for esp32/c3/s3 BT controller 2024-12-03 11:37:18 +08:00
Wang Meng Yang
df69b78a55 Merge branch 'fix/duplicated_enc_restart_request_when_change_key_type' into 'master'
fix(bt): fix duplicated encryption restart request when change key type

Closes BTQABR2023-222

See merge request espressif/esp-idf!35230
2024-11-28 11:33:29 +08:00
chenjianhua
2d96d67b7a fix(bt/controller): Fixed hci uart example compile error on ESP32C3 2024-11-27 16:58:53 +08:00
Island
3075efd80c Merge branch 'bugfix/add_aa_check_on_esp32c2_and_esp32c6' into 'master'
Bugfix/add aa check on esp32c2 and esp32c6

Closes BLERP-1280, BLERP-1279, BLERP-1268, BLERP-1275, BLERP-1262, BLERP-1258, BLERP-1257, BLERP-1209, BLERP-1198, BLERP-1186, BLERP-1188, BLERP-1184, BLERP-1170, BLERP-1274, BLERP-1246, BLERP-1173, BLERP-1225, BLERP-1267, BLERP-1260, BLERP-1226, BLERP-1216, BLERP-1205, BLERP-1159, BLERP-1134, BLERP-1133, BLERP-1059, BLERP-1050, BLERP-1068, BLERP-1135, BLERP-1145, BLERP-1081, BLERP-1123, BLERP-1223, BLERP-1264, BLERP-1265, BLERP-1272, BLERP-1271, BLERP-1169, BLERP-1201, BLERP-1215, BLERP-1200, BLERP-1082, BLERP-1210, BLERP-1144, BLERP-1142, BLERP-1143, and BLERP-1140

See merge request espressif/esp-idf!35212
2024-11-27 15:45:37 +08:00
gongyantao
e530da777b 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-27 15:10:38 +08:00
Wang Meng Yang
e4102c5443 Merge branch 'bugfix/ctrl_bugs_on_esp32' into 'master'
fix(bt/controller): Fixed some bugs on esp32 controller

Closes COEXQABR24-34, CBI-1084, and BT-3900

See merge request espressif/esp-idf!35142
2024-11-27 14:38:03 +08:00
Zhi Wei Jian
bcfe64694d Merge branch 'bugfix/fix_ble_ke_mem_267_assert' into 'master'
fix(bt/controller): Fixed BLE assert ke_mem.c line 267

Closes BLERP-1273

See merge request espressif/esp-idf!35153
2024-11-27 14:02:14 +08:00
zwl
093b65e27c fix(ble): fixed the connect issue when rx error aa on ESP32-H2 2024-11-27 10:22:26 +08:00
zwl
69b535d422 fix(ble): fixed the connect issue when rx error aa on ESP32-C6 2024-11-27 10:22:26 +08:00
Jin Cheng
5e0a73bc56 fix(bt/controller): Fixed some bugs on esp32 controller
- Added VSC to update local Bluetooth clock
    - Added critical protection for the free method for sync buffers
    - Fixed zero attempt value set by role switch
2024-11-26 18:03:11 +08:00
chenjianhua
e5789a8ca1 feat(ble/bluedroid): Support setting connection params when creating connection 2024-11-26 12:10:27 +08:00
zhiweijian
67ac862edd fix(bt/controller): Fixed BLE assert ke_mem.c line 267 on ESP32-C3 and ESP32-S3 2024-11-25 16:38:30 +08:00
Island
d54390ec97 Merge branch 'bugfix/fix_bleqabr24_1646' into 'master'
Fixed BLE creating connection when the connection already exists on ESP32

Closes BLERP-1244 and BLERP-1253

See merge request espressif/esp-idf!34943
2024-11-22 14:29:27 +08:00
Island
4f226b4e95 Merge branch 'bugfix/fix_c2_light_sleep_coex' into 'master'
fix(ble): fix ble light sleep error on esp32c2

Closes BT-3902 and WIFIBUG-672

See merge request espressif/esp-idf!35020
2024-11-21 19:16:18 +08:00
Zhang Hai Peng
ed61b22e6a Merge branch 'bugfix/fix_ble_init_fail' into 'master'
fix(blufi): Fixed blufi init fail after deinit

Closes IDFGH-14085

See merge request espressif/esp-idf!35034
2024-11-21 11:04:53 +08:00
zhanghaipeng
7addb57ccd fix(blufi): Fixed blufi init fail after deinit 2024-11-20 16:36:09 +08:00
chenjianhua
cada39c3b5 fix(bt): Update bt lib for ESP32(c3082c4)
- Fixed BLE creating connection when the connection already exists
2024-11-19 17:39:00 +08:00
cjin
23f7e33a97 fix(ble): fix ble light sleep error on esp32c2 2024-11-19 14:19:23 +08:00
Li Shuai
8eea8a8ef3 change(esp_hw_support): update some modules sleep retention init dependency bitmap 2024-11-18 15:40:47 +08:00
Gao Xu
bbcfb35d67 Merge branch 'feat/h21_introduce_step1_target' into 'master'
feat(esp32h21): introduce target esp32h21 (stage 1/8) 😐

See merge request espressif/esp-idf!34542
2024-11-14 10:46:44 +08:00
Shen Weilong
ccc2411191 feat(ble): Support for putting code in flash on ESP32-C2 2024-11-12 18:08:50 +08:00
gaoxu
64bbb53b8f feat(esp32h21): introduce target esp32h21(stage 1) 2024-11-12 15:42:27 +08:00
Jin Cheng
cfdefd3e03 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-08 12:53:56 +08:00
Island
1f49c9a845 Merge branch 'bugfix/fixed_h2_assert_master_1031' into 'master'
Bugfix/fixed h2 assert master 1031

Closes BLERP-1172

See merge request espressif/esp-idf!34537
2024-11-06 15:06:41 +08:00
Wang Meng Yang
203e5432a9 Merge branch 'fix/set_local_device_name_during_lm_initializaiton' into 'master'
fix(bt): fixed some issues in bt controller on ESP32

Closes BT-3871 and CBI-864

See merge request espressif/esp-idf!34066
2024-10-31 19:39:05 +08:00
Island
92e4b80a65 Merge branch 'feat/support_controller_run_in_flash_only' into 'master'
Feat/support controller run in flash only

Closes BLERP-1164, BLERP-1165, and BLERP-1174

See merge request espressif/esp-idf!33290
2024-10-31 15:15:01 +08:00
gongyantao
034a35a66f 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-10-31 14:50:09 +08:00
zwl
dbad6a0ca5 fix(ble): fixed occasional crash issue in low memory scenarios on ESP32-H2 2024-10-31 11:16:17 +08:00
zwl
dabd66e16f fix(ble): fixed occasional crash issue in low memory scenarios on ESP32-C6 2024-10-31 11:14:13 +08:00
zhiweijian
4b767d03fe feat(bt/controller): Support controller code run in flash only 2024-10-30 10:05:39 +08:00
zhanghaipeng
8f7672e117 fix(bt/ble): Update esp32 libbtdm_app.a (17db8bd)
- Added a verification step for the Access Address within the CONNECT_IND PDU
2024-10-29 19:25:34 +08:00
Island
cf2291a2d1 Merge branch 'bugfix/fix_assert_if_ble_sleep_init_failed' into 'master'
fix(ble): do not assert if ble sleep init failed

Closes BLERP-1141

See merge request espressif/esp-idf!34288
2024-10-28 11:55:01 +08:00
cjin
a011ac0587 fix(ble): do not assert if ble sleep init failed 2024-10-23 19:03:17 +08:00
chenjianhua
2b28133ace 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-10-23 17:45:29 +08:00
chenjianhua
1e3220b0b0 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
2024-10-20 16:33:27 +08:00
Jin Cheng
e2241f1fc1 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-12 09:01:48 +08:00
Zhang Hai Peng
2f2727828c Merge branch 'bugfix/fix_ext_conn_adv_data_check' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(01cc408)

Closes BLERP-1083

See merge request espressif/esp-idf!33899
2024-10-08 14:20:28 +08:00
Jiang Jiang Jian
1662e28718 Merge branch 'feat/support_32k_osc_ble_sleep_clk' into 'master'
feat(ble): Support using 32k oscillator as Bluetooth sleep clock

Closes BT-3844

See merge request espressif/esp-idf!33524
2024-10-08 11:25:04 +08:00
Island
e770372810 Merge branch 'ble_dev/support_esp32c61_ble_light_sleep' into 'master'
feat(ble): support ble light sleep on esp32c61

Closes BLERP-1070

See merge request espressif/esp-idf!33818
2024-09-29 09:50:07 +08:00
zhanghaipeng
8a80675b7c fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(01cc408)
- Fixed extended connectable advertising data length check
2024-09-28 12:14:31 +08:00
Wang Meng Yang
a02fb3c188 Merge branch 'bugfix/fix_bci_443' into 'master'
fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC

Closes BLERP-1065

See merge request espressif/esp-idf!33795
2024-09-27 17:36:06 +08:00
chenjianhua
4108a5cc4c fix(bt/controller): Fixed ble get tx power error 2024-09-26 10:49:06 +08:00
chenjianhua
873708579c fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC 2024-09-26 10:49:06 +08:00
cjin
b56418147a feat(ble): support ble light sleep on esp32c61 2024-09-26 10:10:26 +08:00
Jin Cheng
22fad3f0a8 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-09-23 15:33:11 +08:00
Island
7752c1b051 Merge branch 'bugfix/fix_ble_conn_state_rpa_timeout' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(63eb54d)

Closes BLERP-1054

See merge request espressif/esp-idf!33709
2024-09-23 12:26:04 +08:00
Island
e628335fb0 Merge branch 'bugfix/fix_bleqabr24_1282' into 'master'
Fixed BLE scanning and initiating coexist on ESP32

Closes BLERP-1030

See merge request espressif/esp-idf!33542
2024-09-23 12:08:21 +08:00
zhanghaipeng
124613fb63 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-21 10:43:16 +08:00
zhanghaipeng
32c7694f56 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(e9ae856)
- Fixed BLE scan assert in lld_scan.c 1728
2024-09-19 15:22:04 +08:00
xiongweichao
ff83d87bce feat(ble): Support using 32k oscillator as Bluetooth sleep clock 2024-09-18 16:16:43 +08:00