xiongweichao
69729d4639
fix(bt/bluedroid): Fixed deadlock caused by not unlocking
2024-06-17 19:03:05 +08:00
xiongweichao
3eb54ad307
fix(bt/bluedroid): Fixed L2CAP using wrong handle
...
- Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event.
- Closes https://github.com/espressif/esp-idf/issues/13847
2024-06-17 19:03:05 +08:00
zhanghaipeng
2f14db087d
fix(ble/bluedroid): Fixed BLE no data length change event
2024-06-02 19:23:56 +08:00
Wang Meng Yang
7046477541
Merge branch 'bugfix/fix_hid_connection_failed_bug_v5.1' into 'release/v5.1'
...
fix(bt/bluedroid): Fix HID connection bugs[backport 5.1]
See merge request espressif/esp-idf!30590
2024-05-28 15:19:35 +08:00
chenjianhua
6678996170
feat(bt/bluedroid): support BLE set privacy mode
2024-05-22 19:25:50 +08:00
zhanghaipeng
af59333eb5
feat(ble/bluedroid): Support BLE add device to resolving list
2024-05-22 19:23:24 +08:00
zhanghaipeng
c075708e0b
feat(ble/bluedroid): Support set resolvable provate address timeout by api
2024-05-22 19:21:31 +08:00
liqigan
970029c2f4
fix(bt/bluedroid): Fix HID Device connection failed bug
...
Closes https://github.com/espressif/esp-idf/issues/13671
2024-05-20 10:44:29 +08:00
liqigan
cf2bd8029d
fix(bt/bluedroid): Fix HID Host connection bugs
...
1. Fix is_orig value inconsistency for HIDH open event
2. Fix the error state for repeat connection of the same device
2024-05-20 10:44:29 +08:00
Jiang Jiang Jian
af5579d3f2
Merge branch 'bugfix/hf_local_param_null_v5.1' into 'release/v5.1'
...
fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway (v5.1)
See merge request espressif/esp-idf!30441
2024-05-13 11:00:04 +08:00
Wang Meng Yang
7f127429d3
Merge branch 'bugfix/sdp_remove_record_no_evt_v5.1' into 'release/v5.1'
...
fix(bt/bluedroid): Fixed the crash caused by using illegal pointers during SDP deinit(v5.1)
See merge request espressif/esp-idf!29943
2024-05-13 10:18:47 +08:00
Jin Cheng
c38a3544ca
fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway in its initialization when dynamic memory is wnabled
2024-04-24 08:28:15 +08:00
zhiweijian
070f6b4c9a
feat(bt/bluedroid): add api to setnd vendor hci command
2024-04-13 12:57:55 +08:00
zhiweijian
fc5bd26340
feat(ble/bluedroid): Add APIs for BLE direct test mode on bluedroid host
2024-04-13 11:45:04 +08:00
xiongweichao
67137791cd
fix(bt/bluedorid): Fixed crash caused by using illegal pointer
2024-04-07 19:08:41 +08:00
xiongweichao
75c0c89de3
fix(bt/bluedorid): Fixed no event when removing an invalid SDP record
2024-04-07 19:08:41 +08:00
Jin Cheng
0fcd6a7c73
feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module
2024-03-14 10:53:11 +08:00
thekurtovic
2fc2876109
fix(bt/bluedroid): Fixed "reprot" typo in esp_ble_gap_ext_adv_reprot_t
2024-03-11 18:03:26 +08:00
xiongweichao
05d196938d
fix(bt/bluedroid): Fixed SPP connection failure
...
The connection failure is caused by the BTU and application layer status being out of sync.
2024-01-30 15:42:39 +08:00
Jiang Jiang Jian
82bfc1de86
Merge branch 'bugfix/crash_in_btc_hf_init_v5.1' into 'release/v5.1'
...
fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization (v5.1)
See merge request espressif/esp-idf!28117
2023-12-29 12:01:51 +08:00
Jin Cheng
9d41ed6546
feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic
2023-12-26 20:21:15 +08:00
Jin Cheng
885c070eb8
fix(bt/bluedroid): Changed the default air mode to invalid value
2023-12-26 11:51:32 +08:00
Jin Cheng
94faa4a112
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-12-26 11:51:32 +08:00
Jin Cheng
3c088db873
fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks
2023-12-26 11:51:32 +08:00
Jin Cheng
244a3f892e
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in L2CAP layer
2023-12-26 11:04:46 +08:00
Jin Cheng
0d5d7cbff7
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in BTC layer
2023-12-26 11:04:46 +08:00
gongyantao
83a99d954d
fix(bt/bluedroid): fixed btc_config_lock error
2023-12-22 11:30:39 +08:00
zhanghaipeng
103656e7a2
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate
2023-12-18 11:51:29 +08:00
Jiang Jiang Jian
d5e87fed74
Merge branch 'bugfix/spp_deinit_crash_v5.1' into 'release/v5.1'
...
fix(bt/bluedroid): Fix the crash of invalid access to released resources (v5.1)
See merge request espressif/esp-idf!27251
2023-11-22 17:45:48 +08:00
Wang Meng Yang
00936f9434
Merge branch 'feature/support_for_32_and_128_bit_custom_uuids_v5.1' into 'release/v5.1'
...
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs (backport v5.1)
See merge request espressif/esp-idf!27230
2023-11-20 14:07:56 +08:00
Ilia Lutchenko
71d08e38db
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-17 15:57:28 +08:00
Jin Cheng
ac4ee1d2d6
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-17 10:38:55 +08:00
chenjianhua
aaf6f7433d
feat(bt/bluedroid): support clear legacy advertising
2023-11-16 16:39:33 +08:00
Jiang Jiang Jian
378bb1f0d1
Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs_v5.1' into 'release/v5.1'
...
fix(bt&ble): fix BLE unable to load bonded device info after reboot. (backport v5.1)
See merge request espressif/esp-idf!26465
2023-11-14 15:10:38 +08:00
Jin Cheng
716a47074a
feat(bt/bluedroid): Support to build HID Host and HID Device in single binary
2023-11-01 19:32:13 +08:00
Wang Mengyang
8d9035c202
feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary
2023-11-01 19:31:18 +08:00
gongyantao
f54e3ebea4
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-20 14:44:54 +08:00
wanglai@espressif.com
8e58ffbd16
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:04 +08:00
wanglai@espressif.com
8098e3a9ce
feat(bt/bluedroid): Add flag to change HFP client features for BQB test
2023-09-26 15:10:04 +08:00
wanglai@espressif.com
d1c701bfaa
feat(bt/bluedroid): Modify the btc hf features for AT+NREC cmd in BQB test
2023-09-26 15:10:04 +08:00
wanglai@espressif.com
768e15afc5
fix(bt/bluedroid): Fix the process of sending OK in ATD and COPS cmds
2023-09-26 15:10:04 +08:00
wanglai@espressif.com
e989d9eb32
feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client
2023-09-26 15:10:04 +08:00
wanglai@espressif.com
e1ead7ae40
feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example
2023-09-26 15:10:04 +08:00
Wang Meng Yang
c7132d3f15
Merge branch 'bugfix/error_param_in_BTA_AG_WBS_EVT_v5.1' into 'release/v5.1'
...
Bugfix/error param in bta ag wbs evt (v5.1)
See merge request espressif/esp-idf!26001
2023-09-19 12:01:11 +08:00
liqigan
1963f75fa7
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:12:35 +08:00
Jin Cheng
36ba902bfe
change(bt/bluedroid): Added line information printing when error occurs CHECK_HF_IDX
2023-09-11 19:45:30 +08:00
Jiang Jiang Jian
680a254b18
Merge branch 'bugfix/hf_ag_report_event_with_null_bdaddr_v5.1' into 'release/v5.1'
...
Bugfix/fixed bugs of HFP in BlueDroid (v5.1)
See merge request espressif/esp-idf!25827
2023-09-11 10:54:09 +08:00
chenqingqing
7e406acb95
feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent
2023-09-08 00:52:07 +00:00
Jin Cheng
26600a8fcf
fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler
2023-09-08 00:52:07 +00:00
Jin Cheng
71ec923e55
fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters
2023-09-08 00:52:07 +00:00