Commit Graph

421 Commits

Author SHA1 Message Date
Rahul Tank 20fd3c99a3 Merge branch 'bugfix/ad_type_example' into 'master'
fix(nimble): Add AD type macros in example

See merge request espressif/esp-idf!44916
2026-01-14 12:01:48 +05:30
Rahul Tank 5b01ed8100 fix(nimble): Add AD type macros in example 2026-01-14 09:59:38 +05:30
Jin Cheng 4adb4b9010 fix(bt/bluedroid): add status management for audio sink service channel 2026-01-12 19:16:33 +08:00
Island a8cfb404e5 Merge branch 'fix/change_some_example_config' into 'master'
feat(ble/bluedroid): Add new bluedroid host examples (master)

Closes BLERP-2492

See merge request espressif/esp-idf!44896
2026-01-08 21:03:13 +08:00
zhiweijian ce72e90291 feat(ble/bluedroid): Add new bluedroid host examples 2026-01-08 12:17:26 +08:00
yangfeng 322984c0cb docs(bt): update Classic Bluetooth api reference of A2DP 2026-01-07 20:18:02 +08:00
zhiweijian ac80bbe285 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2025-12-31 19:55:17 +08:00
Island 590be5f98d Merge branch 'bugfix/fix_ble_security_issue_2025_v3' into 'master'
fix(ble/bluedroid): Fix type mismatch and length validation in HCI packet parser

Closes BLERP-2496, BLERP-2494, BLERP-2495, BLERP-2497, and BLERP-2498

See merge request espressif/esp-idf!43903
2025-12-30 10:33:16 +08:00
zhanghaipeng 051077835c docs(ble): add flow diagrams to bluedroid BLE examples 2025-12-28 17:32:01 +08:00
zhanghaipeng 934970a06f feat(examples/bluedroid): add BLE ACL latency measurement example 2025-12-28 17:31:49 +08:00
zhanghaipeng fdeb5ad87a refactor(examples/bluedroid): Replace hardcoded ADV type values with macros 2025-12-28 16:40:37 +08:00
zhanghaipeng 7cd2f7b34d 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)
2025-12-28 11:19:39 +08:00
yangfeng 3b6b7e8a60 fix(examples/classic_bt): Add A2DP sink delay for AVRCP cover art and absolute volume examples 2025-12-25 11:25:20 +08:00
yangfeng dc4b0828f6 refactor(examples/classic_bt): Add example tests for A2DP and AVRCP examples 2025-12-19 11:31:15 +08:00
yangfeng 09e448710b docs: Add explanations for the A2DP sink stream and AVRCP examples
- Modify the path of A2DP sink example
2025-12-19 11:31:15 +08:00
yangfeng e7073b25d5 refactor(examples/classic_bt): Add AVRCP cover art example with LCD display 2025-12-19 11:31:15 +08:00
yangfeng 8ace46d440 refactor(examples/classic_bt): Add common code for AVRCP cover art example 2025-12-19 11:31:15 +08:00
yangfeng d15acf8a80 refactor: Refactor the example of the coexistence of A2DP sink and GATT service 2025-12-19 11:31:15 +08:00
yangfeng bb46db736c 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-19 11:31:15 +08:00
zhanghaipeng e741f09e0f fix(ble/bluedroid): Fix VLA in a2dp_gatts_coex example 2025-11-27 20:00:55 +08:00
zhanghaipeng b6b3b81bf6 fix(ble/bluedroid): Fix memory leak in ble_spp_server example 2025-11-27 18:04:54 +08:00
zhanghaipeng e26b60090d fix(ble/bluedroid): Use calloc in gatt_server example 2025-11-27 18:04:43 +08:00
zhanghaipeng 24e023e307 fix(ble/bluedroid): Use snprintf in ble_eddystone example 2025-11-27 18:04:32 +08:00
zhanghaipeng 7e876249df fix(ble/bluedroid): Add bounds check in ble_ancs example 2025-11-27 18:04:22 +08:00
Island 470db615fb Merge branch 'feat/show_how_to_use_smp_in_blufi_example' into 'master'
feat(ble/blufi): Support setting BLE encryption for blufi

Closes BLERP-2232 and DOC-13032

