Commit Graph

3086 Commits

Author SHA1 Message Date
Wang Mengyang
37d94af1f7 feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary 2023-11-01 19:34:09 +08:00
zhanghaipeng
a84c563c1e fix(bt/bluedroid): Fix BLE remove bond list status 2023-11-01 17:14:32 +08:00
zhiweijian
52112a9b91 fix(ble/bluedroid): fixed BLE bond error after reboot 2023-11-01 17:13:50 +08:00
luomanruo
21885a0cf9 ble: update c2 lib to 6ed444f2 2023-10-31 16:28:50 +08:00
luomanruo
27f1557d70 ble: update c2 rom.ld 2023-10-31 16:28:50 +08:00
luomanruo
30f1c507d4 ble: update c2 lib to 1d31e175 2023-10-31 16:28:49 +08:00
zhanghaipeng
d6165c0859 feat(bt/bluedroid): Display BLE permission check handle in error trace 2023-10-31 14:37:39 +08:00
zhanghaipeng
ea64b7cb1b feat(bt/bluedroid): Support BLE gattc notify registration number 2023-10-31 14:37:39 +08:00
zhanghaipeng
5758407281 fix(bt/bluedroid): Fix key size check in BLE smp 2023-10-31 14:37:39 +08:00
Wang Meng Yang
8e5bd616be Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs_v5.0' into 'release/v5.0'
fix(bt&ble): fix BLE unable to load bonded device info after reboot. (backport v5.0)

See merge request espressif/esp-idf!26466
2023-10-27 10:27:21 +08:00
gongyantao
dc85f670aa fix(bt/bluedroid): update the newest active device in bluetooth
1: update the newest active device when an ACL link is established and
   the remote device info is not in bond list. This updates will not stored
   into NVRAM until a new device is paired.
2023-10-26 19:33:06 +08:00
Jiang Jiang Jian
349bc1795c Merge branch 'feature/free_bt_memory_5.0' into 'release/v5.0'
feat(bt): Frees BLE memory when no longer in use

See merge request espressif/esp-idf!26574
2023-10-26 17:55:32 +08:00
Jiang Jiang Jian
231e822d03 Merge branch 'bugfix/backport_some_ble_bugs_20231020_v5.0' into 'release/v5.0'
Fixed some BLE bugs 20231020 (backport v5.0)

See merge request espressif/esp-idf!26606
2023-10-26 11:51:48 +08:00
Shen Weilong
6875e2b7d0 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-24 06:04:39 +00:00
Wang Meng Yang
46c75fc31c Merge branch 'bugfix/coex_cfg_option_invisible_v5.0' into 'release/v5.0'
fix(esp_coex): Fix dependency errors in coexist configuration (Backport v5.0)

See merge request espressif/esp-idf!26581
2023-10-23 16:21:00 +08:00
zhiweijian
c6588baf8f Update BLE lib on ESP32-C3 and ESP32-S3
- modify mesh proxy solic uuid to 0x18590303
- Fixed DTM payload length cannot be 0
- Added config to enable Hw recorrect eco
- report the number of packets sent on the TX end
2023-10-20 17:16:53 +08:00
zhiweijian
f3729b1610 feat: add config to disable ble hci uart flow control 2023-10-20 17:16:45 +08:00
zhiweijian
b13e24f26c change: enable pll track by default on ESP32 2023-10-20 17:16:37 +08:00
zhiweijian
39674d11e0 Add mesh adv type for exception list 2023-10-20 17:16:27 +08:00
chenjianhua
3502d25a2e 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-10-20 17:16:17 +08:00
chenjianhua
ab427cc1c0 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-10-20 17:16:06 +08:00
zhiweijian
a16c26c4ca Add new mesh types for exception list on ESP32-C3 and ESP32-S3 2023-10-20 17:15:55 +08:00
zhiweijian
cc746091a9 Fixed bluedroid host build warning when log is disabled 2023-10-20 17:15:45 +08:00
linruihao
dd16903b51 fix(esp_coex): Fix dependency errors in coexist configuration 2023-10-19 19:04:32 +08:00
luomanruo
8b7c87028b ble: update controller log module for ESP32-C2 2023-10-18 18:03:45 +08:00
luomanruo
3d381ba560 ble: update controller log module for ESP32-C2 2023-10-18 16:59:11 +08:00
cjin
82563128c8 change(ble): update ble lib on c6 h2 and c2 chip 2023-10-18 16:28:22 +08:00
Island
00d58a92dc Merge branch 'ble_dev/added_modem_reset_on_ble_v5_0' into 'release/v5.0'
feat(ble): added modem reset on c2

