Commit Graph

1083 Commits

Author SHA1 Message Date
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
Rahul Tank
a86e6ea6e9 Merge branch 'doc/update_readme_enc_adv_v5.1' into 'release/v5.1'
docs(nimble): Added chip information in enc_adv example README file (v5.1)

See merge request espressif/esp-idf!30775
2024-05-16 12:12:02 +08:00
Rahul Tank
82b9984816 Merge branch 'bugix/avoid_reset_extract_cb_v5.1' into 'release/v5.1'
fix(nimble): Avoid slave instance reset inside extract_cb (v5.1)

See merge request espressif/esp-idf!30489
2024-05-16 12:01:57 +08:00
Rahul Tank
8abb343778 docs(nimble): Added chip information in ble_enc_adv README file 2024-05-15 15:32:55 +05:30
Rahul Tank
8cf7043e28 Merge branch 'bugfix/disable_mbedtls_options_v5.1' into 'release/v5.1'
fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used (v5.1)

See merge request espressif/esp-idf!30620
2024-05-15 14:17:56 +08:00
Rahul Tank
d72ba104ca fix(nimble): Create separate API to only extract cb info 2024-05-15 11:06:10 +05:30
Rahul Tank
9ac8768650 fix(nimble): Free controller memory if init fails 2024-05-13 12:00:16 +05:30
Island
cb98558051 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BT and BLE bugs 2404 (backport v5.1)

See merge request espressif/esp-idf!30784
2024-05-13 14:01:24 +08:00
Rahul Tank
7ad7f84f0f Merge branch 'bugfix/fix_ble_issues_5.1' into 'release/v5.1'
fix(nimble): Bugfix/fix ble issues 5.1

See merge request espressif/esp-idf!30246
2024-05-13 13:55:15 +08:00
Jiang Jiang Jian
af5579d3f2 Merge branch 'bugfix/hf_local_param_null_v5.1' into 'release/v5.1'
fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway (v5.1)

See merge request espressif/esp-idf!30441
2024-05-13 11:00:04 +08:00
Jiang Jiang Jian
80de3e63a9 Merge branch 'bugfix/fix_ble_appearance_v5.1' into 'release/v5.1'
Fixed BLE appearance category ranges (v5.1)

See merge request espressif/esp-idf!30286
2024-05-13 10:43:05 +08:00
Jiang Jiang Jian
ffbb69e9d5 Merge branch 'change/add_convt_from_hci_state_to_esp_state_v5.1' into 'release/v5.1'
change(bt/bluedroid): Use BTC util to convert HCI status to ESP status (v5.1)

See merge request espressif/esp-idf!29922
2024-05-13 10:37:35 +08:00
Wang Meng Yang
7f127429d3 Merge branch 'bugfix/sdp_remove_record_no_evt_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fixed the crash caused by using illegal pointers during SDP deinit(v5.1)

