Commit Graph

1186 Commits

Author SHA1 Message Date
zwl
6c097b5812 feat(bluetooth/controller): optimize bt hci layer code 2024-07-09 20:43:47 +08:00
Island
048f297a44 Merge branch 'bugfix/split_hci_log_in_nimble' into 'master'
fix(bt/nimble): split hci log in nimble

Closes IDFCI-2192, BLERP-849, and BLERP-852

See merge request espressif/esp-idf!31936
2024-07-09 15:28:46 +08:00
zhanghaipeng
1325c835fe feat(ble/bluedroid): Support BLE50 instance in related event 2024-07-08 11:05:15 +08:00
zhiweijian
b925142b16 fix(bt/nimble): split hci log in nimble 2024-07-08 10:05:02 +08:00
Rahul Tank
fad07af40a Revert "fix(nimble): Added debug print to check for skipped adv report"
This reverts commit 48e54f2d958aafae96cee52ef34a560382e06b60.
2024-07-05 15:56:09 +05:30
Rahul Tank
065c0319dd Merge branch 'bugfix/ble_gap_pairing_complete' into 'master'
fix(nimble): Fix the sequence of pairing complete event

See merge request espressif/esp-idf!31630
2024-07-03 17:04:32 +08:00
Abhinav Kudnar
62ef4515c7 fix(nimble): Fix the sequence of pairing complete event 2024-07-01 12:43:37 +05:30
Rahul Tank
3cfc7b1ec9 fix(nimble): Added debug print to check for skipped adv report 2024-06-28 18:35:12 +05:30
Rahul Tank
b1c8757b9f Merge branch 'bugfix/set_correct_cb_arg' into 'master'
fix(nimble): Pass the correct cb arg during reconnection attempt

Closes IDFCI-2207

See merge request espressif/esp-idf!31629
2024-06-28 20:52:41 +08:00
Rahul Tank
986f6246fd fix(nimble): Pass the correct cb arg during reconnection attempt 2024-06-25 08:25:09 +05:30
zwl
842e3b13a2 feat(bluetooth/controller): adjust bt/porting code structure and delete redundant code 2024-06-21 14:58:35 +08:00
Rahul Tank
0cfefb8a42 Merge branch 'bugfix/free_memory_before_reattempt' into 'master'
fix(nimble): Clear resource before re-starting advertising

Closes BT-3776

See merge request espressif/esp-idf!31548
2024-06-19 18:40:22 +08:00
chenjianhua
5aae8dc53c feat(bt/bluedroid): Add definition for the reason of BLE authentication failure 2024-06-18 20:11:39 +08:00
Rahul Tank
df54b0ff12 fix(nimble): Clear resource before re-starting advertising 2024-06-18 10:33:10 +08:00
Jiang Jiang Jian
2152f07bc3 Merge branch 'bugfix/fix_no_mem_coex_issue' into 'master'
fix(nimble): Added change to handle extra memory for ext adv reattempt

See merge request espressif/esp-idf!31443
2024-06-13 14:31:34 +08:00
Island
27f06bef11 Merge branch 'bugfix/fix_ble_set_adv_param_check' into 'master'
Bugfix/fix ble set adv param check

Closes BLERP-739

See merge request espressif/esp-idf!30745
2024-06-13 11:04:09 +08:00
Island
54da44509c Merge branch 'bugfix/fix_ble_security_param' into 'master'
fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization

Closes IDFGH-12909

See merge request espressif/esp-idf!31304
2024-06-13 11:03:22 +08:00
Rahul Tank
23d88abbfb fix(nimble): Added change to handle extra memory for ext adv reattempt 2024-06-12 15:10:49 +05:30
Abhinav Kudnar
cefcba9910 fix(nimble): Added return code in ble_gap_unpair error logs 2024-06-05 09:32:49 +05:30
zhanghaipeng
42ca04b586 fix(ble/bluedroid): Fixed issue with resetting BLE security parameters during initialization 2024-06-05 11:40:58 +08:00
Rahul Tank
bd3fddc6b3 fix(nimble): Explicitly NULL assign adv data 2024-06-03 18:08:20 +05:30
Rahul Tank
c7bbfaee25 Merge branch 'bugfix/copy_ext_adv_data_reattempt' into 'master'
fix(nimble): Use appendfrom to duplicate adv data

See merge request espressif/esp-idf!31224
2024-06-01 18:56:22 +08:00
Wang Meng Yang
809f1e347b Merge branch 'bugfix/l2cap_use_wrong_handle' into 'master'
fix(bt/bluedroid):  Fixed the issue of using the wrong handle to handle the BTA_JV_L2CAP_READ_EVT event

Closes IDFGH-12886