See merge request espressif/esp-idf!26450
2023-10-17 15:42:12 +08:00
Island
467cae8a41 Merge branch 'backport_v5.0' into 'release/v5.0'
Fix some BLE bugs in bluedroid host(backport 5.0)

See merge request espressif/esp-idf!26168
2023-10-17 11:00:39 +08:00
zhanghaipeng
98d88f86a7 fix(bt/bluedroid): Fix remove resolving list error for esp32 2023-10-16 19:30:18 +08:00
zhanghaipeng
5c6533d574 fix(bt/bluedroid): Fix bugs in ble service change characteristic 2023-10-16 19:30:08 +08:00
zhanghaipeng
c1b8734fb9 feat(bt/bluedroid): Support scan response data length zero in BLE 2023-10-16 19:29:56 +08:00
zhanghaipeng
18c8d0e04c fix(bt/bluedroid): Optimize the description of Scan Duplicate in BLE 2023-10-16 19:29:45 +08:00
Jiang Jiang Jian
65321ea317 Merge branch 'bugfix/use_bt_sdp_bqb_include_macro_for_ertm_mode_flag_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Add correct macro for ertm mode included flag (v5.0)

See merge request espressif/esp-idf!26456
2023-10-16 11:51:56 +08:00
Wang Meng Yang
209608623c Merge branch 'bugfix/config_tpoll_fail_v5.0' into 'release/v5.0'
Bugfix/config tpoll fail v5.0

See merge request espressif/esp-idf!26452
2023-10-16 10:59:05 +08:00
gongyantao
c80e82fa07 fix(bt/bluedroid): Add correct macro for ertm mode included flag 2023-10-13 14:44:35 +08:00
baohongde
64e1f2fe5e feat(bt/hci): Added Vendor-Specific HCI command to disable DM1 for ACL-U 2023-10-13 14:22:39 +08:00
baohongde
299fa49d75 fix(bt/bluedroid): Triggering disconnect event of GAP correctly 2023-10-13 14:22:39 +08:00
baohongde
363f37cc67 fix(bt/bluedroid): Fix issue of QoS configuration failure when t_poll is greater than 40 2023-10-13 14:22:39 +08:00
cjin
dc8e00e22f feat(ble): added modem reset on c2 2023-10-13 11:44:18 +08:00
luomanruo
26fbfe7d94 ble: update tx power level index of ESP32-C2 2023-10-11 21:05:21 +08:00
luomanruo
b7f17f7531 ble:update c2 libble to 6a8d1f3d 2023-10-11 20:55:26 +08:00
Island
6a33321693 Merge branch 'bugfix/deepfree_v50' into 'release/v5.0'
fix(ble_mesh): fix compilation failure on using scene model. (v5.0)

See merge request espressif/esp-idf!26358
2023-10-11 19:28:53 +08:00
Wu Meng Shi
d9af38524b fix(ble_mesh): fix compilation failure on using scene model. (v5.0) 2023-10-11 19:28:53 +08:00
Island
3df12b0c7d Merge branch 'bugfix/BLEQABR23-414_v50' into 'release/v5.0'
bugfix(mesh): Fix PB-GATT adv is reported to the app layer too frequently(v5.0)

See merge request espressif/esp-idf!25896
2023-10-10 12:01:42 +08:00
Wu Meng Shi
f3f0917166 bugfix(mesh): Fix PB-GATT adv is reported to the app layer too frequently(v5.0) 2023-10-10 12:01:41 +08:00
Jiang Jiang Jian
1b5a9a9420 Merge branch 'bugfix/check_mapping_target_conflict_v5.0' into 'release/v5.0'
fix(ldgen): check target conflict for entries with section aliases (v5.0)

See merge request espressif/esp-idf!26124
2023-10-07 14:38:01 +08:00
Jiang Jiang Jian
f2dbd880ee Merge branch 'bugfix/set_eir_when_no_eir_data_v5.0' into 'release/v5.0'
change(bt/bluedroid): Send a name tag with zero length when there is no EIR data

See merge request espressif/esp-idf!25950
2023-10-07 14:31:11 +08:00
Jiang Jiang Jian
32dcb1abd9 Merge branch 'bugfix/BLEQABR23-632v50' into 'release/v5.0'
fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble (v5.0)

See merge request espressif/esp-idf!26242
2023-10-07 14:29:17 +08:00
Wu Meng Shi
9dc12cb8c2 fix(ble_mesh): avoid executing bt_mesh_host_init() more than once when using nimble (v5.0) 2023-10-07 14:29:16 +08:00
Jiang Jiang Jian
64639bb296 Merge branch 'test/bqb_test_bt_classic_hfp_v5.0' into 'release/v5.0'
feat(bt/hfp): Add support for HFP BQB auto test (backport v5.0)

