Commit Graph

497 Commits

Author SHA1 Message Date
zhaokeke
a39869416c feat(bt): Frees BLE memory when no longer in use
It will free libble.a & libbt all txt, data and bss segment memory.
This memory is combined into one large memory and put into the heap
pool.
2023-10-08 16:08:47 +08:00
Zhi Wei Jian
5306b3308f Merge branch 'feature/add_config_to_disable_uart_flow_control' into 'master'
feat: add config to disable ble hci uart flow control

Closes CBLE50Y23-50

See merge request espressif/esp-idf!26155
2023-10-08 10:55:04 +08:00
Island
492c819357 Merge branch 'bugfix/fix_phy_63' into 'master'
Fixed extended adv address setting after adv restart on esp32c3

Closes BLERP-86 and BLERP-107

See merge request espressif/esp-idf!26157
2023-09-28 14:21:08 +08:00
zhiweijian
3cc06e472b change(ble/controller): disable pll track by default in BLE controller on ESP32-C3 and ESP32-S3 2023-09-26 16:23:58 +08:00
zhangwenxu
e5b96c94b5 fix(CI): fix CI build 2023-09-26 16:23:58 +08:00
zwl
355a420055 fix(phy): Fix ble phy_enable/disable api invoking issue for esp32c2,esp32h2 and esp32c6 2023-09-26 16:23:58 +08:00
Jiang Jiang Jian
17ae394fd1 Merge branch 'feature/update_esp32h2_sleep_logic' into 'master'
feat(pm): remove SOC_PM_RETENTION_HAS_CLOCK_BUG for esp32h2

See merge request espressif/esp-idf!26081
2023-09-26 16:11:25 +08:00
chenjianhua
42b85dffb1 Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
- Fixed extended adv address setting after adv restart
- Fixed scan channel index setting for extended scan
- Add API to set aux channel index for extended adv
2023-09-26 16:10:21 +08:00
zhiweijian
150900eabb feat: add config to disable ble hci uart flow control 2023-09-25 14:26:59 +08:00
baohongde
87af877d33 feat(bt/hci): Added Vendor-Specific HCI command to disable DM1 for ACL-U 2023-09-22 14:36:45 +08:00
baohongde
510ddd1cbc fix(bt/bluedroid): Fix issue of QoS configuration failure when t_poll is greater than 40 2023-09-22 12:14:32 +08:00
Wang Meng Yang
92e8662a80 Merge branch 'bugfix/add_params_check_for_hci' into 'master'
fix(bt/controller): Fixed some HCI commands parameter

See merge request espressif/esp-idf!25866
2023-09-22 11:37:30 +08:00
shangke
dcb714e796 fix(bt/controller): Fixed some HCI commands parameter
1: add param check for HCI_Recevie_Synchronization_Train.
2: add param check for HCI_Set_Connectionless_Peripheral_Broadcast.
3: fix slave cannot take a secure authentication.
2023-09-21 15:07:25 +08:00
cjin
7b176501e3 feat(ble): update ble sleep logic for esp32h2 2023-09-21 11:30:49 +08:00
Island
2c51e10198 Merge branch 'bugfix/fix_bleqabr23_394' into 'master'
Fixed address resolution for directed advertising on esp32c3 and esp32s3

See merge request espressif/esp-idf!25586
2023-09-18 15:23:03 +08:00
chenjianhua
827a00d4d5 Update bt lib for ESP32-C3 and ESP32-S3(29996e0)
- Fixed address resolution for directed adv with RPA when scanning
- Fixed resolvable private address renew after timeout
2023-09-15 17:49:37 +08:00
linruihao
efacf9a73d fix(esp_coex): Fix esp32 ble scan not restart when wifi start stop 2023-09-14 17:55:55 +08:00
Jiang Jiang Jian
ca78f8b925 Merge branch 'bugfix/bugfix_for_esp32c2_esp32c6_esp32h2' into 'master'
fix(ble): fixed crash when memory is insufficient on esp32c2

Closes BLERP-9, BLERP-10, BLERP-11, BLERP-13, and BLERP-12

See merge request espressif/esp-idf!25823
2023-09-14 10:43:27 +08:00
Jin Cheng
3fb242660d fix(bt/controller): Fixed error in sniff negotiation
fix(bt/controller): Avoided both local and peer unsniff being triggered
fix(bt/controller): Fixed the crash of mixing of master- and slave-initiated sniff requests
fix(bt/controller): Moved the TX of HW_ERR_EVT out of interrupt context to thread context
fix(bt/controller): Fixed the issue rx_irq is generated after error_irq for slave sniff mode frame
fix(bt/controller): Fixed asser error resulted from failure of role switch frame insert
fix(bt/controller): Ignored rx_irq in inquiry scan frame end
fix(bt/controller): Ignored rx_irq in page scan frame end
fix(bt/controller): Added status check before set/clear sniff coex status
fix(bt/controller): Fixed IntegerDevideByZero caused by interrupted r_ld_sco_start
2023-09-12 12:20:50 +00:00
luomanruo
fa4f34e791 change(ble): update controller log print interface 2023-09-12 15:44:01 +08:00
cjin
7fc9c0ad62 ble: support esp32c2 wakeup overhead 2023-09-08 15:50:28 +08:00
luomanruo
60d6b3c13e ble: update esp32h2 and esp32c6 libble to a9fa2002 2023-09-08 14:25:26 +08:00
zwl
4955bb3bda feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:22:39 +08:00
zwl
67c8b38d20 fix(ble): fixed crash when memory is insufficient on esp32c2 2023-09-07 16:22:29 +08:00
zhiweijian
5d8873f2d8 change: enable pll track by default on ESP32 2023-09-07 06:08:36 +00:00
Jiang Jiang Jian
a1c0d9c3a1 Merge branch 'feature/ble_lib_update_h2_c6' into 'master'
ble: update h2 c6 libble to 5d7af429

