Commit Graph

3086 Commits

Author SHA1 Message Date
Darshan Dobariya
4d0c8e8a35 fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value (v5.0) 2023-12-16 15:31:45 +05:30
Rahul Tank
83ebd694fa fix(nimble): Added NULL peer addr check 2023-12-16 13:22:59 +05:30
Rahul Tank
6161d7732f Merge branch 'bugfix/fix_duplicate_exception_vsc_v5.0' into 'release/v5.0'
fix(nimble): Fix the parameters in duplicate exception list vsc command(v5.0)

See merge request espressif/esp-idf!27559
2023-12-16 15:47:16 +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
Rahul Tank
259006a8c3 fix(nimble): Fix the parameters in duplicate exception list vsc command 2023-12-15 15:56:19 +05:30
Rahul Tank
d31cb0d0cd fix(nimble): Add support for VSC to clear legacy adv memory
Legacy adv does not have an API for clear adv memory in controller.
 Added VSC for same.
2023-12-14 17:41:19 +05:30
Jiang Jiang Jian
9fe3bf2a3c Merge branch 'bugfix/fix_ble_clear_white_list_v5.0' into 'release/v5.0'
Fixed add(remove) RPA to(from) white list on ESP32C3(65db61f)(backport 5.0)

See merge request espressif/esp-idf!27757
2023-12-08 19:09:05 +08:00
chenjianhua
32d3bf7919 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(65db61f)
- Fixed remove and clear white list
2023-12-08 13:40:44 +08:00
Abhinav Kudnar
2d14933dbc fix(nimble): Handled IRK/LTK deletion based on key availability. 2023-12-07 13:47:16 +05:30
chenjianhua
259e8ab25b fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
- Fixed assert when llcp instant passed
2023-12-04 17:09:50 +08:00
chenjianhua
19919a2222 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(70ab55f)
- Fixed assert for instant passed workaround
- Fixed add RPA to white list
- Fixed AES encryption for RPA resolution
2023-12-04 17:09:38 +08:00
chenjianhua
52333aeac9 fix(bt/bluedroid): Fixed add RPA to white list 2023-12-04 17:09:28 +08:00
Jiang Jiang Jian
1d611df0b5 Merge branch 'bugfix/alarm_args_double_free_v5.0' into 'release/v5.0'
Bugfix/alarm args double free v5.0

See merge request espressif/esp-idf!27539
2023-12-04 14:57:21 +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
luomanruo
b147fcad42 ble: update sdkconfig_version on ESP32C2, ESP32H2 and ESP32C6 2023-11-24 20:17:28 +08:00
luomanruo
69e7b56c48 ble:
Update c2 lib to 79ed4e8a
2023-11-24 19:20:54 +08:00
Rahul Tank
94c90c71bc fix(nimble): Added check to validate allowed random address 2023-11-23 10:37:54 +05:30
Jiang Jiang Jian
20d82594d7 Merge branch 'bugfix/ble_gap_connect_v5.0' into 'release/v5.0'
fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-variable 'reattempt_idx'.(v5.0)

See merge request espressif/esp-idf!26950
2023-11-23 12:03:59 +08:00
Jiang Jiang Jian
a5c2e40416 Merge branch 'bugfix/ble_update_lib_1110_5.0' into 'release/v5.0'
Bugfix/ble update lib 1110 5.0

See merge request espressif/esp-idf!27063
2023-11-23 11:05:29 +08:00
Jiang Jiang Jian
5c1f5f2522 Merge branch 'bugfix/add_par_check_in_ag_cind_res_v5.0' into 'release/v5.0'
Bugfix/add par check in ag cind res v5.0

See merge request espressif/esp-idf!27258
2023-11-23 10:48:16 +08:00
Abhinav Kudnar
2e833a6a12 fix(nimble):Handled the Load access fault crash caused due to an invalid setting of index-varible 'reattempt_idx'. 2023-11-22 19:39:55 +05:30
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
Jin Cheng
9998c2bd82 fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP 2023-11-22 09:21:59 +00:00
Jin Cheng
4c8502e00d fix(bt/bluedroid): Added some argument check in APIs of HFP AG 2023-11-22 09:21:59 +00:00
luomanruo
1c0fb3bb4a ble(fix): deinit crash issue 2023-11-22 03:13:43 +00:00
luomanruo
1c261213d7 ble: update controller log module 2023-11-22 03:13:43 +00:00
luomanruo
30cd76b0f0 ble: update c2 lib to db4e1fb2 2023-11-22 03:13:43 +00:00
luomanruo
977b7f4bdb ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
2023-11-22 03:13:43 +00: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
Jiang Jiang Jian
6c9c30f125 Merge branch 'bugfix/coex_deprecate_config_rename_v5.0' into 'release/v5.0'
fix(esp_coex): Fix deprecated configuration options not rename to new one (Backport v5.0)

See merge request espressif/esp-idf!27092
2023-11-22 11:07:00 +08:00
Jiang Jiang Jian
13fdffbe98 Merge branch 'bugfix/pairing_when_enc_with_no_key_fails_v5.0' into 'release/v5.0'
fix(nimble): Initate pairing if encryption fails with reason no pin or key missing (v5.0)

See merge request espressif/esp-idf!27018
2023-11-22 10:47:22 +08:00
Island
6d77fe9b79 Merge branch 'backport/fix_ble_scan_rsp_v5.0' into 'release/v5.0'
Backport/fix ble scan rsp v5.0(backport v5.0)

See merge request espressif/esp-idf!27006
2023-11-21 12:15:09 +08:00
chenjianhua
50b49d856f fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2758518)
- Fixed power state setting when entering modem sleep
2023-11-15 17:16:46 +08:00
chenjianhua
cd242a5e3e Update bt lib for ESP32-C3 and ESP32-S3(f817304)
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-15 17:16:19 +08:00
zhanghaipeng
6bf79dfa8f fix(ble/controller): Fix bugs in setting adv data and scan response data 2023-11-15 17:16:08 +08:00
chenjianhua
905da8f5bf update esp32 bt-lib (6458728)
- Modify mesh proxy solic uuid to 0x18590303
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-15 17:15:16 +08:00
chenjianhua
8cc73fe6bf feat(bt/bluedroid): support clear legacy advertising 2023-11-15 17:12:40 +08:00
linruihao
27acfa5377 fix(esp_coex): Fix deprecated configuration options not rename to new one 2023-11-13 14:38:38 +08:00
Wang Mengyang
ee53260db8 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:17 +08:00
Rahul Tank
6ff708aa91 fix(nimble): Initate pairing if encryption fails with reason no pin or key missing 2023-11-09 11:52:16 +05:30
zhanghaipeng
44f7c7f6bb fix(bt/bluedroid): Fix ble keysize check 2023-11-08 19:47:32 +08:00
zhanghaipeng
ef444d6a1b fix(bt/bluedroid): Fix ble adv report evt type 2023-11-08 19:47:26 +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
Island
02089b1825 Merge branch 'bugfix/ble_update_lib_1027_5.0' into 'release/v5.0'
ble: update c2 lib to 1d31e175

See merge request espressif/esp-idf!26713
2023-11-02 14:11:34 +08:00
Jiang Jiang Jian
2aa66f5188 Merge branch 'bugfix/fix_ble_bond_error_after_reboot_v5.0' into 'release/v5.0'
fix(ble/bluedroid): fixed BLE bond error after reboot (backport v5.0)

See merge request espressif/esp-idf!26721
2023-11-02 12:10:57 +08:00
Rahul Tank
2b5f344a21 fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file 2023-11-01 17:40:22 +05:30
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