See merge request espressif/esp-idf!31098
2024-05-31 17:47:05 +08:00
Rahul Tank
82bb1a79e4 fix(nimble): Use appendfrom to duplicate adv data 2024-05-31 11:55:13 +05:30
Rahul Tank
e9a857f2cc fix(nimble): Added change to free memory in case of failure 2024-05-29 14:55:43 +05:30
Rahul Tank
90960d58c6 feat(nimble): Revert support for Enhanced ATT "
This reverts commit f265e50ca0.
2024-05-29 12:39:25 +05:30
xiongweichao
a3d3b74e35 fix(bt/bluedroid): Fixed deadlock caused by not unlocking 2024-05-27 19:36:17 +08:00
xiongweichao
0b0d316d4c 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-05-27 19:34:46 +08:00
Abhinav Kudnar
4eb0fef079 feat(nimble): Added API to get resolve ADV data 2024-05-27 16:48:35 +05:30
Island
43af0fbe1d Merge branch 'bugfix/fix_blecrt_147' into 'master'
fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK

See merge request espressif/esp-idf!30825
2024-05-27 14:56:21 +08:00
zhiweijian
9946315a5f feat(bt/nimble): support hci log for nimble 2024-05-24 14:51:06 +08:00
Rahul Tank
946d25a884 Merge branch 'bugfix/restart_advertising_if_slave_23e' into 'master'
fix(nimble): start advertising if disconnect due to 0x3E in slave

Closes BLERP-618 and BLERP-757

See merge request espressif/esp-idf!30707
2024-05-23 20:17:37 +08:00
chenjianhua
7e975ee805 fix(bt/bluedroid): Fixed BLE security vulnerability when using fixed IRK 2024-05-23 17:26:07 +08:00
Rahul Tank
3df54c5178 fix(nimble): start advertising if disconnect due to 0x3E in slave 2024-05-22 12:53:29 +05:30
chenjianhua
f573cd09ab feat(bt/bluedroid): support BLE set privacy mode 2024-05-21 19:53:43 +08:00
Sumeet Singh
f265e50ca0 feat(nimble): Added support for Enhanced ATT or ATT over Enhanced L2CAP Credit Based Flow Control Mode 2024-05-17 12:27:32 +05:30
Konstantin Kondrashov
28e592563c Merge branch 'feature/unuse_old_log_apis' into 'master'
feat(all): Remove usage old log macros

See merge request espressif/esp-idf!30598
2024-05-16 13:57:06 +08:00
Rahul Tank
57e8031e65 Merge branch 'feature/get_local_used_addr' into 'master'
feat(nimble): Added API to get local used address

See merge request espressif/esp-idf!30595
2024-05-16 12:14:38 +08:00
Rahul Tank
4d873e3c9f fix(nimble): Remove ESP IP dependancy on enc_adv_data example 2024-05-15 15:27:11 +05:30
Konstantin Kondrashov
668886842f feat(all): Remove usage old log macros 2024-05-15 15:25:30 +08:00
Abhinav Kudnar
c1787c24bd feat(nimble): Added API to get local used address 2024-05-15 12:12:04 +05:30
Rahul Tank
fca1c0fa3b fix(nimble): Create separate API to only extract cb info 2024-05-14 17:15:49 +05:30
zhanghaipeng
afca005778 fix(ble/bluedroid): Fixed BLE set adv param check 2024-05-11 11:13:40 +08:00
Rahul Tank
d42058de17 fix(nimble): Free controller memory if init fails 2024-05-08 09:57:22 +05:30
Island
705c21d38e Merge branch 'feat/display_ble_controller_init_status' into 'master'
feat(ble/controller): Display BLE controller init status for ESP32 and ESP32-C3/S3

Closes BLERP-728

See merge request espressif/esp-idf!30651
2024-05-08 10:28:31 +08:00
zhanghaipeng
fc9290d8a2 fix(ble/bluedroid): Fixed BLE spelling error in word 2024-05-07 16:24:27 +08:00
zhanghaipeng
b270f0abc3 feat(ble/bluedroid): Add BLE memory allocation failure message 2024-05-07 15:32:11 +08:00
Rahul Tank
5791913b85 Merge branch 'bugfix/disable_mbedtls_options' into 'master'
fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used

See merge request espressif/esp-idf!30497
2024-05-07 12:37:42 +08:00
Island
498cf723f0 Merge branch 'bugfix/fix_ble_pktlen_change' into 'master'
Bugfix/fix ble pktlen change

Closes BLERP-726

See merge request espressif/esp-idf!30630
2024-05-07 09:28:27 +08:00
Rahul Tank
4b4602d846 fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:15:36 +05:30