Commit Graph

235 Commits

Author SHA1 Message Date
Island
7c5cb1054c Merge branch 'backport/fix_ble_menuconfig_v5.0' into 'release/v5.0'
Backport/fix ble menuconfig v5.0(backport v5.0)

See merge request espressif/esp-idf!27496
2023-12-19 11:59:19 +08:00
Jiang Jiang Jian
871247de22 Merge branch 'test/ctrl_acl_u_pkt_type_v5.0' into 'release/v5.0'
feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic

See merge request espressif/esp-idf!27599
2023-12-15 19:34:55 +08:00
zhanghaipeng
1355f58180 feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-12-04 14:38:51 +08:00
Jin Cheng
e7a52632f0 feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic 2023-12-04 10:28:05 +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
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
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
chenjianhua
8cc73fe6bf feat(bt/bluedroid): support clear legacy advertising 2023-11-15 17:12:40 +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
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
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
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
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
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
zhanghaipeng
c85c755ec6 fix(bt): Fix bugs about updating connect param 2023-09-18 19:38:20 +08:00
zhanghaipeng
debcf93282 feat(bt/bluedroid): Support periodic adv adi feature 2023-09-18 19:37:55 +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
Jin Cheng
89bfe3e352 change(bt/bluedroid): Added line information printing when error occurs CHECK_HF_IDX 2023-09-18 11:04:19 +08:00
Wang Meng Yang
1b4464a6be Merge branch 'test/bqb_test_bt_classic_a2dp_v5.0' into 'release/v5.0'
feat(bt/bqb): Add setting SBC encoder and reject invalid codec type support for a2dp BQB test (backport v5.0)

See merge request espressif/esp-idf!25685
2023-09-18 11:02:56 +08:00
liqigan
4b7f77a769 change(bt/bluedroid): Optimize HIDD sending interrupt report behavior
HID device is allowed to trigger reconnection by sending an interrupt
report. When reconnection is in progress, no more interrupt report can
be sent until the procedure is accomplished.
2023-09-11 20:14:25 +08:00
chenqingqing
fbf196a7f9 feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent 2023-09-07 11:37:09 +08:00
Jin Cheng
54fecc5561 fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler 2023-09-07 10:59:06 +08:00
Jin Cheng
774056bf62 fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters 2023-09-07 10:56:11 +08:00
Jin Cheng
e36e0f5233 fix(bt/bluedroid): Fixed wrong code logic in 'AT+CIND?' of HFP 2023-09-07 10:56:11 +08:00
Jin Cheng
f0ed003d91 fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG 2023-09-07 10:56:11 +08:00
Jin Cheng
fb14ef7c24 fix(bt/bluedroid): Fixed NULL Bluetooth device address in HF-AG events was reported to application layer 2023-09-07 10:56:11 +08:00
wanglai@espressif.com
c95c3ba38e feat(bt/bluedroid): Set SBC encoder as PTS required for BQB test.
1: set SBC encoder as PTS required. The encoder is effective first.
But it changes to default after media start.
2023-09-05 01:55:37 +00:00
chenjianhua
11e8970a45 bluedroid: add GATT read multi variable API and evt 2023-08-30 15:17:56 +08:00
chenjianhua
0315b24514 bluedroid: add periodic adv sync transfer API and EVT 2023-08-30 15:17:47 +08:00
chenjianhua
630154ed2d bluedroid: support gatts show local database 2023-08-30 15:17:38 +08:00
chenjianhua
3100841f64 bluedroid: fixed GATT multi notify and robust caching 2023-08-30 15:17:30 +08:00
chenjianhua
42a1d94830 bluedroid: support GATT robust caching feature 2023-08-30 15:13:03 +08:00
chenjianhua
4145099bdc bluedroid: support oob pairing for smp secure connection 2023-08-30 15:11:34 +08:00
baohongde
d82a2e2eec feat(bt/bluedroid): Add option whether to include device name in extended inquiry response 2023-08-24 19:36:26 +08:00
chenjianhua
902c6973f1 fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-18 11:44:43 +08:00
chenjianhua
7ca9ca6f90 bluedroid: fixed compile warning when optimize for performance 2023-07-18 11:41:44 +08:00
Ilia Lutchenko
837a46b5a7 btc_sdp: add_raw_sdp: fix 32 and 128-bit uuid configuration
Added proper conversion of 4 and 16-byte UUIDs values to binary streams.
UUIDs now set with SDP_AddAttribute() instead of
SDP_AddServiceClassIdList().
2023-06-28 14:18:20 +08:00