See merge request espressif/esp-idf!26223
2023-10-07 14:28:28 +08:00
Jiang Jiang Jian
d4b9cb7e63 Merge branch 'test/bqb_test_bt_classic_l2cap_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Add flags for BQB auto test of L2CAP (backport v5.0)

See merge request espressif/esp-idf!26219
2023-10-07 14:27:06 +08:00
Jiang Jiang Jian
ef2a051313 Merge branch 'bugfix/hfp_api_pkt_stat_nums_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics (backport v5.0)

See merge request espressif/esp-idf!26170
2023-10-07 14:25:13 +08:00
Rahul Tank
782a60a11d fix(nimble): Add event for reattempt connection count information 2023-09-28 20:05:46 +05:30
Rahul Tank
2007f2f4cc Merge branch 'bugfix/remove_unused_coex_header_v5.0' into 'release/v5.0'
remove(nimble): Removed unused coex header inclusion (v5.0)

See merge request espressif/esp-idf!26180
2023-09-28 22:30:55 +08:00
Wang Meng Yang
284d6d235b Merge branch 'bugfix/add_params_check_for_hci_v5.0' into 'release/v5.0'
Fixed some HCI commands parameter (backport v5.0)

See merge request espressif/esp-idf!26150
2023-09-28 16:18:00 +08:00
Rahul Tank
f4e6510852 remove(nimble): Removed unused coex header inclusion 2023-09-28 10:47:06 +05:30
Rahul Tank
6d7c58516b Merge branch 'bugfix/ext_adv_log_v5.0' into 'release/v5.0'
fix(nimble): added log for extended advertisement (v5.0)

See merge request espressif/esp-idf!25940
2023-09-28 13:08:34 +08:00
gongyantao
1b6cfd828d fix(bt/bluedroid): ble fails to load bonded device info after reboot
1: add a quantity check in bt when writing paired device info into nvs.
2: delete the exceeded device info from NVS when get bonded list during
bluedroid initialization.
3: unify the process of bt and ble to load bonded list during bluedroid
initialization.
2023-09-27 10:44:19 +08:00
wanglai@espressif.com
261a2618b9 fix(bt/bluedroid): Revise the description for index in esp_hf_ag_clcc_response and correct the error return in btc_hf_indchange_notification
1: modify the description of param index in function
esp_hf_ag_clcc_response.
2: fix the error code return of function btc_hf_indchange_notification.
2023-09-26 15:10:15 +08:00
wanglai@espressif.com
f4170d127e feat(bt/bluedroid): Add flag to control whether to send AT+CLIP cmd for BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
7e1af63bfc feat(bt/bluedroid): Add flag to change HFP client features for BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
9897df3647 feat(bt/bluedroid): Add eSCO S1 support for hfp client BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
23e3279a84 feat(bt/bluedroid): Add flag to send BRSF features for hfp ag BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
4f332026e6 feat(bt/bluedroid): Modify the btc hf features for AT+NREC cmd in BQB test 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
ce41d2c0a8 fix(bt/bluedroid): Fix the process of sending OK in ATD and COPS cmds 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
9a11ce19ea feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
2a747a3058 feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example 2023-09-26 15:10:15 +08:00
wanglai@espressif.com
0687fad3d6 feat(bt/bluedroid): Add HFP config for BQB test 2023-09-26 15:10:14 +08:00
liqigan
833d3226c5 fix(bt/bluedroid): Fix the issue for HID congestion checking 2023-09-26 14:15:44 +08:00
wanglai@espressif.com
6c1d11ad7e feat(bt/bluedroid): Add flags for BQB auto test of L2CAP
1: add sdp_bqb_disable_flag to avoid running sdpu_build_n_send_error.
2: add sdp_bqb_inact_timeout_flag to set the SDP inactivity timeout to 90 seconds.
3: add l2cap_bqb_bad_cmd_len_rej_flag to reject the C-Frame with invalid PDU length
4: add l2cap_bqb_ertm_mode_included_flag to set L2CAP_FCR_ERTM_MODE for most L2CAP cases
2023-09-26 14:06:24 +08:00
darshan
0ae59943e2 fix(nimble): added log for extended advertisement (v5.0) 2023-09-25 17:41:33 +05:30
Rahul Tank
840d8a2aee Merge branch 'feature/adv_queue_congestion_v5.0' into 'release/v5.0'
feat(nimble): Added adv queue congestion check (v5.0)

