Commit Graph

1416 Commits

Author SHA1 Message Date
Shen Wei Long
710ac60f2c fix(doc): set SOC_BLUFI_SUPPORTED in soc_caps.h for ESP32-C5
(cherry picked from commit 60ece6a7f2)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-03-06 16:07:36 +08:00
Island
e8e5527488 Merge branch 'feat/add_new_bluedroid_host_examples_v5.5' into 'release/v5.5'
feat(ble/bluedroid): Add new bluedroid host examples (v5.5)

See merge request espressif/esp-idf!44880
2026-03-02 10:36:29 +08:00
Rahul Tank
4f54e0e103 fix(nimble): Improve safety, fix bugs, and update docs across NimBLE examples
- Remove unused headers from examples
- Improve periodic adv/sync example functionality and readability
- Use ble_hs_id_infer_auto() instead of hardcoded BLE_OWN_ADDR_PUBLIC/RANDOM
- Add ble_hs_util_ensure_addr() calls in on_sync for proper address setup
- Use correct ext adv instance (0 instead of 1) in phy_prph, l2cap_coc, multi_conn
- Fix struct name: ble_gap_periodic_adv_enable_params -> ble_gap_periodic_adv_start_params
- Add CONFIG_BT_NIMBLE_GAP_SERVICE guards around ble_svc_gap_device_name_set
- Fix unsafe AD data parsing with bounds checks in central examples
- Fix UUID matching bugs (off-by-one loop condition and byte order) in
  phy_cent, htp_cent, and proximity_sensor_cent
- Fix ble_multi_conn_cent address type to use dynamic inference
- Remove contradictory sm_sc=0 after sm_sc=1 in ble_multi_adv
- Add CONFIG_BT_NIMBLE_EXT_ADV=y to ble_multi_adv sdkconfig defaults
- Check return values for ble_gap_set_host_feat, nimble_port_init
- Update tutorials and READMEs to match code changes
2026-02-25 13:01:35 +05:30
Rahul Tank
0990d6e03e fix(nimble): Fix various issues for security/vulnerability in host 2026-02-23 14:09:34 +05:30
Rahul Tank
641e71e265 fix(nimble): Fix ble_multi_adv example to show correct UUIDs information 2026-02-19 12:22:51 +05:30
Shreeyash
ba1360baef fix(nimble): Fix vulnerabilities in NimBLE examples 2026-02-19 10:18:38 +05:30
Astha Verma
6ad8c2667f fix(nimble): Added device name log for ext adv in blecent_throughput 2026-02-18 22:12:50 +05:30
Rahul Tank
2fcf63c746 fix(nimble): Bugfixes for various issues 2026-02-16 11:09:31 +05:30
zhiweijian
4828cc370b fix(ble/bluedroid): Change blufi sdkconfig 2026-02-09 00:05:04 +08:00
zhiweijian
2f9c222388 fix(ble/bluedroid): Change 5.0 event status 2026-02-09 00:05:04 +08:00
zhiweijian
be341ff584 feat(ble/bluedroid): Add new bluedroid host examples 2026-02-09 00:05:04 +08:00
Astha Verma
91547794a0 fix(nimble): Reset HID service during deinit 2026-01-21 16:58:16 +05:30
Jin Cheng
bdfb0f9e1d fix(bt/bluedroid): add status management for audio sink service channel 2026-01-15 09:12:31 +08:00
Rahul Tank
64150ac630 Merge branch 'bugfix/ad_type_example_v5.5' into 'release/v5.5'
fix(nimble): Add AD type macros in example (v5.5)

