983 Commits

Author SHA1 Message Date
zhanghaipeng
7212e4e1a8 feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-09 15:45:10 +08:00
Rahul Tank
e5e63be1b8 Revert "fix(nimble): Added debug print to check for skipped adv report"
This reverts commit 69ad6bb5d1413bdbec77c3887d0db577453e0e40.
2024-07-05 18:10:27 +05:30
Rahul Tank
69ad6bb5d1 fix(nimble): Added debug print to check for skipped adv report 2024-07-01 15:34:05 +05:30
Jiang Jiang Jian
9a0c562b94 Merge branch 'bugfix/fix_ble_connect_fail_report_time_v5.0' into 'release/v5.0'
fix(ble/bluedroid): Fixed BLE report event when connection fails (v5.0)

See merge request espressif/esp-idf!31784
2024-07-01 14:19:55 +08:00
Rahul Tank
dc13544d53 Merge branch 'bugfix/set_correct_cb_arg_v5.0' into 'release/v5.0'
fix(nimble): Pass the correct cb arg during reconnection attempt (v5.0)

See merge request espressif/esp-idf!31720
2024-06-28 20:58:41 +08:00
zhanghaipeng
eec3f541f0 fix(ble/bluedroid): Fixed BLE report event when connection fails 2024-06-28 12:00:51 +08:00
Island
ef922dd380 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.0' into 'release/v5.0'
Fixed some BLE bugs 240620 (backport v5.0)

See merge request espressif/esp-idf!31648
2024-06-26 20:33:09 +08:00
Jiang Jiang Jian
f864a09ca6 Merge branch 'bugfix/l2cap_use_wrong_handle_v5.0' into 'release/v5.0'
fix(bt/bluedroid):  Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event(v5.0)

See merge request espressif/esp-idf!31281
2024-06-26 10:36:50 +08:00
Rahul Tank
4f0a43e039 fix(nimble): Pass the correct cb arg during reconnection attempt 2024-06-25 08:35:34 +05:30
chenjianhua
ef3c6da507 feat(bt/bluedroid): Add definition for the reason of BLE authentication failure 2024-06-24 19:48:36 +08:00
chenjianhua
b9fb0b8907 fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK 2024-06-24 19:48:36 +08:00
zwl
a76076fe14 feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-24 16:03:18 +08:00
Rahul Tank
a0824ba73c fix(nimble): Clear resource before re-starting advertising 2024-06-20 11:04:42 +05:30
xiongweichao
6ff142be7e fix(bt/bluedroid): Fixed deadlock caused by not unlocking 2024-06-17 19:02:51 +08:00
xiongweichao
4633d09ff1 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:02:51 +08:00
Rahul Tank
1ab61d2d33 fix(nimble): Added change to handle extra memory for ext adv reattempt 2024-06-14 12:08:02 +05:30
Island
9e49bf80b3 Merge branch 'bugfix/fix_ble_pktlen_change_v5.0' into 'release/v5.0'
Bugfix/fix ble pktlen change (v5.0)

See merge request espressif/esp-idf!31252
2024-06-13 11:03:31 +08:00
Abhinav Kudnar
b9205a00af fix(nimble): Added return code in ble_gap_unpair error logs 2024-06-06 10:15:38 +05:30
Rahul Tank
73fb760c8a fix(nimble): Explicitly NULL assign adv data 2024-06-04 12:17:42 +05:30
zhiweijian
1c834a6e6e feat(bt/nimble): support hci log for nimble 2024-06-03 09:53:15 +08:00
zhanghaipeng
846273356a fix(ble/bluedroid): Optimize BLE stack connect callback name 2024-06-02 19:26:38 +08:00
zhanghaipeng
1d8f0aec81 fix(ble/bluedroid): Fixed BLE no data length change event 2024-06-02 19:26:27 +08:00
Rahul Tank
f6c564115b fix(nimble): Use appendfrom to duplicate adv data 2024-06-01 20:32:18 +05:30
Rahul Tank
e049357001 fix(nimble): start advertising if disconnect due to 0x3E in slave 2024-05-29 15:40:52 +05:30
Abhinav Kudnar
b819382db2 feat(nimble): Added API to get resolve ADV data 2024-05-28 18:04:07 +08:00
Alexey Lapshin
ef4a5fda2d fix(bt): fix gcc 13.1.0 warnings 2024-05-28 15:57:46 +08:00
chenjianhua
8991f6912a feat(bt/bluedroid): support BLE set privacy mode 2024-05-22 10:46:33 +08:00
Abhinav Kudnar
63b02c9273 feat(nimble): Added API to get local used address 2024-05-16 09:47:48 +05:30
Rahul Tank
377a24d319 fix(nimble): Create separate API to only extract cb info 2024-05-15 11:03:31 +05:30
Wang Meng Yang
e8641f62e4 Merge branch 'bugfix/fix_hid_connection_failed_bug_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix HID connection bugs[backport 5.0]

