255 Commits

Author SHA1 Message Date
Jin Cheng
4ea87de8cf fix(bt/bluedroid): fixed AG and HF client cannot enter/exit sniff mode 2024-11-08 10:02:50 +08:00
Jin Cheng
cfc7340393 Revert "Disable sniff mode during (e)SCO connection."
This reverts commit 39a5eb84f3c6e48cce8cecd25927ad6b1e0fe383.
2024-11-08 10:02:50 +08:00
chenjianhua
f45e76d906 fix(bt/bluedroid): Fixed GATTC app status check when BT and BLE coexist 2024-11-03 06:04:26 +08:00
Chen Jian Hua
2f7419e06d feat(bt/bluedroid): Added API to set supported channel selection algorithm
(cherry picked from commit 4ae7b4aecf473b96113284b096e5f1b95f2f4b2e)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-11-03 06:04:26 +08:00
xiongweichao
1b19449dc0 feat(bt/bluedroid): Report sniff interval to application layer 2024-09-27 14:16:16 +08:00
Jiang Jiang Jian
36b9357ef7 Merge branch 'bugfix/fix_sdp_bugs_v5.1' into 'release/v5.1'
Bugfix/fix sdp bugs[backport 5.1]

See merge request espressif/esp-idf!33604
2024-09-20 14:13:42 +08:00
liqigan
0b2bf46463 fix(bt/bluedroid): Fixed not deep copy service_name and user1_ptr in RAW SDP search event 2024-09-18 16:42:22 +08:00
liqigan
3ee6b9e051 change(bt/bluedroid): Limited SDP service discovery operation 2024-09-18 16:42:07 +08:00
liqigan
340cc81c02 change(bt/bluedroid): Release record data after SDP record created 2024-09-18 16:41:57 +08:00
linruihao
35ff605f35 fix(bt/bluedroid): Fixed some bugs in AVRCP 2024-09-18 11:26:34 +08:00
Wang Meng Yang
c86c53dd64 Merge branch 'contrib/github_pr_14286_v5.1' into 'release/v5.1'
fix(bt): Add a parameter in the two least significant bits of Class of Device (backport v5.1)

See merge request espressif/esp-idf!33166
2024-09-02 09:34:51 +08:00
chenqingqing
5fa5a1327c fix(bt/bluedroid): Fix default codec type on PCM datapath for hfp_hf 2024-08-28 17:01:50 +08:00
chenqingqing
20990096b2 fix(bt): Add a parameter in the two least significant bits of Class of Device 2024-08-28 16:52:03 +08:00
Island
d7bf5a1eac Merge branch 'bugfix/fix_ble_security_param_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization (v5.1)

See merge request espressif/esp-idf!32507
2024-08-02 17:31:28 +08:00
zhanghaipeng
3a163fe2cf fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization 2024-08-01 16:18:05 +08:00
zhanghaipeng
2330510635 fix(ble/bluedroid): Fix incorrect state issue when unregistering BLE GATTC application 2024-07-30 19:12:40 +08:00
zhanghaipeng
bea98fdd1e fix(ble/bluedroid): Fixed BLE cannot create connection 2024-07-26 10:38:10 +08:00
xiongweichao
5a8f272660 fix(bt/bluedroid): Fix SPP crash after deinit
- The disconnection event comes up after spp disable is completed, so a null pointer is used.
2024-06-03 10:24:00 +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
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
zhanghaipeng
2e34e6c02c fix(ble/bluedroid): Fixed BLE crash when repeatedly initialize and deinitialize host 2024-03-11 18:01:27 +08:00
Jiang Jiang Jian
2e9916bf7c Merge branch 'feat/support_get_bluedroid_status_v5.1' into 'release/v5.1'
Support get status of bluedroid host (backport v5.1)

See merge request espressif/esp-idf!28882
2024-02-28 11:14:10 +08:00
chenjianhua
4e4f494ca7 feat(bt/bluedroid): Support get status of bluedroid host 2024-02-04 16:50:36 +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
zhanghaipeng
22bdd07668 fix(ble/bluedroid): Fix BLE background connection log level 2024-01-22 20:55:23 +08:00
Jiang Jiang Jian
bc2389029c Merge branch 'bugfix/fix_ble_app_unregister_no_event_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix ble app unregister no event(backport v5.1)

See merge request espressif/esp-idf!28175
2023-12-29 16:03: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
zhanghaipeng
7755e6190c fix(bt/bluedroid): Fix ble app unregister no event 2023-12-28 19:10:10 +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
5f621c33da fix(bt/bluedroid): Removed redundant operation of SCO clean up 2023-12-26 11:51:32 +08:00
Jin Cheng
bf7e27d126 fix(bt/bluedroid): Corrected the definitions of HF Client callback events 2023-12-26 11:51:32 +08:00
Jiang Jiang Jian
925e3e2ed5 Merge branch 'fix/build_error_in_compiler_performance_mode_v5.1' into 'release/v5.1'
fix(bt/bluedroid): fixed build error when compiler in performace mode (backport v5.1)

See merge request espressif/esp-idf!27864
2023-12-21 11:30:38 +08:00
Island
fae6ce0e7d Merge branch 'bugfix/ble_stack_disable_v5.1' into 'release/v5.1'
Bugfix/ble stack disable v5.1(backport v5.1)

See merge request espressif/esp-idf!27650
2023-12-19 12:00:04 +08:00
zhanghaipeng
103656e7a2 feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-12-18 11:51:29 +08:00
zhanghaipeng
55409e2395 fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid 2023-12-18 11:47:50 +08:00
zhanghaipeng
bd1dc8dfaf fix(bt/bluedroid): Fix ble gattc deregister 2023-12-14 17:53:22 +08:00
gongyantao
407376b6e6 fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 19:04:27 +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
chenjianhua
aaf6f7433d feat(bt/bluedroid): support clear legacy advertising 2023-11-16 16:39:33 +08:00
Jiang Jiang Jian
55f5b427ee Merge branch 'bugfix/build_error_when_enable_ag_and_hf_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled (v5.1)

See merge request espressif/esp-idf!27077
2023-11-14 15:36:42 +08:00
Wang Mengyang
8f24e2731f 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:08 +08:00
zhanghaipeng
568919e1c3 feat(bt/bluedroid): Support BLE gattc notify registration number 2023-10-31 14:38:42 +08:00
zhanghaipeng
bb587cd763 fix(bt/bluedroid): Fix key size check in BLE smp 2023-10-31 14:38:42 +08:00