Commit Graph

1452 Commits

Author SHA1 Message Date
Fu Hanxi
b47f9850c7 ci: apply common-scripts CI refactor
Squashes these original commits for release/v5.4 backport traceability:
- 9b289dc5ad6 ci: apply idf-ci 1.x
- 381df980d57 ci: remove pip-cache and other unused jobs
- 32375a0a15e ci: apply common-scripts CI refactor
2026-08-17 14:13:15 +02:00
Jin Cheng
6d83ab5035 change(bt/bluedroid): optimized the HFP example workflow to improve audio quality
Disabled inquiry scan and page scan after SCO connection establishment
to reduce over-the-air bandwidth usage and improve audio quality by
prevent scan activities from interrupting SCO traffic.
2026-08-05 18:01:21 +08:00
cjin
f40f40a86b feat(ble): added CONFIG_PM_SLP_IRAM_OPT to make sure cache error check 2026-07-30 10:17:47 +08:00
Astha Verma
68bdd97e95 fix(nimble): Restore throughput after switching from LE Coded PHY 2026-07-24 18:07:01 +05:30
Rahul Tank
12fc599e89 fix(nimble): Fix issues found in review for nimble examples 2026-07-24 15:23:15 +05:30
yangfeng
66e234ebed fix(bt/example): Add log in the failure path for avrcp_ct_metadata example 2026-07-22 15:36:43 +08:00
Wang Meng Yang
bd2d240186 Merge branch 'bugfix/idf_ci_hid_example_v5.4' into 'release/v5.4'
fix(bt/example): Add print the device name to verify if it matches in HID example (v5.4)

See merge request espressif/esp-idf!50485
2026-07-17 20:03:39 +08:00
Island
a1f767668c Merge branch 'bugfix/fix_bluedroid_read_multi_v5.4' into 'release/v5.4'
fix(ble/bluedroid): fix GATT Read Multiple response handling (5.4)

