zhanghaipeng
f4c6faa943
fix(bt/bluedroid): Fix BLE robost cashing config
2023-12-30 20:13:26 +08:00
Jiang Jiang Jian
bd18b8ba6a
Merge branch 'bugfix/fix_ble_app_unregister_no_event_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fix ble app unregister no event(backport v5.2)
See merge request espressif/esp-idf!28167
2023-12-29 11:08:20 +08:00
zhanghaipeng
915cb63bb1
fix(bt/bluedroid): Fix ble app unregister no event
2023-12-28 17:32:45 +08:00
zhanghaipeng
f18d887a6d
fix(bt/bluedroid): Fix BLE prepare write
2023-12-27 22:03:48 +08:00
Jin Cheng
f30d282d66
fix(bt/bluedroid): Disabled Sniff Subrating temporarily as it did not work well
2023-12-26 11:48:04 +08:00
Jin Cheng
daed0d9f3a
fix(bt/bluedroid): Changed the default air mode to invalid value
2023-12-26 11:48:04 +08:00
Jin Cheng
09db8a96f0
fix(bt/bluedroid): Removed redundant operation of SCO clean up
2023-12-26 11:48:04 +08:00
Jin Cheng
fe277d5b13
fix(bt/bluedroid): Corrected the definitions of HF Client callback events
2023-12-26 11:48:04 +08:00
Jin Cheng
659ae0ce9e
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:48:04 +08:00
Jin Cheng
77430f3e2d
fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks
2023-12-26 11:48:04 +08:00
Jiang Jiang Jian
0af120ae17
Merge branch 'fix/btc_config_lock_error_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): fixed btc_config_lock error (backport v5.2)
See merge request espressif/esp-idf!28069
2023-12-25 20:34:34 +08:00
Jiang Jiang Jian
1fb7a2ca58
Merge branch 'fix/build_error_in_compiler_performance_mode_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): fixed build error when compiler in performace mode (backport v5.2)
See merge request espressif/esp-idf!27863
2023-12-25 20:31:50 +08:00
Island
c8b5789267
Merge branch 'bugfix/ble_stack_disable_v5.2' into 'release/v5.2'
...
Bugfix/ble stack disable v5.2(backport v5.2)
See merge request espressif/esp-idf!27651
2023-12-25 18:33:25 +08:00
luomanruo
f75b4b1636
ble: support for selecting CSA#2 by menuconfig
...
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-22 14:34:30 +08:00
gongyantao
5515c890ed
fix(bt/bluedroid): fixed btc_config_lock error
2023-12-22 11:30:26 +08:00
zhanghaipeng
90c51d25e0
fix(bt/bluedroid): Fix ble gattc deregister
2023-12-19 12:02:07 +08:00
zhanghaipeng
81bc017ff6
fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid
2023-12-19 12:02:07 +08:00
gongyantao
9edbb98a2c
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:19 +08:00
Island
1f2d548fbb
Merge branch 'backport/fix_ble_menuconfig_v5.2' into 'release/v5.2'
...
Backport/fix ble menuconfig v5.2(backport v5.2)
See merge request espressif/esp-idf!27498
2023-12-07 16:25:30 +08:00
chenjianhua
7c3a604e27
fix(bt/bluedroid): Fixed add RPA to white list
2023-12-06 10:34:57 +08:00
zhanghaipeng
633dd89d4a
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate
2023-12-04 14:40:58 +08:00
zhanghaipeng
068a364a6b
fix(bt/bluedroid): Fix BLE SMP register log level
2023-12-01 17:05:23 +08:00
Jin Cheng
d28751ee7f
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in L2CAP layer
2023-11-30 19:58:38 +08:00
Jin Cheng
7a335421e1
fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in BTC layer
2023-11-30 19:58:02 +08:00
zhanghaipeng
3d2daa08cc
fix(bt/bluedroid): Fix bluedroid menuconfig
2023-11-30 10:42:04 +08:00
Jin Cheng
15b27b1749
feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic
2023-11-21 08:09:24 +00:00
Jiang Jiang Jian
26aa680b5b
Merge branch 'bugfix/add_par_check_in_ag_cind_res_v5.2' into 'release/v5.2'
...
Bugfix/add par check in ag cind res v5.2
See merge request espressif/esp-idf!27256
2023-11-21 16:08:09 +08:00
Wang Meng Yang
b1bba5fdd3
Merge branch 'bugfix/spp_deinit_crash_v5.2' into 'release/v5.2'
...
fix(bt/bluedroid): Fix the crash of invalid access to released resources (v5.2)
See merge request espressif/esp-idf!27250
2023-11-21 09:59:01 +08:00
Jiang Jiang Jian
d4b4fe85af
Merge branch 'feature/support_for_32_and_128_bit_custom_uuids_v5.2' into 'release/v5.2'
...
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs (backport v5.2)
See merge request espressif/esp-idf!27229
2023-11-20 17:00:47 +08:00
Jin Cheng
78a3ecb7ff
fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP
2023-11-20 11:58:13 +08:00
Jin Cheng
135987b339
fix(bt/bluedroid): Added some argument check in APIs of HFP AG
2023-11-20 11:57:58 +08:00
Jin Cheng
0e61201243
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:37:28 +08:00
chenjianhua
9ecfa6af81
feat(bt/bluedroid): support clear legacy advertising
2023-11-16 16:29:32 +08:00
Wang Mengyang
9036037a36
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:01 +08:00
zhanghaipeng
82052a0fc4
fix(bt/bluedroid): Fix ble keysize check
2023-11-08 19:45:38 +08:00
zhanghaipeng
41be2013fd
fix(bt/bluedroid): Fix ble adv report evt type
2023-11-08 19:45:29 +08:00
zhanghaipeng
28a8e77021
fix(bt/bluedroid): Fix BLE remove bond list status
2023-11-07 15:57:54 +08:00
Jiang Jiang Jian
04ead4c281
Merge branch 'feat/add_support_for_host_only_mode_v5.2' into 'release/v5.2'
...
Feat/add support for host only mode v5.2
See merge request espressif/esp-idf!26881
2023-11-03 20:57:33 +08:00
Wang Meng Yang
8a12837745
Merge branch 'feature/include_hf_and_ag_in_single_build_v5.2' into 'release/v5.2'
...
Feature/include hf and ag in single build v5.2
See merge request espressif/esp-idf!26873
2023-11-03 16:00:21 +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
b05df37981
feat(bt/bluedroid): Support to build HID Host and HID Device in single binary
2023-11-02 17:32:55 +08:00
Wang Mengyang
8b8c3d6204
feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary
2023-11-02 17:32:48 +08:00
Jin Cheng
b9ed6f722b
feat(bt/bluedroid): Added mode to use BlueDroid host only without Bluetooth Controller
2023-11-02 11:10:24 +08:00
zhanghaipeng
0de2c5092b
feat(bt/bluedroid): Display BLE permission check handle in error trace
2023-10-31 19:45:10 +08:00
zhanghaipeng
a2e4a3581b
feat(bt/bluedroid): Support BLE gattc notify registration number
2023-10-31 19:42:48 +08:00
zhanghaipeng
b68c026adb
fix(bt/bluedroid): Fix key size check in BLE smp
2023-10-31 19:42:34 +08:00
Zhi Wei Jian
e925665f94
Merge branch 'bugfix/fix_ble_bond_error_after_reboot' into 'master'
...
fix(ble/bluedroid): fixed BLE bond error after reboot
Closes CBLE50Y23-58
See merge request espressif/esp-idf!26392
2023-10-19 11:58:16 +08:00
zhiweijian
d86a990be5
fix(ble/bluedroid): fixed BLE bond error after reboot
2023-10-18 14:40:16 +08:00
Zhi Wei Jian
daf1fc790a
Merge branch 'bugfix/fix_dtm_test_failed_on_ble_5.0' into 'master'
...
fix(ble/bluedroid): fixed bluedroid host DTM API
Closes BLEQABR23-690 and BLECRT-42
See merge request espressif/esp-idf!26345
2023-10-18 14:04:54 +08:00
Zhang Hai Peng
ea81f4c4a3
Merge branch 'bugfix/fix_ble_bugs' into 'master'
...
Fix some BLE bugs in bluedroid host
See merge request espressif/esp-idf!26448
2023-10-16 19:27:29 +08:00
Gong Yan Tao
ce98ac87d4
Merge branch 'bugfix/unable_to_load_bonded_ble_devices_from_nvs' into 'master'
...
fix(bt&ble): fix BLE unable to load bonded device info after reboot.
Closes BT-3406
See merge request espressif/esp-idf!25535
2023-10-13 19:18:42 +08:00
zhanghaipeng
4129addca6
fix(bt/bluedroid): Fix remove resolving list error for esp32
2023-10-13 10:54:25 +08:00
zhanghaipeng
c73d7c0b60
fix(bt/bluedroid): Fix bugs in ble service change characteristic
2023-10-13 10:54:25 +08:00
zhanghaipeng
2b551b09c8
feat(bt/bluedroid): Support scan response data length zero in BLE
2023-10-13 10:54:25 +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
gongyantao
061cd29168
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-10-12 07:46:34 +00:00
zhiweijian
d3394003b5
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-12 07:42:53 +00:00
zhiweijian
43011c66d6
fix(ble/bluedroid): fixed bluedroid host DTM API
2023-10-12 07:42:53 +00:00
gongyantao
9e4c8bb76e
fix(bt/bluedroid): Add correct macro for ertm mode included flag
2023-10-11 20:19:40 +08:00
Alexey Lapshin
6a94453a18
fix(bt): fix gcc 13.1.0 warnings
2023-10-09 12:13:02 +04:00
Ivan Grokhotkov
5cd6284b6c
Merge branch 'feature/bt_component_test_app' into 'master'
...
feat(bt): migrate the tests from unit-test-app
Closes IDF-5567
See merge request espressif/esp-idf!26134
2023-10-02 23:31:03 +08: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
Zhi Wei Jian
66e720c7eb
Merge branch 'feature/add_api_to_update_config_file_path' into 'master'
...
Add API to update bluetooth config file path
See merge request espressif/esp-idf!25560
2023-09-27 18:59:35 +08:00
Jiang Jiang Jian
1f25202bb1
Merge branch 'test/bqb_test_bt_classic_hfp' into 'master'
...
feat(bt/hfp): Add support for HFP BQB auto test
Closes BT-3338, BT-3400, BT-3402, and BT-3404
See merge request espressif/esp-idf!25551
2023-09-26 15:00:11 +08:00
Ivan Grokhotkov
1fbee174af
fix(bt): fixed -Write-strings warning in btm_ble_5_gap.c
2023-09-25 15:01:29 +02:00
zhiweijian
23a20e4b27
feat(ble/bluedroid): Add API to update config file path
2023-09-25 20:58:55 +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
Wang Meng Yang
47649d5eed
Merge branch 'bugfix/fix_hid_congestion' into 'master'
...
Fix(bt/bluedroid): Fix the issue for HID congestion checking
Closes BTQABR2023-113
See merge request espressif/esp-idf!26153
2023-09-25 17:49:46 +08:00
Wang Meng Yang
3b7a37fcd4
Merge branch 'test/bqb_test_bt_classic_l2cap' into 'master'
...
feat(bt/bluedroid): Add flags for BQB auto test of L2CAP
Closes BT-3357
See merge request espressif/esp-idf!25621
2023-09-25 14:12:19 +08: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
8b1c5d3a6a
feat(bt/bluedroid): Add flag to control whether to send AT+CLIP cmd for BQB test
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
c5fa755251
feat(bt/bluedroid): Add eSCO S1 support for hfp client BQB test
2023-09-25 11:59:57 +08:00
wanglai@espressif.com
03de9d0cf7
feat(bt/bluedroid): Add flag to send BRSF features for hfp ag BQB test
2023-09-25 11:59:50 +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
wanglai@espressif.com
0860e75587
feat(bt/bluedroid): Add HFP config for BQB test
2023-09-25 11:41:18 +08:00
liqigan
eb65d0a9cd
fix(bt/bluedroid): Fix the issue for HID congestion checking
2023-09-22 16:10:08 +08:00
baohongde
c2cbb5d04c
fix(bt/bluedroid): Triggering disconnect event of GAP correctly
2023-09-22 12:14:49 +08:00
baohongde
510ddd1cbc
fix(bt/bluedroid): Fix issue of QoS configuration failure when t_poll is greater than 40
2023-09-22 12:14:32 +08:00
Wang Meng Yang
fa05598da4
Merge branch 'bugfix/hfp_api_pkt_stat_nums' into 'master'
...
fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics
Closes BTQABR2023-111
See merge request espressif/esp-idf!26020
2023-09-22 11:37:00 +08:00
chenqingqing
4705995b69
fix(bt/bluedroid): Fix the judgment condition for packet transmission status statistics
2023-09-21 14:43:52 +08:00
Wang Meng Yang
7e91e901f0
Merge branch 'feature/use_vsc_to_op_coex_st' into 'master'
...
feat(bt/Bluedroid): Implemented esp_coex_status_set/clear using vendor HCI
Closes BTQABR2023-66
See merge request espressif/esp-idf!25938
2023-09-20 16:52:51 +08:00
wanglai@espressif.com
afc7cf445e
feat(bt/bluedroid): Add flags for BQB auto test of L2CAP
...
1: add sdp_bqb_disable_flag to avoid running sdpu_build_n_send_error.
2: add sdp_bqb_inact_timeout_flag to set the SDP inactivity timeout to 90 seconds.
3: add l2cap_bqb_bad_cmd_len_rej_flag to reject the C-Frame with invalid PDU length
4: add l2cap_bqb_ertm_mode_included_flag to set L2CAP_FCR_ERTM_MODE for most L2CAP cases
2023-09-19 19:53:00 +08:00
Wang Meng Yang
10c7026053
Merge branch 'change/optimize_sniff_request' into 'master'
...
Change(bt/bluedroid): Limit sniff request when pending mode change event
Closes BTQABR2023-99
See merge request espressif/esp-idf!25873
2023-09-19 17:42:26 +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
Wang Meng Yang
4db3a589e3
Merge branch 'origin/test/bqb_test_bt_classic_avdtp' into 'master'
...
feat(bt/bqb): Add avdt abort function for BQB test
Closes BT-3340
See merge request espressif/esp-idf!25681
2023-09-19 08:40:06 +08:00
Jiang Jiang Jian
284edcc52c
Merge branch 'bugfix/fix_ble_set_periodic_advertising_data_error' into 'master'
...
fix(bt/bluedroid): Fix set periodic advertising data error
Closes BLERP-39
See merge request espressif/esp-idf!25955
2023-09-15 10:28:43 +08:00
Jiang Jiang Jian
ca78f8b925
Merge branch 'bugfix/bugfix_for_esp32c2_esp32c6_esp32h2' into 'master'
...
fix(ble): fixed crash when memory is insufficient on esp32c2
Closes BLERP-9, BLERP-10, BLERP-11, BLERP-13, and BLERP-12
See merge request espressif/esp-idf!25823
2023-09-14 10:43:27 +08:00
Wang Meng Yang
965af359ba
Merge branch 'bugfix/error_param_in_BTA_AG_WBS_EVT' into 'master'
...
Bugfix/error param in bta ag wbs evt
Closes BTQABR2023-102 and BTQABR2023-103
See merge request espressif/esp-idf!25913
2023-09-13 19:55:03 +08:00
zhanghaipeng
c7212fdef1
fix(bt/bluedroid): Fix set periodic advertising data error
2023-09-13 16:58:34 +08:00
Bao Hong De
e5739ddd45
Merge branch 'bugfix/set_eir_when_no_eir_data' into 'master'
...
change(bt/bluedroid): Send a name tag with zero length when there is no EIR data
Closes BTQABR2023-100
See merge request espressif/esp-idf!25805
2023-09-13 14:05:14 +08:00
Jin Cheng
d0e0928138
feat(bt/Bluedroid): Implemented esp_coex_status_set/clear using vendor HCI
2023-09-13 10:55:04 +08:00
Jin Cheng
62f6af0dd7
fix(bt/bluedroid): Fixed incorrect arrangement in type esp_hf_dial_type_t
2023-09-12 06:53:11 +00: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
Jin Cheng
9fed90bbb4
fix(bt/bluedroid): Fixed the issue of uninitialized parameters in event BTA_AG_WBS_EVT
2023-09-12 06:53:11 +00:00
Wang Meng Yang
d7ab94eeb9
Merge branch 'test/bqb_test_bt_classic_sdp' into 'master'
...
feat(bt/bluedroid): Add language base attr list to SDP record for BQB test
Closes BT-3352
See merge request espressif/esp-idf!25622
2023-09-12 07:38:25 +08:00
wanglai@espressif.com
6421460c0a
feat(bt/bluedroid): Add avdt abort function for BQB test
...
1: add new AVDTP abort function for BQB test
2023-09-11 17:06:33 +08:00