See merge request espressif/esp-idf!44981
2026-01-14 12:03:30 +05:30
Rahul Tank
54f5822499 fix(nimble): Add AD type macros in example 2026-01-14 10:52:00 +05:30
yangfeng
5da8d6df53 docs(bt): update Classic Bluetooth api reference of A2DP 2026-01-12 10:27:21 +08:00
Zhang Hai Peng
086ebb7ccb feat(examples/bluedroid): add BLE ACL latency measurement example
(cherry picked from commit 934970a06f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng
1af43047f6 docs(ble): add flow diagrams to bluedroid BLE examples
(cherry picked from commit 051077835c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng
a40ac062f4 refactor(examples/bluedroid): Replace hardcoded ADV type values with macros
(cherry picked from commit fdeb5ad87a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng
622990b70e feat(examples/bluedroid): Add BLE time interval conversion macros for better readability
Add macros to convert time values from milliseconds to BLE interval units:
- ESP_BLE_GAP_ADV_ITVL_MS: Convert advertising interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_ITVL_MS: Convert scan interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_WIN_MS: Convert scan window (0.625ms unit)
- ESP_BLE_GAP_CONN_ITVL_MS: Convert connection interval (1.25ms unit)
- ESP_BLE_GAP_PERIODIC_ADV_ITVL_MS: Convert periodic adv interval (1.25ms unit)
- ESP_BLE_GAP_SUPERVISION_TIMEOUT_MS: Convert supervision timeout (10ms unit)


(cherry picked from commit 7cd2f7b34d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng
9ad2dd11ad fix(ble/hci): Fix OOB read in ble_adv_scan_combined example
(cherry picked from commit c762832600)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Zhang Hai Peng
a012fee0be fix(ble/bluedroid): Added security check in example Bluedroid_GATT_Server
(cherry picked from commit a36bf7fe14)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-01-07 19:28:30 +08:00
Island
2a8fd3c4eb Merge branch 'feat/support_bluedroid_host_smp_with_psa_tinycrypt_v5.5' into 'release/v5.5'
Feat/support bluedroid host smp with psa tinycrypt v5.5

See merge request espressif/esp-idf!44787
2026-01-07 14:23:54 +08:00
zhiweijian
a48590a9f4 fix(ble/bluedroid): Replaced the psa_ api with the mbedtls_ api 2026-01-05 11:23:31 +08:00
zhiweijian
fe7b658652 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2026-01-05 10:49:16 +08:00
yangfeng
ad4943ee24 fix(bt/example): Fixed hf_ag build error 2026-01-04 18:57:46 +08:00
Wang Meng Yang
7c18387110 Merge branch 'refactor/split_a2dp_sink_v5.5' into 'release/v5.5'
refactor(examples/classic_bt): Split a2dp_sink example(v5.5)

See merge request espressif/esp-idf!44531
2026-01-04 11:59:31 +08:00
Rahul Tank
728d58ab1d Merge branch 'fix/ble_issues_29122025_v5.5' into 'release/v5.5'
fix(nimble): Fix nimble issues 29122025 (v5.5)

See merge request espressif/esp-idf!44625
2025-12-31 16:21:23 +05:30
yangfeng
59cd911a83 refactor(examples/classic_bt): Add example tests for A2DP and AVRCP examples 2025-12-30 16:54:30 +08:00
yangfeng
167f52d1ad docs: Add explanations for the A2DP sink stream and AVRCP examples
- Modify the path of A2DP sink example
2025-12-30 16:47:23 +08:00
yangfeng
809327f5fd refactor(examples/classic_bt): Add AVRCP cover art example with LCD display 2025-12-30 16:47:23 +08:00
yangfeng
7086632105 refactor(examples/classic_bt): Add common code for AVRCP cover art example 2025-12-30 16:47:23 +08:00
yangfeng
2136c80f1f refactor: Refactor the example of the coexistence of A2DP sink and GATT service 2025-12-30 16:47:23 +08:00
yangfeng
93bb32df75 refactor(examples/classic_bt): Refactor A2DP sink and AVRCP examples
- Add avrcp_ct_metadata example
- Add avrcp_absolute_volume example
- Add the example components about common code for a2dp sink and avrcp
2025-12-30 16:47:23 +08:00
Rahul Tank
e362f90277 feat(nimble): Add support for static passkey 2025-12-30 12:53:07 +05:30
Chen Yudong
dae2b988f4 ci: rename wifi_two_dut to two_duts 2025-12-30 10:53:16 +08:00
Jiang Jiang Jian
0a10858fd7 Merge branch 'feature/extend_h2_conon_num_to_70_v5.5' into 'release/v5.5'
change(ble): Updated the maximum number of concurrent connections to 70 on ESP32-H2 (v5.5)

See merge request espressif/esp-idf!43835
2025-12-30 10:31:52 +08:00
Island
09693eee8a Merge branch 'fix/ble_mesh_rpr_example_fix_v5.5' into 'release/v5.5'
fix(ble_mesh): add proper memory cleanup in composition data parsing (v5.5)

See merge request espressif/esp-idf!43840
2025-12-29 15:37:16 +08:00
Island
1d7830102e Merge branch 'feat/show_how_to_use_smp_in_blufi_example_v5.5' into 'release/v5.5'
feat(ble/blufi): Support setting BLE encryption for blufi (v5.5)

See merge request espressif/esp-idf!44143
2025-12-29 12:11:21 +08:00
Luo Xu
3dc98549f8 fix(ble_mesh): add proper memory cleanup in composition data parsing
(cherry picked from commit a45bb6c5da)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-12-26 12:06:00 +08:00
Wang Meng Yang
ac9a4272f5 Merge branch 'bugfix/bt_idf_ci_v5.5' into 'release/v5.5'
fix(bt/examples): Fixed test_bt_l2cap not finding ESP_SDP_CREATE_RECORD_COMP_EVT (v5.5)

See merge request espressif/esp-idf!43603
2025-12-26 10:30:14 +08:00
Zhang Hai Peng
c3c6304091 feat(ble/blufi): Support setting BLE encryption for blufi
(cherry picked from commit 60a028fb17)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-11 16:21:47 +08:00
Zhang Hai Peng
8739a2d82b fix(ble/bluedroid): Fix VLA in a2dp_gatts_coex example
(cherry picked from commit e741f09e0f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:20 +08:00
Zhang Hai Peng
de2b4af5bd fix(ble/bt): Add NULL check in esp_hid_device example
(cherry picked from commit 8e0f74a2cc)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:18 +08:00
Zhang Hai Peng
775b64753e fix(ble/bt): Add NULL check in esp_hid_host example
(cherry picked from commit 8b5dd75368)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:17 +08:00
Zhang Hai Peng
f67bb6c31c fix(ble/blufi): Add DH param length validation
(cherry picked from commit 773814c087)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:17 +08:00
Zhang Hai Peng
dedf21c0ae fix(ble/bluedroid): Fix memory leak in ble_spp_server example
(cherry picked from commit b6b3b81bf6)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:16 +08:00
Zhang Hai Peng
45835b025f fix(ble/bluedroid): Use calloc in gatt_server example
(cherry picked from commit e26b60090d)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:16 +08:00
Zhang Hai Peng
7ca7eb47c4 fix(ble/bluedroid): Use snprintf in ble_eddystone example
(cherry picked from commit 24e023e307)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:15 +08:00
Zhang Hai Peng
9112b87c19 fix(ble/bluedroid): Add bounds check in ble_ancs example
(cherry picked from commit 7e876249df)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-12-03 11:54:15 +08:00