1335 Commits

Author SHA1 Message Date
Astha Verma
e142d1c760 fix(nimble): Enhanced error handling by adding to print core error definitions 2025-02-13 08:56:33 +05:30
Astha Verma
f1ecb0a72f fix(nimble): fix NVS corruption 2025-02-12 10:51:51 +05:30
Rahul Tank
f7e86fa548 fix(nimble): Fixed warnings with COMPILTER_WARN_WRITE_STRINGS set 2025-02-10 21:51:37 +05:30
Rahul Tank
ed91973947 Merge branch 'fix/wifi_provisioning_ble_v5.3' into 'release/v5.3'
fix(nimble): Handle nested locks when BT_NIMBLE_DEBUG enabled (v5.3)

See merge request espressif/esp-idf!36498
2025-02-10 23:58:37 +08:00
Jiang Jiang Jian
489d7a2b3a Merge branch 'change/default_value_for_esp_coex_vsc_in_bluedroid_v5.3' into 'release/v5.3'
change(bt): Set default value for BT_BLUEDROID_ESP_COEX_VSC conditionally (v5.3)

See merge request espressif/esp-idf!36735
2025-02-10 16:43:54 +08:00
Wang Mengyang
c7c0def473 change(bt): Set default value for BT_BLUEDROID_ESP_COEX_VSC conditionally
- Set default value of BT_BLUEDROID_ESP_COEX_VSC to n if software coexistence is not required,
in host-controller combined Bluetooth stack configuration.
2025-02-07 10:47:59 +08:00
Astha Verma
25b965deba fix(nimble): Handle nested locks when BT_NIMBLE_DEBUG enabled 2025-02-05 14:49:57 +05:30
Wang Mengyang
72cde9aee5 change(bt): Remove unused state variable for (e)SCO disconnect reason in Bluedroid 2025-02-05 10:08:58 +08:00
Rahul Tank
c089950c8b fix(nimble): Fix compilation issues for different flag combinations 2025-01-15 10:11:23 +05:30
Abhinav Kudnar
eb4ce28bfc feat(nimble): Additional changes in PAWR IDF Examples/support for ESP IP 2025-01-10 17:13:32 +05:30
Rahul Tank
4fda5fd142 fix(nimble): Fixed a typo in Kconfig file 2025-01-10 17:13:17 +05:30
Astha Verma
b0adb3acac fix(nimble): Added HCI_Read_Remote_Version_Information command 2025-01-10 17:13:02 +05:30
Rahul Tank
45141eb6be fix(nimble): Clear our and peer security records during unpair 2025-01-10 17:12:36 +05:30
Jiang Jiang Jian
3b9242212c Merge branch 'fix/blufi_example_mem_access_v5.3' into 'release/v5.3'
fix(ble/blufi): Fixed blufi example security issue (v5.3)

