xiongweichao
71442ef6de
fix(bt/bluedroid): Fixed SPP connection failure
...
The connection failure is caused by the BTU and application layer status being out of sync.
2023-12-21 17:42:26 +08:00
Wang Meng Yang
7a45809b4f
Merge branch 'bugfix/crash_in_btc_hf_init' into 'master'
...
fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks
Closes BT-3498, BT-3505, BT-3524, COEXQABR24-4, COEXQABR24-16, COEXQABR24-17, and BTQABR2023-112
See merge request espressif/esp-idf!27211
2023-12-14 12:23:55 +08:00
Jin Cheng
58256d8c4b
fix(bt/bluedroid): Changed the default air mode to invalid value
2023-12-05 20:10:03 +08:00
Island
e3ab9f009b
Merge branch 'feat/support_ble_create_sync_report' into 'master'
...
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate
Closes BLERP-216
See merge request espressif/esp-idf!26923
2023-12-01 17:17:48 +08:00
Jin Cheng
48d410e10d
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in l2cap
2023-11-30 19:47:57 +08:00
Jin Cheng
823e0711c9
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free
2023-11-29 15:55:46 +08:00
Wang Meng Yang
a7fbf452fa
Merge branch 'feature/support_for_32_and_128_bit_custom_uuids' into 'master'
...
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs
Closes IDFGH-10721
See merge request espressif/esp-idf!27069
2023-11-17 11:48:57 +08:00
Jin Cheng
57e3e97497
fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization
...
Move the release of the control blocks from the start
of deinitialization to the profile disabled event.
2023-11-17 09:39:46 +08:00
Jin Cheng
eab9037b1c
fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks
2023-11-16 20:10:29 +08:00
Jin Cheng
97e9eb5ca8
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-15 02:12:14 +00:00
zhanghaipeng
4c9861d40d
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate
2023-11-09 17:30:23 +08:00
Ilia Lutchenko
0a23da71ac
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-02 17:43:55 +01:00
Jin Cheng
46327936cb
feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic
2023-11-02 17:43:04 +08:00
Jiang Jiang Jian
6e0a8434a7
Merge branch 'bt/add_host_only_mode' into 'master'
...
bt: Added BlueDroid-Only mode to use BlueDroid host only without Bluetooth Controller
See merge request espressif/esp-idf!25319
2023-11-02 10:58:32 +08:00
Wang Meng Yang
52085b0264
Merge branch 'feature/include_hf_and_ag_in_single_build' into 'master'
...
feat: Added support for build different roles in corresponding profile HID and HFP into a single binary
See merge request espressif/esp-idf!26360
2023-11-02 10:52:38 +08:00
Jin Cheng
1f2a1564a2
feat(bt/bluedroid): Support to build HID Host and HID Device in single binary
2023-11-01 16:54:11 +08:00
Wang Mengyang
638d3af14a
feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary
2023-11-01 16:54:08 +08:00
Jin Cheng
fc174f5811
feat(bt/bluedroid): Added mode to use BlueDroid host only without Bluetooth Controller
2023-10-30 00:52:26 +00:00
chenjianhua
7a1db4befb
feat(bt/bluedroid): support clear legacy advertising
2023-10-26 19:14:54 +08:00
gongyantao
fdc35e772b
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-12 07:46:34 +00:00
Zhi Wei Jian
60961e9e7f
Merge branch 'feature/Add_apis_for_dtm_test' into 'master'
...
Feature/add apis for direct test mode
See merge request espressif/esp-idf!25735
2023-09-27 19:00:20 +08:00
zhiweijian
de148c3a5e
feat(ble/bluedroid): Add APIs for BLE direct test mode on bluedroid host
2023-09-25 12:50:16 +00:00
wanglai@espressif.com
f0e90b296a
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-25 11:59:57 +08:00
wanglai@espressif.com
a481a1553d
feat(bt/bluedroid): Add flag to change HFP client features for BQB test
2023-09-25 11:59:57 +08:00
wanglai@espressif.com
cf52a57b55
feat(bt/bluedroid): Modify the btc hf features for AT+NREC cmd in BQB test
2023-09-25 11:41:19 +08:00
wanglai@espressif.com
bf77d8755a
fix(bt/bluedroid): Fix the process of sending OK in ATD and COPS cmds
2023-09-25 11:41:19 +08:00
wanglai@espressif.com
5875f1160e
feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client
2023-09-25 11:41:18 +08:00
wanglai@espressif.com
5600da1cfe
feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example
2023-09-25 11:41:18 +08:00
Wang Meng Yang
0cb0c49597
Merge branch 'bugfix/a2dp_media_ctrl' into 'master'
...
Bugfix/a2dp media ctrl
Closes BTQABR2023-42
See merge request espressif/esp-idf!25300
2023-09-19 14:27:06 +08:00
Jin Cheng
024862c76f
change(bt/bluedroid): Added line information printing when error occurs CHECK_HF_IDX
2023-09-12 06:53:11 +00:00
baohongde
c3ade2d54e
change(bluedroid): Set AV is ready when suspended by remote
2023-09-11 08:25:00 +00:00
baohongde
d905993e1e
remove(bluedroid): Delete media stop command and audio stopped state
2023-09-11 08:25:00 +00:00
liqigan
bc1b01a966
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-08 03:35:05 +00:00
chenqingqing
75efaa6465
feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent
2023-09-04 20:29:03 +08:00
chenqingqing
55cdf8434b
fix(bt/bluedroid): Fixed the issue of NULL address for btc_hf_ag
2023-09-04 19:30:37 +08:00
Wang Meng Yang
78af508654
Merge branch 'feature/add_new_bluedroid_init' into 'master'
...
Feat(bt/bluedroid): Add new ESP Bluedroid stack init API
Closes BTQABR2023-32
See merge request espressif/esp-idf!25248
2023-09-04 11:24:44 +08:00
Wang Meng Yang
6598c6ecd7
Merge branch 'bugfix/hf_ag_report_event_with_null_bdaddr' into 'master'
...
Bugfix/fixed bugs of HFP in BlueDroid
Closes BTQABR2023-71, BTQABR2023-73, BTQABR2023-74, BTQABR2023-78, BTQABR2023-81, BTQABR2023-82, and BTQABR2023-69
See merge request espressif/esp-idf!25493
2023-09-04 11:21:15 +08:00
Island
3616815d09
Merge branch 'bugfix/timeout_when_update_conn_param' into 'master'
...
fix(bt): Fix bugs about updating connect param
See merge request espressif/esp-idf!25442
2023-09-01 15:37:44 +08:00
Island
d750b3bfb6
Merge branch 'feat/support_per_adv_adi' into 'master'
...
feat(bt/bluedroid): Support periodic adi
Closes BLEQABR23-372
See merge request espressif/esp-idf!25546
2023-09-01 15:37:13 +08:00
liqigan
4b35ac5c2d
remove(bt/bluedroid): Remove unused macro BT_SSP_INCLUDED and global
...
variable bte_bt_appl_cfg
2023-08-31 12:28:38 +00:00
Jin Cheng
cde05ef495
fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler
2023-08-31 19:44:37 +08:00
Jiang Jiang Jian
23ebfd1420
Merge branch 'test/bqb_test_bt_classic_a2dp' into 'master'
...
feat(bt/bqb): Add setting SBC encoder and reject invalid codec type support for a2dp BQB test
Closes BT-3338
See merge request espressif/esp-idf!25484
2023-08-31 13:53:26 +08:00
Jin Cheng
6d301d11bc
fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters
2023-08-30 17:27:03 +08:00
Jin Cheng
0c4dc36695
fix(bt/bluedroid): Fixed wrong code logic in 'AT+CIND?' of HFP
2023-08-30 17:24:45 +08:00
Jin Cheng
ccfcc6a153
fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG
2023-08-30 17:24:38 +08:00
zhanghaipeng
ca2c295cca
feat(bt/bluedroid): Support periodic adv adi feature
2023-08-30 14:27:30 +08:00
gongyantao
ff353beec9
feat(bt/gap): Add new apis for bluetooth to set and get page timeout
...
1: add two new apis for classic bluetooth,
esp_bt_gap_set_page_timeout(page_to) and esp_bt_gap_get_page_timeout(),
which can get and set the value of page timeout.
2023-08-29 16:28:35 +08:00
wanglai@espressif.com
2644b3efa5
feat(bt/bqb): 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-08-25 11:15:15 +08:00
Jin Cheng
3e7a47a566
fix(bt/bluedroid): Fixed NULL Bluetooth device address in HF-AG events was reported to application layer
2023-08-25 11:11:32 +08:00
zhanghaipeng
bd2bde1448
fix(bt): Fix bugs about updating connect param
2023-08-24 14:14:35 +08:00