See merge request espressif/esp-idf!29943
2024-05-13 10:18:47 +08:00
Rahul Tank
12fd2435ea fix(nimble): Expose API to set RPA Timeout 2024-05-12 13:50:14 +05:30
Sumeet Singh
bce9b7ad4b fix(nimble): Removed code for termination upon signed write operation failure 2024-05-12 13:50:14 +05:30
Rahul Tank
e4083fd321 fix(nimble): Fix compilation issues when CCCD is set to 0 2024-05-12 13:50:14 +05:30
Rahul Tank
d7bfdee87b fix(nimble): Fix for Vulnerability CVE_2024_24746 2024-05-12 13:50:14 +05:30
Rahul Tank
fec0bb07f6 fix(nimble): Add support for data length change evt 2024-05-12 13:50:14 +05:30
Rahul Tank
28f8c9d228 fix(nimble): Fix the size of num_packets in dtm event 2024-05-12 13:50:14 +05:30
Rahul Tank
0bda7fb520 fix(nimble): Remove extra code in reattempt connection 2024-05-12 13:50:14 +05:30
Rahul Tank
d8e072fd8a fix(nimble): Change reconnection scheme 2024-05-12 13:50:14 +05:30
Rahul Tank
7ff783db6a fix(nimble): Handle auto connection flag for extended connect 2024-05-12 13:50:14 +05:30
Darshan Dobariya
26eb624879 fix(nimble): Added support for deleting the oldest bonded device across reboot 2024-05-12 13:50:14 +05:30
Roshan Bangar
a51364c76f fix(nimble): Fix compilation issues and Minor enhancements to esp_hid 2024-05-12 13:50:14 +05:30
Roshan Bangar
0e0ac035dd fix(nimble): Fixed compilation issues on disabling security 2024-05-12 13:50:14 +05:30
zhanghaipeng
db06b4ac2a feat(ble/bluedroid): Support BLE command status debug log 2024-05-11 14:40:24 +08:00
Rahul Tank
63ae667750 fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:21:05 +05:30
Jin Cheng
c38a3544ca 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:15 +08:00
zhanghaipeng
151976a2c2 fix(ble/bluedroid): Fixed set BLE appearance value 2024-04-17 20:40:44 +08:00
zhiweijian
45f5714beb fix(ble/bluedroid): Fixed adv not restart due to disconnection reason 0x3e 2024-04-13 15:41:49 +08:00
zhiweijian
cc2e293d7c feat(bt/common): Add bluerooth hci layer data stream record 2024-04-13 15:41:15 +08:00
zhiweijian
070f6b4c9a feat(bt/bluedroid): add api to setnd vendor hci command 2024-04-13 12:57:55 +08:00
zhiweijian
eefcec929e fix(ble/bluedroid): fixed bluedroid host DTM API 2024-04-13 11:47:44 +08:00
zhiweijian
fc5bd26340 feat(ble/bluedroid): Add APIs for BLE direct test mode on bluedroid host 2024-04-13 11:45:04 +08:00
xiongweichao
67137791cd fix(bt/bluedorid): Fixed crash caused by using illegal pointer 2024-04-07 19:08:41 +08:00
xiongweichao
75c0c89de3 fix(bt/bluedorid): Fixed no event when removing an invalid SDP record 2024-04-07 19:08:41 +08:00
Jin Cheng
1dc8ace8c7 change(bt/bluedroid): Use BTC util to convert HCI status to ESP status 2024-03-28 10:19:00 +08:00
Alexey Lapshin
4325d5c9c5 fix(bt): fix gcc 13.1.0 warnings 2024-03-18 14:55:22 +05:30
Jin Cheng
0fcd6a7c73 feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-03-14 10:53:11 +08:00
Darshan Dobariya
86ec111525 fix(nimble): Added ble_host_rpa_enabled flag for address resoultion for esp32 2024-03-12 20:53:43 +05:30
Rahul Tank
a4916eb8a6 Merge branch 'bugfix/fix_strict_prototype_hid_v5.1' into 'release/v5.1'
fix(nimble): Address compilation errors when strict-prototype is enabled (v5.1)

See merge request espressif/esp-idf!29541
2024-03-12 23:00:59 +08:00
Rahul Tank
f93025b7f9 Merge branch 'feat/exposed_gap_service_macros_to_menuconfig_v5.1' into 'release/v5.1'
feat(nimble): Exposed macros used by GAP service to menuconfig (v5.1)

See merge request espressif/esp-idf!29505
2024-03-12 12:22:23 +08:00
Jiang Jiang Jian
b0fb3bbe01 Merge branch 'bugfix/fix_some_ble_bugs_240310_v5.1' into 'release/v5.1'
Bugfix/fix some ble bugs 240310 v5.1(backport v5.1)

See merge request espressif/esp-idf!29518
2024-03-12 10:56:25 +08:00
Jiang Jiang Jian
8519d3c509 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.1' into 'release/v5.1'
Fixed some BLE bugs 2403 (backport v5.1)