Closes BLERP-7

See merge request espressif/esp-idf!25691
2023-09-07 10:25:08 +08:00
zhiweijian
2a11862118 feat(ble/controller): Add API to enable/disable pll track 2023-09-05 21:50:39 +08:00
luomanruo
a2935ba6ec change: print assert info before dump log 2023-09-05 20:40:04 +08:00
cjin
926695b000 change: changed ble msys init for controller 2023-09-05 20:40:04 +08:00
cjin
574800b50a feat: added ble wake up overhead support 2023-09-05 20:40:04 +08:00
luomanruo
7ec0ccad09 ble: update h2 c6 libble to 5d7af429 2023-09-05 20:40:04 +08:00
zhiweijian
618c6f8336 Add new mesh types for exception list on ESP32-C3 and ESP32-S3 2023-09-04 20:38:36 +08:00
Zhi Wei Jian
6daba772d8 Merge branch 'feature/add_new_mesh_adv_type_for_exception_list' into 'master'
Add BLE mesh adv types for exception list

See merge request espressif/esp-idf!25652
2023-09-04 14:06:50 +08:00
Island
8904d6bb37 Merge branch 'feature/esp32c2_add_trace_function' into 'master'
ble: supported trace function and adv report flow control on esp32c2

See merge request espressif/esp-idf!25639
2023-09-01 20:10:38 +08:00
zhiweijian
65e18ff02a Add mesh adv type for exception list 2023-09-01 17:38:06 +08:00
zwl
4abf0c46b5 ble: supported trace function and adv report flow control on esp32c2 2023-08-31 11:58:29 +08:00
linruihao
f3b87ee3bd fix(bt/controller): Fixed some HCI commands parameter check
Fixed HCI_Change_Connection_Packet_Type Command parameter check
Fixed HCI_Accpet_Synchronous_Connection_Request Command parameter check
Fixed HCI_Set_Connectionless_Peripheral_Broadcast_Data Command parameter check
2023-08-30 19:38:14 +08:00
luomanruo
3f6dd76e41 ble: Assert when getting memory fail 2023-08-25 12:23:00 +08:00
Jiang Jiang Jian
b39180d7a1 Merge branch 'bugfix/m_ble_issues_bugfix_c2' into 'master'
update btlib to 7d0ce3ba, some esp32c2 issues bugfixed

See merge request espressif/esp-idf!25428
2023-08-24 14:13:05 +08:00
Chen Jian Hua
70071a334f Merge branch 'bugfix/fix_bleqabr23_181_esp32' into 'master'
Support BLE RX error packet count record on esp32

See merge request espressif/esp-idf!25316
2023-08-24 11:12:36 +08:00
luomanruo
a2620e7588 ble: update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-23 10:20:01 +08:00
chenjianhua
be0ef2d0e0 update esp32 bt-lib (7b24543)
- Support BLE RX error packet count record
- Fixed instant setting for LLC procedures with instants
- Fixed adv random delay when adv interval is less than 20ms
2023-08-18 16:49:35 +08:00
zwl
38d20430c7 ble: Added adv report flow control config on ESP32C6 and ESP32H2 2023-08-17 19:47:16 +08:00
zwl
386a31dfaf ble: fixed heap corruption on esp32c6 and esp32h2 2023-08-17 19:47:12 +08:00
Island
1f3e3f8f6a Merge branch 'bugfix/fix_current_issue_after_ble_init' into 'master'
Fix phy enable/disable for ESP32C6/H2/C2

See merge request espressif/esp-idf!25080
2023-08-14 13:11:19 +08:00
chenjianhua
7accddadaa Update bt lib for ESP32-C3 and ESP32-S3(59725b5)
- Support BLE RX error packet count record
- Fixed adv random delay when adv interval is less than 20ms
- Fixed adv random address setting when owner address type is public
2023-08-11 14:08:59 +08:00
cjin
5a8e51f24c ble: move phy enabled/disable to controller enable/disable 2023-08-10 10:14:29 +08:00
Wang Meng Yang
8e5aebe69e Merge branch 'bugfix/fix_bt_3379' into 'master'
fix(bt): Fix phy enable and disable for bt controller on esp32c3

See merge request espressif/esp-idf!25012
2023-08-04 10:52:24 +08:00
Xiong Wei Chao
0331e6fabd Merge branch 'bugfix/role_switch_enc_mode_lmp_timeout' into 'master'
bt: Fix disconnection due to lmp messages not being processed by both sides

Closes BTQABR2023-38 and BTQABR2023-37

See merge request espressif/esp-idf!24757
2023-08-04 10:23:26 +08:00
Island
b43914770f Merge branch 'bugfix/fix_duplicate_disable_compile_issue' into 'master'
bugfix(ble): Fix compile issue when disable duplicate config option in kconfig.

See merge request espressif/esp-idf!25003
2023-08-03 16:09:44 +08:00