See merge request espressif/esp-idf!50707
2026-07-15 15:38:55 +08:00
Zhi Wei Jian
85c1aee8fb feat(ble/bluedroid): Add bluedroid dual identify server example
(cherry picked from commit 1de0d2fef7)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 14:57:33 +08:00
Zhang Hai Peng
a90c400f43 docs(ble/bluedroid): fix markdown formatting in example docs
(cherry picked from commit dba450de6b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-07-14 12:03:36 +08:00
yangfeng
e71c4ed630 fix(bt/example): Add print the device name to verify if it matches in HID example 2026-07-08 15:28:24 +08:00
Rahul Tank
a3aeccbed4 fix(nimble): Fixes for AI reported issues 2026-07-07 16:28:48 +05:30
yangfeng
fe1f84d53d fix: Fix the HFP example fails to discovery target device 2026-07-02 15:07:37 +08:00
Shuai Wang
18ba3901d6 fix(nimble): initialize return value in LED characteristic access callback
When the NimBLE stack called this callback for a GATT Write Request, the
uninitialized stack value was interpreted as a non-zero GATT error code,
causing the stack to send BLE_ATT_ERR_UNLIKELY (0x0E) back to the client.
2026-06-29 17:30:21 +05:30
Island
06c8e4bef0 Merge branch 'feat/feat_enable_h21_light_sleep_v5.4' into 'release/v5.4'
fix(ble): disable flash pd config (5.4)

See merge request espressif/esp-idf!49214
2026-06-29 17:46:59 +08:00
cjin
ed4965a39c fix(ble): remove chip id macro for ble sample codes 2026-06-29 14:22:29 +08:00
Island
75e9e4cdaf Merge branch 'feat/support_ble_uart_more_interfaces_v5.4' into 'release/v5.4'
feat(bt/ble_uart): Support ble uart more interfaces (5.4)

See merge request espressif/esp-idf!50045
2026-06-29 10:31:45 +08:00
cjin
73ce68e992 fix(ble): use default frequency for ble power save example 2026-06-29 10:30:49 +08:00
Rahul Tank
30a2a5a8b2 Merge branch 'bugfix/optimize_nimble_throughput_example_v5.4' into 'release/v5.4'
fix(nimble): Optimize Nimble throughput example for 1M/2M/S2/S8 (v5.4)

See merge request espressif/esp-idf!49983
2026-06-26 17:41:10 +05:30
Jin Chen
291d492ffb feat(ble): update ble power save sdkconfig on ESP32-c5
(cherry picked from commit 3fdabaedaa)

Co-authored-by: cjin <jinchen@espressif.com>
2026-06-26 10:08:51 +08:00
Jin Chen
439284b7d3 feat(ble): update ble power save sdkconfig on ESP32-C61
(cherry picked from commit e603f41667)

Co-authored-by: cjin <jinchen@espressif.com>
2026-06-26 10:08:51 +08:00
Zhi Wei Jian
c6bbef1dc5 feat(bt/ble_uart): Support ble uart more interfaces
- Added tagged event API (ble_uart_evt_t / on_event)
- Added bond management APIs
- Supported custom adv_data / scan_rsp_data
- Validate device_name length synchronously
- Added ble_uart_close_async() and EVT_CLOSED
- Added granular security config (security struct)
- Supported Passkey Entry and Numeric Comparison


(cherry picked from commit f1d9c994d2)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:07:56 +08:00
yangfeng
2184fae05b fix(bt): Fix the high issues related to AVRCP from AI review report
- SDP/registration: handle SDP record creation and discovery failures safely
- AVRC stack: fix packet checks, fragment leaks, response build, and compile guards
- BTC AVRCP: fix return codes, connection state, metadata parsing, and memory leaks
- AVCTP: fix event passing, L2CAP conflicts, TX queue leaks, and disconnect handling
- Example: remove TG RN capability setup before initialization
2026-06-25 14:58:17 +08:00
Mayank Tyagi
1831571665 fix(nimble): Optimize Nimble throughput example for 1M/2M/S2/S8 2026-06-24 17:06:41 +05:30
Astha Verma
94863a7628 fix(nimble): Added l2cap_coc throughput examples 2026-06-22 11:41:14 +05:30
Island
241e8b8243 Merge branch 'docs/ble-uart-tutorial_v5.4' into 'release/v5.4'
docs(ble): added ESP-BLE-UART OpenCode Companion Guide (5.4)

See merge request espressif/esp-idf!49382
2026-06-22 10:34:39 +08:00
Island
2b89a2ec22 Merge branch 'bugfix/fix_bluedroid_ai_review_bugs_20260427_v5.4' into 'release/v5.4'
Bugfix/fix bluedroid ai review bugs 20260427 (5.4)

See merge request espressif/esp-idf!49539
2026-06-15 11:04:00 +08:00
zhiweijian
9c0f5d878d fix(examples): improve bluedroid BLE example error handling
Check GAP/GATT event status, fix prepare-write buffer lifecycle, and
align example code with updated Bluedroid API behavior.
2026-06-12 10:27:08 +08:00
zhiweijian
433d5d03d8 refactor(examples): disable unused BT options in bluedroid BLE examples
Add sdkconfig.defaults to turn off unused Bluedroid host features per
example role (GATT client/server, SMP, legacy adv, etc.).
2026-06-12 10:26:52 +08:00
ShenWeilong
11b5ef5b3d fix(bluedroid): Set CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y in bluedroid host examples 2026-06-12 10:25:26 +08:00
yangfeng
15550705fc fix: Fix the potential stack overflow issue in the Classic Bluetooth example 2026-06-09 09:43:53 +08:00
Zhou Xiao
35d19c0191 docs(ble): add ESP-BLE-UART companion guide
Move the OpenCode companion guide into the ble_uart_service example.

Add English and Chinese Markdown guides with image assets.

Keep ESP-BLE-UART naming consistent across the example and bridge tooling.


(cherry picked from commit 926111e721)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-06-08 14:14:43 +08:00
Rahul Tank
f05856b5f5 fix(nimble): Fix for clang compilation issues 2026-06-05 10:58:46 +05:30
Rahul Tank
f36d49255f fix(nimble): Fix compilation issues in Gatt SPS service 2026-05-27 17:17:19 +05:30
Mayank Tyagi
974a40464d fix(nimble): Added change to read initial BAS level post connection 2026-05-21 12:28:41 +05:30
ShenWeilong
87acac35bd change(bt): separated host mem apis from bt_osi_mem.c 2026-05-13 15:13:28 +08:00
Island
25b7cbcbe7 Merge branch 'fix/fix_blufi_memory_copy_len_error_v5.4' into 'release/v5.4'
fix(ble): Fix blufi fragment reassembly bounds and buffer overflows (5.4)

See merge request espressif/esp-idf!48266
2026-05-12 19:27:41 +08:00
zhiweijian
a232ae6ce0 feat(bt): add shared ble_uart component and update ble_uart_service/docs 2026-05-12 16:03:51 +08:00
Zhang Hai Peng
4ce1ea8a15 feat(ble/blufi): Support setting BLE encryption for blufi
(cherry picked from commit 60a028fb17)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-12 12:14:36 +08:00
yangfeng
3bfe2fe5f8 fix(bt/example): fix critical issues of classic_bt examples reported by AI review 2026-05-11 11:43:34 +08:00
Zhou Xiao
9b3b517c45 fix(ble): fixed ci failures for backport 2026-04-28 12:34:02 +08:00
Zhi Wei Jian
b336f559d2 feat(ble): Support nimble uart service
(cherry picked from commit 9de3eea3de)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-28 11:21:34 +08:00
Sahil Yadav
80622c637a feat(nimble): Support NimBLE log compression and decompression over SPI 2026-04-24 13:48:57 +05:30
Rahul Tank
e87804cbfd Merge branch 'bugfix/ai_fixes_common_components_v5.4' into 'release/v5.4'
Bugfix/ai fixes common components (v5.4)

See merge request espressif/esp-idf!47568
2026-04-24 10:54:19 +05:30
Island
7359a5b51f Merge branch 'fix/disabel_ble50_by_default_for_blemesh_v5.4' into 'release/v5.4'
fix(ble_mesh): disabled ble50 by default for ble_mesh (5.4)

See merge request espressif/esp-idf!47750
2026-04-23 17:53:36 +08:00
Island
cae08673c0 Merge branch 'feat/remove_led_from_ble_mesh_examples_v5.4' into 'release/v5.4'
refactor(ble_mesh): remove LED hardware dependency from examples (5.4)

See merge request espressif/esp-idf!47437
2026-04-23 17:53:14 +08:00
luoxu
7395a7f796 feat(ble_mesh): disable BLE 5.0 features for fast_prov_server sdkconfig 2026-04-23 16:24:23 +08:00
Rahul Tank
7e9d95497c fix(nimble): Address review comments for hidd / hidh code 2026-04-20 22:04:15 +05:30
Rahul Tank
a526bae727 fix(nimble): Address review fixes for tinycrypt / and blufi code 2026-04-20 22:04:15 +05:30
Rahul Tank
461856f2b3 Merge branch 'bugfix/fix_nimble_eg_readme_v5.4' into 'release/v5.4'
fix(nimble): Update example READMEs with correct console log information (v5.4)

See merge request espressif/esp-idf!47602
2026-04-20 22:01:11 +05:30