See merge request espressif/esp-idf!30591
2024-05-10 12:18:50 +08:00
Rahul Tank
c211aaeeaa fix(nimble): Free controller memory if init fails 2024-05-09 12:26:04 +05:30
liqigan
eb99868b56 fix(bt/bluedroid): Fix HID Device connection failed bug
Closes https://github.com/espressif/esp-idf/issues/13671
2024-05-09 09:24:16 +08:00
liqigan
a91bee2b4c 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-09 09:24:16 +08:00
Rahul Tank
54f171ec5c fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:22:39 +05:30
Wang Meng Yang
e1dfcbc567 Merge branch 'bugfix/hf_local_param_null_v5.0' into 'release/v5.0'
fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway (v5.0)

See merge request espressif/esp-idf!30442
2024-04-30 17:25:26 +08:00
Island
961ca4f975 Merge branch 'bugfix/fix_ble_coex_assert_v5.0' into 'release/v5.0'
Update esp32 bt-lib (4012cfb)(backport v5.0)

See merge request espressif/esp-idf!30519
2024-04-28 10:48:07 +08:00
zhanghaipeng
f449df139c feat(ble/bluedroid): Support BLE command status debug log 2024-04-26 17:14:44 +08:00
zhanghaipeng
614b2bbd3f feat(ble/bluedroid): Support create BLE static random address and NRPA 2024-04-25 15:58:19 +08:00
zhanghaipeng
f0450152f2 feat(ble/bluedroid): Support BLE add device to resolving list 2024-04-25 15:58:19 +08:00
zhanghaipeng
ebf929b5f8 feat(ble/bluedroid): Support set resolvable provate address timeout by api 2024-04-25 15:58:19 +08:00
zhanghaipeng
182cbb85f8 fix(ble/bluedroid): Fixed BLE GATT max length of an attribute value 2024-04-25 15:58:19 +08:00
zhanghaipeng
1eebe9f680 fix(ble/bluedroid): Optimize BLE documentation comments to comply with Doxygen syntax 2024-04-25 15:58:19 +08:00
Jin Cheng
7fa711346a 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:45 +08:00
Rahul Tank
6bdd4be339 fix(nimble): Expose API to set RPA Timeout 2024-04-23 11:58:43 +05:30
xiongweichao
631aa85bdc fix(bt/bluedroid): Fixed crash after bluedroid deinit
hci_host_env.downstream_data_ready is set to NULL during bluedroid deinit,
causing the controller to use a null pointer when calling callback.
2024-04-18 10:53:11 +08:00
Island
4ae73b7fa7 Merge branch 'bugfix/fix_ble_appearance_v5.0' into 'release/v5.0'
Fixed BLE appearance category ranges (v5.0)

See merge request espressif/esp-idf!30287
2024-04-18 10:44:08 +08:00
Jiang Jiang Jian
d435059751 Merge branch 'bugfix/sdp_remove_record_no_evt_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed the crash caused by using illegal pointers during SDP deinit(v5.0)

See merge request espressif/esp-idf!29944
2024-04-18 10:24:58 +08:00
zhanghaipeng
e45d91c36d fix(ble/bluedroid): Fixed set BLE appearance value 2024-04-17 20:40:09 +08:00
Wang Meng Yang
6d63daac84 Merge branch 'feature/add_api_to_send_vendor_hci_cmd_v5.0' into 'release/v5.0'
Feature/add api to send vendor hci cmd v5.0 (backport v5.0)

See merge request espressif/esp-idf!30227
2024-04-16 17:49:01 +08:00
Jiang Jiang Jian
3fdc794f5d Merge branch 'bugfix/spp_crash_after_deint_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed SPP crash due to the connection not being disconnected before esp_spp_deinit was called(v5.0)

See merge request espressif/esp-idf!30083
2024-04-15 11:55:09 +08:00