See merge request espressif/esp-idf!36163
2025-01-09 11:48:31 +08:00
Rahul Tank
3d36093651 fix(nimble): Corrected storing method of csfc to nvs 2025-01-06 10:58:30 +05:30
Zhang Hai Peng
a43f3c46e2 fix(ble/bluedroid): Fixed BLE feature selection configuration
(cherry picked from commit 117aa74705456d69715fcf690a9b5dbc9bce0ce7)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:14:21 +08:00
Zhang Hai Peng
e631e58963 docs(ble/bluedroid): Added BLE log when bond info was deleted
(cherry picked from commit c9cdf51b059abb42f621242efb40234ee536f2ad)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:13:55 +08:00
Zhang Hai Peng
ed51c0b6b2 docs(ble/bluedroid): Optimize doc for registering BLE callback functions
(cherry picked from commit d84ccadf905bcaadcfbdee0b61e8875775ff716f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-01-06 11:13:53 +08:00
Rahul Tank
6e5a8865de fix(nimble): Address few coverity reported issues
1. Overflowed constant (INTEGER_OVERFLOW): Added change to typecast
value
2. Structurally dead code: Removed dead code
3. Resource leak: Added a free for allocated memory, in case of failure
4. too_few_printf_args: Corrected print statement to pass arguments
5. Fixed nesting levels
6. Fixed unused value warnings
7. Illegal memory access fix
2025-01-03 17:55:41 +05:30
Abhinav Kudnar
1c195041d2 fix(nimble): Save the gatt context in case of preemption 2024-12-30 20:00:05 +08:00
Rahul Tank
cc83b057b9 fix(nimble): Fix compilation issue for combination of Ext Adv and Reattempt conn flag 2024-12-30 14:27:57 +05:30
Rahul Tank
c889978a12 Merge branch 'bugfix/force_att_tx_q_cleanup_v5.3' into 'release/v5.3'
fix(nimble): Add ATT Tx queue cleanup during link disconnection (v5.3)

See merge request espressif/esp-idf!36006
2024-12-27 20:07:59 +08:00
Rahul Tank
8a2ba98b8b fix(nimble): Add ATT Tx queue cleanup during link disconnection 2024-12-26 12:57:10 +05:30
Chen Jian Hua
d366629761 Merge branch 'refactor/optimize_ble_gatt_api_doc' into 'master'
refactor(bt/bluedroid): Optimize BLE GATT related APIs reference

See merge request espressif/esp-idf!34650

(cherry picked from commit 19b5381c9920a30d1288779181a26df3394c2527)

7320c77d refactor(bt/bluedroid): Optimize BLE GATT related APIs reference
8a80617c refactor(bt/bluedroid): Optimize BLE GATT related APIs reference
0ac97e98 refactor(bt/bluedroid): Optimize BLE GATT related APIs reference
27b17c69 refactor(bt/bluedroid): Optimize BLE GATT related APIs reference
ea8d7686 docs: Update gattc & gatts api header files
f508772f Apply 3 suggestion(s) to 2 file(s)
03469b52 Apply 2 suggestion(s) to 1 file(s)
aa2cf7a5 docs: fix minor issue
46dc6e96 docs(ble): Replaced "closed" with "terminated" for physical connection.

Co-authored-by: Wei Yu Han <weiyuhan@espressif.com>
2024-12-24 15:19:59 +08:00
Rahul Tank
3e9375e9f9 fix(nimble): Fix compilation issues when BLE_MAX_STORE_BOND is set to 0 2024-12-22 15:20:59 +05:30
Shreeyash
cb108dd39b fix(nimble): Added a check for invalid offset 2024-12-22 11:58:24 +05:30
shreeyash
8f6aac5d17 fix(nimble): Updated peer OTA address type 2024-12-21 21:18:02 +05:30
Astha Verma
c8d452638c fix(nimble): fix memory leak issue in Blufi example 2024-12-21 16:31:45 +05:30
Astha Verma
6d88cae54d fix(nimble): Updated function to print HCI opcode with error definition 2024-12-21 09:25:55 +05:30
Abhinav Kudnar
19931368cf fix(nimble): Changing esp_rom_printf to ESP_LOGI when memory allocation fails 2024-12-20 21:45:12 +05:30
Rahul Tank
27fb5d47ff Merge branch 'bugfix/fix_link_estab_param_v5.3' into 'release/v5.3'
fix(nimble): Corrected link_estab event handling parameters (v5.3)

See merge request espressif/esp-idf!35808
2024-12-21 00:05:46 +08:00
Rahul Tank
749d70e159 fix(nimble): Corrected link_estab event handling parameters 2024-12-19 16:04:25 +05:30
chenjianhua
fffc222122 fix(bt/bluedroid): Fixed LE channel selection algorithm event reporting 2024-12-18 11:49:52 +08:00
Chen Jian Hua
12efe83588 fix(bt/bluedroid): Fixed setting perfer conn params complete event report
(cherry picked from commit 4b352d1c4f3a669999ee6127fbc1c6c38bc81501)

Co-authored-by: xuzhekai <xuzhekai@espressif.com>
2024-12-18 11:33:32 +08:00
Chen Jian Hua
a8a8df15c2 fix(bt/bluedroid): Fixed failure to get host status when host is not enabled
(cherry picked from commit 23455ea9c209c431a05bbaf8fed94335571cb713)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-12-12 12:33:39 +08:00
Chen Jian Hua
651568f73a feat(bt/bluedroid): Added config for saving BLE bonding keys to NVS
(cherry picked from commit 6d1160b2e61a3e782699cb14fb0f70c05b121b30)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-12-12 12:33:37 +08:00
Rahul Tank
c46dac6d2a Merge branch 'bugfix/fix_vulnerability_v5.3' into 'release/v5.3'
fix(nimble): Fixes for security vulnerabilities reported in NimBLE (v5.3)

See merge request espressif/esp-idf!35500
2024-12-11 16:44:44 +08:00
Jiang Jiang Jian
e3940cb354 Merge branch 'feat/add_profile_state_event_v5.3' into 'release/v5.3'
feat(bt/bluedroid): added events to indicate the profile states of HFP (v5.3)

See merge request espressif/esp-idf!35149
2024-12-09 15:39:57 +08:00
Rahul Tank
c0828595ff fix(nimble): Fixes for security vulnerabilities reported in NimBLE 2024-12-09 10:13:41 +05:30
Astha Verma
8060769801 fix(nimble): Added a function for printing HCI error definition 2024-12-07 07:55:45 +05:30
Abhinav Kudnar
03655d6d67 feat(nimble): Added PAwR support for nimble with IDF examples 2024-12-06 21:09:04 +05:30
Sumeet Singh
8b7cb01545 fix(nimble): Added
1. Option to disable automatic discovery when receiving out-of-sync
2. Fixed bugs related to robust caching
2024-12-06 21:08:47 +05:30
Sumeet Singh
a33bfe628f feat(nimble): Added ways to enable/disable some menuconfig options at runtime 2024-12-06 21:08:47 +05:30
Sumeet Singh
c56a0e45c8 feat(nimble): Added option to disable automatically sending extra credits to peer 2024-12-06 21:08:47 +05:30
Sumeet Singh
0253aad7c6 feat(nimble): Added support for persisting csf characteristic for bonded devices 2024-12-06 21:08:47 +05:30
Sumeet Singh
c3911c4817 feat(nimble): Added option in menuconfig to enable Secure Connections Only mode 2024-12-06 21:08:47 +05:30
Sumeet Singh
5d8f076745 fix(nimble): fix and enable connection subrating 2024-12-06 21:08:47 +05:30
Sumeet Singh
360e9e20d8 fix(nimble): Added option to enable code under Enhanced COC 2024-12-06 21:08:47 +05:30
Sumeet Singh
c74465664d fix(nimble): Fixed Device Information and Scan Parameters service 2024-12-06 21:08:46 +05:30
Sumeet Singh
9f1c2cad6e fix(nimble): Fixed encrypted advertisement data example 2024-12-06 21:08:46 +05:30