See merge request espressif/esp-idf!29466
2024-03-12 10:54:06 +08:00
Rahul Tank
dc384fcb4d Merge branch 'bugfix/gap_connect_failed_with_0x0d_v5.1' into 'release/v5.1'
fix(nimble): Revise the help section for the Kconfig macro BLE_RPA_TIMEOUT (v5.1)

See merge request espressif/esp-idf!29493
2024-03-11 23:10:55 +08:00
Rahul Tank
e78e9a9558 Merge branch 'bugfix/expose_baud_rate_in_menu_v5.1' into 'release/v5.1'
fix(nimble): Exposed the baud rate for hci uart in menuconfig (v5.1)

See merge request espressif/esp-idf!29489
2024-03-11 20:09:45 +08:00
Sumeet Singh
74e3970cfe feat(nimble): Exposed macros used by GAP service to menuconfig (v5.1) 2024-03-11 17:25:30 +05:30
Rahul Tank
ab7708bdee fix(nimble): Address compilation errors when strict-prototype is enabled 2024-03-11 17:22:13 +05:30
chenjianhua
b5425ffa5c feat(bt/bluedroid): Add ext adv and privacy status check 2024-03-11 18:03:26 +08:00
thekurtovic
2fc2876109 fix(bt/bluedroid): Fixed "reprot" typo in esp_ble_gap_ext_adv_reprot_t 2024-03-11 18:03:26 +08:00
chenjianhua
7d197cfd0d fix(bt/bluedroid): Fixed crash when calculating GATTS database hash 2024-03-11 18:03:26 +08:00
zhanghaipeng
672775bc17 fix(ble/bluedroid): Fixed BLE BLE periodic advertising parameter check 2024-03-11 18:01:27 +08:00
zhanghaipeng
2e34e6c02c fix(ble/bluedroid): Fixed BLE crash when repeatedly initialize and deinitialize host 2024-03-11 18:01:27 +08:00
Abhinav Kudnar
0a3407f379 fix(nimble): Revise the help section for the Kconfig macro BLE_RPA_TIMEOUT 2024-03-11 10:22:02 +05:30
Roshan Bangar
88605c0ae0 fix(nimble): Exposed the baud rate for hci uart in menuconfig 2024-03-11 10:20:43 +05:30
Sumeet Singh
e5058945ea feat(nimble): read multiple variable length characteristics (v5.1) 2024-03-11 10:19:31 +05:30
Jiang Jiang Jian
603268efe1 Merge branch 'bugfix/update_spp_doc_v5.1' into 'release/v5.1'
docs(bt/bluedroid): update API documents of SPP (v5.1)

See merge request espressif/esp-idf!29171
2024-03-05 10:49:24 +08:00
Rahul Tank
c1f26cca62 Merge branch 'bugfix/increase_reattempt_conn_count_v5.1' into 'release/v5.1'
fix(nimble): Increase range of reattempt connection count (v5.1)

See merge request espressif/esp-idf!29341
2024-03-04 19:44:11 +08:00
Roshan Bangar
86aaec48a0 fix(nimble): fixed missing controller disabled guard in esp_nimble_deinit 2024-03-01 12:54:53 +05:30
Rahul Tank
fbbf6d2708 fix(nimble): Merge hci_common.h file for all chips 2024-03-01 12:54:53 +05:30
Roshan Bangar
39c27275c8 feat(nimble): Nimble Host only mode over uart 2024-03-01 12:54:53 +05:30
SumeetSingh19
85befcc45d feat(nimble): client presentation and aggregate format descriptor support 2024-03-01 12:54:53 +05:30
SumeetSingh19
90c029494f feat(nimble): signed write support 2024-03-01 12:54:53 +05:30
SumeetSingh19
0dbfe37505 feat(nimble): additional AD types for advertisements 2024-03-01 12:54:53 +05:30
SumeetSingh19
5b0c32e37f feat(nimble): authorization permission on gatt read and write 2024-03-01 12:54:53 +05:30
SumeetSingh19
b62d94b2a4 fix(nimble): allow auto connection and observer role 2024-03-01 12:54:53 +05:30
Rahul Tank
d771840189 fix(nimble): Increase range of reattempt connection count 2024-02-29 15:57:46 +05:30
Jin Cheng
cc9932c7ef docs(bt/bluedroid): update API documents of SPP 2024-02-28 16:22:15 +08:00
Island
7cfe2274d2 Merge branch 'bugfix/fix_ble_max_reconnect_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration(backport v5.1)

