Commit Graph

629 Commits

Author SHA1 Message Date
chenjianhua
52333aeac9 fix(bt/bluedroid): Fixed add RPA to white list 2023-12-04 17:09:28 +08:00
Jin Cheng
db287328bc fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in L2CAP layer 2023-11-30 20:14:31 +08:00
Jin Cheng
bab64a98d8 fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in BTC layer 2023-11-30 20:14:31 +08:00
Jiang Jiang Jian
5c1f5f2522 Merge branch 'bugfix/add_par_check_in_ag_cind_res_v5.0' into 'release/v5.0'
Bugfix/add par check in ag cind res v5.0

See merge request espressif/esp-idf!27258
2023-11-23 10:48:16 +08:00
Jiang Jiang Jian
2e0d1508c4 Merge branch 'bugfix/spp_deinit_crash_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix the crash of invalid access to released resources (v5.0)

See merge request espressif/esp-idf!27252
2023-11-22 17:29:27 +08:00
Jin Cheng
9998c2bd82 fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP 2023-11-22 09:21:59 +00:00
Jin Cheng
4c8502e00d fix(bt/bluedroid): Added some argument check in APIs of HFP AG 2023-11-22 09:21:59 +00:00
Ilia Lutchenko
fffc6f9328 feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs
1. Added new API functions that can add 32 and 128-bit UUID to the EIR data
when these UUIDs are set in SDP.
The old functions that only work with 16-bit UUIDs have been left
unchanged to avoid having to redo code that already utilizes them.

2. Fixed bug with zero handler return in btc_sdp.c
sdp_create_record.handle in tBTA_SDP struct wasn't saved before.
Because of it Bluetooth stack always returned zero handler to
application callback.

Closes https://github.com/espressif/esp-idf/issues/11529
2023-11-22 03:10:00 +00:00
Jin Cheng
8ae138e7be fix(bt/bluedroid): Fix the crash of invalid access to released resources
It is caused by the delayed timer is alarmed after esp_spp_deinit.
2023-11-22 03:09:13 +00:00
Island
6d77fe9b79 Merge branch 'backport/fix_ble_scan_rsp_v5.0' into 'release/v5.0'
Backport/fix ble scan rsp v5.0(backport v5.0)

See merge request espressif/esp-idf!27006
2023-11-21 12:15:09 +08:00
chenjianhua
8cc73fe6bf feat(bt/bluedroid): support clear legacy advertising 2023-11-15 17:12:40 +08:00
Wang Mengyang
ee53260db8 fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled and also CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY is set to true 2023-11-10 21:08:17 +08:00
zhanghaipeng
44f7c7f6bb fix(bt/bluedroid): Fix ble keysize check 2023-11-08 19:47:32 +08:00
zhanghaipeng
ef444d6a1b fix(bt/bluedroid): Fix ble adv report evt type 2023-11-08 19:47:26 +08:00
Wang Meng Yang
2d00212e19 Merge branch 'feature/include_hf_and_ag_in_single_build_v5.0' into 'release/v5.0'
Feature/include hf and ag in single build v5.0

See merge request espressif/esp-idf!26842
2023-11-03 14:09:35 +08:00
Jin Cheng
7135c2d1fa feat(bt/bluedroid): Support to build HID Host and HID Device in single binary 2023-11-01 19:34:15 +08:00
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
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
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
39674d11e0 Add mesh adv type for exception list 2023-10-20 17:16:27 +08:00
zhiweijian
cc746091a9 Fixed bluedroid host build warning when log is disabled 2023-10-20 17:15:45 +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
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
gongyantao
c80e82fa07 fix(bt/bluedroid): Add correct macro for ertm mode included flag 2023-10-13 14:44:35 +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
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
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
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