See merge request espressif/esp-idf!41779
2025-11-24 10:31:03 +08:00
zhanghaipeng 60a028fb17 feat(ble/blufi): Support setting BLE encryption for blufi 2025-11-21 16:41:33 +08:00
yangfeng 43808ef7a9 fix(bt/examples): Fixed test_bt_l2cap not finding ESP_SDP_CREATE_RECORD_COMP_EVT 2025-11-17 16:52:08 +08:00
Chen Yudong d591aaf1ae ci: rename wifi_two_dut to two_duts 2025-11-12 10:05:07 +08:00
yangfeng 98864d279f fix(bt/example): Fixed hf_ag build error 2025-11-10 16:59:16 +08:00
yangfeng 4606fa87c7 fix(example/classic_bt): Fix potential stack overflow tasks 2025-10-11 16:40:43 +08:00
yangfeng dc1c22f090 fix(example/classic_bt): Fix the stack overflow of the SPPAppT and mouse_move_task tasks 2025-10-10 14:42:01 +08:00
Alexey Lapshin 28ced4efad fix(config): actualize newlib Kconfig options 2025-08-28 12:25:09 +08:00
Wang Meng Yang 7cac735da0 Merge branch 'feat/remove_the_deprecated_api_and_parameter' into 'master'
feat(bt): remove the deprecated functions and parameters

Closes BT-4042

See merge request espressif/esp-idf!40435
2025-08-20 19:36:37 +08:00
Marek Fiala 9d35d63651 feat(cmake): Update minimum cmake version to 3.22 (whole repository) 2025-08-19 14:44:32 +02:00
gongyantao 179a730a03 feat(bt): remove the deprecated functions and parametes 2025-08-19 16:07:05 +08:00
Island c6923d2a26 Merge branch 'bugfix/ble_enhanced_security_v2' into 'master'
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data

Closes BLERP-2149

See merge request espressif/esp-idf!41160
2025-08-14 17:28:13 +08:00
chenjianhua b8996f3953 feat(ble/bluedroid): Added BLE multiple connections examples 2025-08-12 12:20:34 +08:00
Cody 6b360dacf6 fix(ble/bluedroid): Update Gatt_Server_Service_Table_Example_Walkthrough.md 2025-08-11 19:48:04 +08:00
BLKDASH 6b212c7d47 fix(ble/bluedroid): Fixed the problem of macro definition error 2025-08-11 19:41:32 +08:00
Song Ruo Jing 451cfc91c3 Merge branch 'contrib/github_pr_17241' into 'master'
Refactor: Use enum values when assigning "pull_[up|down]_en" fields of "gpio_config" (GitHub PR)

Closes IDFGH-16192

See merge request espressif/esp-idf!41058
2025-08-11 12:08:16 +08:00
Zhou Xiao 36cdf54b37 feat(ble): added ble log console for ble log uhci out 2025-08-08 12:01:43 +08:00
Darian Leung 5454499877 refactor: Use enum values for gpio pull up/down fields
Ensure that enum values are used When assigning `pull_up_en` and `pull_down_en`
fields of `gpio_config_t`. Helps avoid `invalid conversion` errors when
building those code snippets in C++.
2025-08-07 11:45:11 +08:00
JinCheng 720108b220 fix(bt/bluedroid): safe string returns and cleanups for bt_discovery example 2025-08-01 09:40:21 +08:00
Nikheel Savant 90782249c7 fix(bt/bluedroid): safe string returns and cleanups 2025-08-01 09:40:21 +08:00
zhanghaipeng 50fe55ca59 fix(ble/bluedroid): set sec_conn only on successful pairing in ble_hid_device_demo 2025-07-28 15:49:59 +08:00
linruihao 4116e4f697 ci(bt/bluedroid): Add CI build test for A2DP Sink example with Caver Art disabled 2025-06-19 19:44:51 +08:00
Zhou Xiao 7847a82b28 change(ble): resupport ble for ESP32C61ECO3 2025-06-10 14:34:49 +08:00
xiongweichao a8ed0133ca feat(bt/bluedroid): Add events to indicate the initialization states of AVRCP 2025-05-28 11:24:32 +00:00
wanckl 6fde8cf8d2 ci(esp32c61): disable soc_caps, docs, test for eco3 update 2025-05-26 16:04:23 +08:00
Zhou Xiao 2e8d8beb9d change(ble): supported ble for esp32c5-eco2 2025-04-29 14:24:47 +08:00