See merge request espressif/esp-idf!29223
2024-02-28 15:41:08 +08:00
Jiang Jiang Jian
2e9916bf7c Merge branch 'feat/support_get_bluedroid_status_v5.1' into 'release/v5.1'
Support get status of bluedroid host (backport v5.1)

See merge request espressif/esp-idf!28882
2024-02-28 11:14:10 +08:00
Jiang Jiang Jian
956797efbd Merge branch 'feature/gatt_caching_support_v5.1' into 'release/v5.1'
feat(nimble): Gatt caching support (v5.1)

See merge request espressif/esp-idf!28512
2024-02-28 10:44:38 +08:00
Jiang Jiang Jian
f9db462a46 Merge branch 'bugfix/fix_dangling_pointer_in_remove_bond_list_section_v5.1' into 'release/v5.1'
fix(bt/bluedroid): fix dangling pointer issue when logging removed section (backport v5.1)

See merge request espressif/esp-idf!28962
2024-02-27 20:01:11 +08:00
Jiang Jiang Jian
69900de25d Merge branch 'bugfix/ble_bug_backport_20240205_v5.1' into 'release/v5.1'
Bugfix/ble bug backport 20240205 v5.1 (backport v5.1)

See merge request espressif/esp-idf!28900
2024-02-27 20:00:24 +08:00
zhanghaipeng
12131f4b8a fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration 2024-02-23 15:51:05 +08:00
gongyantao
aad082a795 fix(bt/bluedroid): fix dangling pointer issue when logging remove section 2024-02-07 14:58:08 +08:00
zhiweijian
fd8bfba10a Fixed xQueueSemaphoreTask assert when deinit host during scan 2024-02-05 16:06:37 +08:00
chenjianhua
4e4f494ca7 feat(bt/bluedroid): Support get status of bluedroid host 2024-02-04 16:50:36 +08:00
chenjianhua
ad7a2831b2 feat(bt/bluedroid): Make the max number of bond device to be configurable 2024-02-04 16:50:18 +08:00
xiongweichao
05d196938d fix(bt/bluedroid): Fixed SPP connection failure
The connection failure is caused by the BTU and application layer status being out of sync.
2024-01-30 15:42:39 +08:00
Roshan Bangar
30f01c33e1 feat(nimble): Gatt caching support 2024-01-25 09:59:03 +05:30
Island
e4ae078224 Merge branch 'bugfix/ble_check_adv_data_v5.1' into 'release/v5.1'
fix(bt/bluedroid): Fix ble adv data check to avoid memory overflow(backport v5.1)

See merge request espressif/esp-idf!28406
2024-01-25 12:06:02 +08:00
Island
7d45bbef63 Merge branch 'bugfix/fix_ble_memory_leak_v5.1' into 'release/v5.1'
fix(ble/bluedroid): Fix ble memory leak when gattc config off(backport v5.1)

See merge request espressif/esp-idf!28496
2024-01-25 11:59:13 +08:00
Island
4fd3de1ce8 Merge branch 'bugfix/fix_some_ble_issue_v5.1' into 'release/v5.1'
Bugfix/fix some ble issue v5.1(backport v5.1)

See merge request espressif/esp-idf!28616
2024-01-25 11:59:02 +08:00
Zeke Gustafson
5fa653771f feat(ble/bluedroid): Add getter for BLE GAP callback 2024-01-22 20:56:03 +08:00
Zeke Gustafson
8dbfff100e feat(ble/bluedroid): Add getter for BLE GATTS callback 2024-01-22 20:55:56 +08:00