See merge request espressif/esp-idf!25731
2023-09-25 19:18:39 +08:00
baohongde
7620ff11b5 change(bt/bluedroid): Send a name tag with zero length when there is no EIR data 2023-09-25 06:28:42 +00:00
shangke
5d3d6bf7c0 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-25 11:42:36 +08:00
chenqingqing
af72846e92 fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics 2023-09-25 10:50:52 +08:00
zhanghaipeng
a921a2dfd7 fix(bt/bluedroid): Fix set periodic advertising data error 2023-09-23 20:23:49 +08:00
You Wei
82f26d48a3 fix(ldgen): check target conflict for entries with section alias 2023-09-21 19:41:24 +08:00
Wang Meng Yang
3ab19cc298 Merge branch 'origin/test/bqb_test_bt_classic_avdtp_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Add avdt abort function for BQB test(backport v5.0)

See merge request espressif/esp-idf!26046
2023-09-21 09:47:36 +08:00
liqigan
0016eb028c change(bt/bluedroid): Limit sniff request when pending mode change event 2023-09-19 20:10:37 +08:00
Island
caf6660080 Merge branch 'bugfix/fix_some_ble_bug_v5.0' into 'release/v5.0'
Fixed some BLE bugs (backport v5.0)

See merge request espressif/esp-idf!26031
2023-09-19 14:51:03 +08:00
Wang Meng Yang
185ed100fd Merge branch 'bugfix/error_param_in_BTA_AG_WBS_EVT_v5.0' into 'release/v5.0'
Bugfix/error param in bta ag wbs evt (v5.0)

See merge request espressif/esp-idf!26002
2023-09-19 12:01:01 +08:00
wanglai@espressif.com
40b99b513c feat(bt/bluedroid): Add avdt abort function for BQB test
1: add new AVDTP abort function for BQB test
2023-09-19 11:55:58 +08:00
chenjianhua
9af8a1e7a7 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-09-18 19:39:41 +08:00
chenjianhua
9fce08c5d2 Update bt lib for ESP32-C3 and ESP32-S3(ff6efe7)
- fix(bt/controller): Fixed PHY enable and disable
- feat(bt/controller): Support DAA and LBT mode for BLE CCA
2023-09-18 19:39:27 +08:00
chenjianhua
19a07ffb96 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-09-18 19:38:38 +08:00
zhanghaipeng
c85c755ec6 fix(bt): Fix bugs about updating connect param 2023-09-18 19:38:20 +08:00
zhanghaipeng
4e6a831d57 fix(bt): Fix bug while calculating block cipher using aes-128 2023-09-18 19:38:13 +08:00
zhanghaipeng
ed1a83a93f docs(bt): Update comment in ble 2023-09-18 19:38:04 +08:00
zhanghaipeng
debcf93282 feat(bt/bluedroid): Support periodic adv adi feature 2023-09-18 19:37:55 +08:00
chenjianhua
559368ba77 fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting 2023-09-18 19:37:45 +08:00
chenjianhua
c75ffd7de1 fix(bt/bluedroid): Fixed GATTC cache address save when list is full 2023-09-18 19:37:38 +08:00
chenjianhua
fc57ae154d feat(bt/bluedroid): Support high duty adv interval setting 2023-09-18 19:37:28 +08:00
chenjianhua
3115bd17b5 fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-09-18 19:37:18 +08:00
Wang Meng Yang
ae3029cad8 Merge branch 'bugfix/fix_some_hci_cmd_param_check_v5.0' into 'release/v5.0'
fix(bt/controller): Fixed some HCI commands parameter check  (Backport v5.0)

See merge request espressif/esp-idf!25714
2023-09-18 19:07:35 +08:00
Island
87aeb49cff Merge branch 'feature/support_ble_53_host_feat_v5.0' into 'release/v5.0'
Support BLE host feature for PTS (backport v5.0)

See merge request espressif/esp-idf!25646
2023-09-18 15:23:06 +08:00
Wang Meng Yang
5a98ae1a52 Merge branch 'bugfix/fix_hidd_send_rpt_without_connection_v5.0' into 'release/v5.0'
Change(bt/bluedroid): Optimize HIDD sending interrupt report behavior[backport 5.0]

See merge request espressif/esp-idf!25919
2023-09-18 14:07:20 +08:00
darshan
4c118e23ca feat(nimble): Added adv queue congestion check 2023-09-18 09:15:51 +05:30
Island
d1d4519f96 Merge branch 'feature/esp32c2_add_trace_function_v5.0' into 'release/v5.0'
ble: supported trace function and adv report flow control on esp32c2

See merge request espressif/esp-idf!25641
2023-09-18 11:44:27 +08:00
Rahul Tank
e3f05d0972 Merge branch 'feat/add_high_duty_adv_interval_v5.0' into 'release/v5.0'
feat(nimble): Added support for high duty adv interval (v5.0)

See merge request espressif/esp-idf!25554
2023-09-18 11:40:24 +08:00