Commit Graph

1067 Commits

Author SHA1 Message Date
Rahul Tank
1d23173715 fix(nimble): Zero initialize variable to avoid garbage value 2024-07-26 21:33:00 +05:30
zhanghaipeng
bea98fdd1e fix(ble/bluedroid): Fixed BLE cannot create connection 2024-07-26 10:38:10 +08:00
Rahul Tank
0095bc4b7f fix(nimble): Fixed BLE security vulnerability when using fixed IRK 2024-07-18 09:55:33 +05:30
zwl
c2bf1ff2b5 feat(bluetooth/controller): update nimble host to adapt hci layer 2024-07-16 13:23:41 +08:00
zwl
d7838290e5 feat(bluetooth/controller): optimize bt hci layer code 2024-07-16 13:23:41 +08:00
Island
dc859c1e67 Merge branch 'feat/add_ble50_instant_v5.1' into 'release/v5.1'
Some checks failed
docker / docker (push) Has been cancelled
Add support for BLE 5.0 instances in related events (v5.1)

See merge request espressif/esp-idf!31992
2024-07-12 14:52:56 +08:00
zhanghaipeng
0c82c90bca fix(ble/bluedroid): Fixed BLE set adv param check 2024-07-10 12:24:37 +08:00
zhiweijian
3cac5c4fdd fix(bt/nimble): split hci log in nimble 2024-07-09 16:40:06 +08:00
zhanghaipeng
67e1325377 feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-09 15:38:44 +08:00
Rahul Tank
e922e49f85 Revert "fix(nimble): Added debug print to check for skipped adv report"
This reverts commit 634412e20c.
2024-07-05 18:09:25 +05:30
Rahul Tank
634412e20c fix(nimble): Added debug print to check for skipped adv report 2024-07-01 15:33:53 +05:30
Jiang Jiang Jian
abc703a0dd Merge branch 'bugfix/fix_ble_connect_fail_report_time_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fixed BLE report event when connection fails (v5.1)

See merge request espressif/esp-idf!31783
2024-07-01 14:20:09 +08:00
Jiang Jiang Jian
6b60fc715f Merge branch 'bugfix/crash_after_bluedroid_deinit_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed controller using null pointer after bluedroid deinit(v5.1)

See merge request espressif/esp-idf!30328
2024-07-01 10:20:53 +08:00
Rahul Tank
c98f32ecb9 Merge branch 'bugfix/set_correct_cb_arg_v5.1' into 'release/v5.1'
fix(nimble): Pass the correct cb arg during reconnection attempt (v5.1)

See merge request espressif/esp-idf!31719
2024-06-28 21:00:58 +08:00
zhanghaipeng
6f08290f3d fix(ble/bluedroid): Fixed BLE report event when connection fails 2024-06-28 12:00:45 +08:00
Island
4efd577c19 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BLE bugs 240620 (backport v5.1)

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

See merge request espressif/esp-idf!31280
2024-06-26 10:41:21 +08:00
Island
cf072a4fe3 Merge branch 'feat/optimize_bt_porting_layer_0619_v5.1' into 'release/v5.1'
Feat/optimize bt porting layer 0619 (v5.1)

See merge request espressif/esp-idf!31674
2024-06-25 14:18:32 +08:00
Rahul Tank
0edef52a67 fix(nimble): Pass the correct cb arg during reconnection attempt 2024-06-25 08:32:14 +05:30
chenjianhua
3730b0a9af feat(bt/bluedroid): Add definition for the reason of BLE authentication failure 2024-06-24 17:59:01 +08:00
chenjianhua
5eed961113 fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK 2024-06-24 17:59:01 +08:00
zwl
5fe68c206e feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-24 11:31:40 +08:00
Rahul Tank
b482d04fb6 fix(nimble): Clear resource before re-starting advertising 2024-06-20 11:02:46 +05:30
xiongweichao
b63bcef8e0 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-06-17 19:03:47 +08:00
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
Rahul Tank
58a9d0e27b Merge branch 'bugfix/fix_no_mem_coex_issue_v5.1' into 'release/v5.1'
fix(nimble): Added change to handle extra memory for ext adv reattempt (v5.1)

See merge request espressif/esp-idf!31502
2024-06-14 20:04:19 +08:00
Rahul Tank
d5c4973bd3 fix(nimble): Added change to handle extra memory for ext adv reattempt 2024-06-14 12:05:09 +05:30
Island
e3c4c76b17 Merge branch 'bugfix/fix_ble_pktlen_change_v5.1' into 'release/v5.1'
Bugfix/fix ble pktlen change (v5.1)

See merge request espressif/esp-idf!31251
2024-06-13 11:03:41 +08:00
Abhinav Kudnar
5694eb354f fix(nimble): Added return code in ble_gap_unpair error logs 2024-06-05 12:10:41 +05:30
Wang Meng Yang
50599a62f5 Merge branch 'bugfix/spp_crash_after_deint_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed SPP crash due to the connection not being disconnected before esp_spp_deinit was called(v5.1)

See merge request espressif/esp-idf!30081
2024-06-04 19:34:40 +08:00
Rahul Tank
6ab57bbcc4 fix(nimble): Explicitly NULL assign adv data 2024-06-04 12:16:12 +05:30
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
zhiweijian
42aa1be457 feat(bt/nimble): support hci log for nimble 2024-06-03 09:48:51 +08:00
zhanghaipeng
9d5f956e87 fix(ble/bluedroid): Optimize BLE stack connect callback name 2024-06-02 19:25:12 +08:00
zhanghaipeng
2f14db087d fix(ble/bluedroid): Fixed BLE no data length change event 2024-06-02 19:23:56 +08:00
Rahul Tank
3b5c0b7d73 fix(nimble): Added change to free memory in case of failure 2024-05-31 12:09:32 +05:30
Rahul Tank
ebe0b3f40c Merge branch 'feature/ble_resolve_adv_data_v5.1' into 'release/v5.1'
feat(nimble): Added API to get resolve ADV data (v5.1)

See merge request espressif/esp-idf!30952
2024-05-29 13:51:39 +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
Island
2daa497ba0 Merge branch 'feat/add_api_to_set_privacy_mode_v5.1' into 'release/v5.1'
feat(bt/bluedroid): support BLE set privacy mode (v5.1)

See merge request espressif/esp-idf!31027
2024-05-27 14:56:15 +08:00
Abhinav Kudnar
8df917bde9 feat(nimble): Added API to get resolve ADV data 2024-05-24 11:56:21 +05:30
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
zhanghaipeng
c488cc4b6a fix(ble/bluedroid): Fixed BLE GATT max length of an attribute value 2024-05-22 18:03:47 +08:00
zhanghaipeng
6427524d9b fix(ble/bluedroid): Optimize BLE documentation comments to comply with Doxygen syntax 2024-05-22 18:03:41 +08:00
Rahul Tank
29dcca6c7c fix(nimble): start advertising if disconnect due to 0x3E in slave 2024-05-22 12:58:27 +05:30
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
Abhinav Kudnar
7a7aeff0c9 feat(nimble): Added API to get local used address 2024-05-16 09:50:04 +05:30