Commit Graph
6076 Commits
Author SHA1 Message Date
Island 04a9243eb0 Merge branch 'docs/ble-uart-tutorial_v5.3' into 'release/v5.3'
docs(ble): added ESP-BLE-UART OpenCode Companion Guide (5.3)

See merge request espressif/esp-idf!49381
2026-06-22 10:34:34 +08:00
Island b5116d1180 Merge branch 'feat/format_bt_hci_to_btsnoop_v5.3' into 'release/v5.3'
refactor(bt): migrate bt_hci_to_btsnoop to esp-pylib (5.3)

See merge request espressif/esp-idf!49707
2026-06-17 14:43:50 +08:00
Mahavir Jain f813d5e712 Merge branch 'fix/fix_sec2_client_possible_pub_length_truncation_v5.3' into 'release/v5.3'
fix(esp_prov): fixes security2 client possible public length truncation (v5.3)

See merge request espressif/esp-idf!49335
2026-06-17 10:08:12 +05:30
Ashish Sharma 9c2adffb58 fix(esp_prov): fixes sec2 client possible public length truncation 2026-06-16 18:25:48 +08:00
Zhang Hai Peng 4db65d5f4c refactor(bt): migrate bt_hci_to_btsnoop to esp-pylib
Replace argparse with rich-click and use esp_pylib.logger for
standardized console output and fatal error handling.


(cherry picked from commit 3a7896f2c5)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-16 15:34:02 +08:00
Zhou Xiao b05810c2b6 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:41 +08:00
Chen Chen 69c97183c3 feat(lcd): add configurable timeout for lcd i2c panel
Closes https://github.com/espressif/esp-idf/issues/18542
Closes https://github.com/espressif/esp-idf/pull/18543
2026-06-02 15:56:25 +08:00
Fu Hanxi bc151d37f1 ci: log per-job ccache stats 2026-05-20 09:49:29 +08:00
Fu Hanxi b5cc181bdf feat(build): support env var IDF_PY_BUILD_JOBS for ninja jobs 2026-05-20 09:48:55 +08:00
Zhou Xiao 221156d222 fix(ble): added missed dataclass decorator for backport 2026-05-15 18:35:28 +08:00
Fu Hanxi b9c316a652 Merge branch 'ci/update_integration_pipeline_v5.3' into 'release/v5.3'
ci: backport integration test and build docker (v5.3)

See merge request espressif/esp-idf!48380
2026-05-13 09:44:58 +02:00
Alexey Gerenkov 267b8f01a7 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20260424_v5.3' into 'release/v5.3'
feat(tools): update openocd version to v0.12.0-esp32-20260424 (v5.3)

See merge request espressif/esp-idf!48235
2026-05-12 23:03:48 +08:00
Alexey Gerenkov 119794da59 Merge branch 'fix/clang-binutils-override' into 'release/v5.3'
fix(tools): reorder clang and GNU toolchains to prefer GNU binutils

See merge request espressif/esp-idf!48244
2026-05-12 22:36:46 +08:00
zhiweijian 1fba5bbc36 feat(bt): add shared ble_uart component and update ble_uart_service/docs 2026-05-12 11:15:48 +08:00
Chen Yudong d69e268e6b ci: optimize layer cache for docker build test
use different image tag for different concurrent job
2026-05-11 16:40:07 +08:00
Chen Yudong 372fc66ea6 ci: move integration-test to ci/actions 2026-05-11 16:39:59 +08:00
Zhou Xiao e8547a6f71 docs(ble): update bridge docs and troubleshooting 2026-05-09 19:42:39 +08:00
Zhou Xiao 571015c86e fix(ble): handle notification setup failures 2026-05-09 19:42:34 +08:00
Zhou Xiao eec2071373 fix(ble): remove BLE service UUID scan filter 2026-05-09 19:42:29 +08:00
Zhou Xiao d98e35d333 fix(ble): handle permission reply fallbacks
(cherry picked from commit ad7189e7dd)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-05-09 10:52:01 +08:00
Zhou Xiao 6da30bd30c fix(ble): fixed edge case issues from ai reviewer
(cherry picked from commit fa8ca07e58)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-05-09 10:52:01 +08:00
Zhou Xiao ecd106dfb7 feat(tools): improve ble uart reconnect ux
(cherry picked from commit 956299d988)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-05-09 10:52:01 +08:00
Zhou Xiao e8f9f530b5 feat(tools): add opencode ble uart bridge demo
(cherry picked from commit 0b07f41e5a)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-05-09 10:52:00 +08:00
Alexey Lapshin 3c13dbd0a3 fix(tools): reorder clang and GNU toolchains to prefer GNU binutils 2026-05-07 18:38:24 +07:00
Erhan Kurubas e929687019 feat(tools): update openocd version to v0.12.0-esp32-20260424 2026-05-07 09:30:56 +02:00
Jiang Jiang Jian e875d571b2 Merge branch 'feat/support-ble-uart-bridge-v5.3' into 'release/v5.3'
feat(ble): add BLE UART bridge core (v5.3)

See merge request espressif/esp-idf!48007
2026-05-06 11:40:27 +08:00
Alexey Lapshin 326c5e17b6 feat(tools): update gdb version to 17.1_20260402 2026-04-29 19:29:42 +08:00
Zhou Xiao a9d73601a2 feat(ble): add BLE UART bridge core 2026-04-28 13:41:36 +08:00
Zhou Xiao e59e3859c4 fix(ble): fixed ci failures for backport 2026-04-28 12:32:56 +08:00
Zhou Xiao 896f943238 feat(ble): add BLE UART daemon notify API 2026-04-28 11:25:15 +08:00
Zhou Xiao 324840b308 docs(ble): document BLE UART bridge usage 2026-04-28 11:25:15 +08:00
Zhou Xiao c42a074ab5 feat(ble): wire BLE UART bridge CLI 2026-04-28 11:25:15 +08:00
Zhou Xiao e3041508b4 feat(ble): add BLE UART daemon RPC API 2026-04-28 11:25:15 +08:00
Zhou Xiao 26458384c8 feat(ble): add BLE UART bridge console 2026-04-28 11:25:15 +08:00
Mahavir Jain f1a49ee132 Merge branch 'fix/fix_esp_local_ctrl_potential_double_free_v5.3' into 'release/v5.3'
fix(esp_local_ctrl): fixes a potential double free (v5.3)

See merge request espressif/esp-idf!47491
2026-04-19 21:27:17 +05:30
Evgeny Torbin 2f538caa57 ci: fix generate_build_child_pipeline job 2026-04-17 16:01:00 +02:00
Evgeny Torbin bf81b9d743 ci: fix pre-commit hook errors 2026-04-17 16:01:00 +02:00
Evgeny Torbin 61cea28081 ci: fix test case markers when put targets as params 2026-04-17 16:01:00 +02:00
Evgeny Torbin 85a13a1037 ci: fix check_build_test_rules script 2026-04-17 16:01:00 +02:00
Evgeny Torbin 59f62ad15f test: format all test scripts 2026-04-17 16:01:00 +02:00
Ashish Sharma 5c3b6ce439 feat(esp_local_ctrl): adds basic unit test app 2026-04-12 18:30:12 +08:00
Ashish Sharma 9f0c177d5a fix(esp_local_ctrl): fixes a potential double free 2026-04-12 18:26:41 +08:00
Ashish Sharma f81c7d8695 fix(wifi_provisioning): fixes memory leak on OOM 2026-04-10 14:38:11 +08:00
Zhou Xiao 81782243ab fix(ble_log_console): reorder imports to satisfy pre-commit hook 2026-04-07 16:13:44 +08:00
Zhou Xiao ffd7a6c649 fix(ble_log_console): resolve mypy errors for Python <3.10 compatibility
Add 'from __future__ import annotations' to defer annotation evaluation,
replace @dataclass(slots=True) with @dataclass, use typing.Union for
runtime type aliases, and suppress textual Screen metaclass false positive.
2026-04-07 16:07:59 +08:00
Zhou Xiao 24a45a173f fix(ble_log_console): exclude from idf-ci pytest collection to fix CI
idf-ci discovers pyproject.toml pytest config and runs a separate
collection pass with --target all, which finds 0 target tests and
raises RuntimeError. Add to .idf_ci.toml exclude_dirs instead of
deleting tests. Restore all 227 unit tests with lint/mypy fixes.
2026-04-07 13:15:03 +08:00
Zhou Xiao 4fa42eace1 docs(ble_log_console): update user guides for new features and run/build scripts
- Recommend run.sh/run.bat as primary launch method with Launch Screen description
- Add build.sh/build.bat section for standalone executable packaging
- Document buffer utilization screen (m key) and two-table stats layout (d key)
- Update menuconfig path, status panel format, and Kconfig option names
- Remove obsolete textual ModuleNotFoundError troubleshooting
- Simplify manual configuration to single toggle (defaults cover most cases)
- Fix ESP32 -> ESP chip in introduction
2026-04-07 13:13:43 +08:00
Zhou Xiao 845c9ea1a0 feat(ble_log_console): add buffer utilization tracker and display
Add BufUtilTracker to record per-LBM inflight peak data, wire it
through StatsAccumulator and StatsUpdated message for thread-safe
delivery to the UI. Buffer utilization is displayed in a dedicated
BufUtilScreen accessible via the 'm' keybinding, separate from
the frame stats screen ('d').

Also reject false INIT_DONE frames with version==0 caused by
misaligned data during parser sync, preventing spurious stats resets.
2026-04-07 13:12:57 +08:00
Zhou Xiao 79155a609a feat(ble_log_console): add BUF_UTIL internal frame decoding
Add BUF_UTIL=5 to InternalSource, BufUtilPool enum, BufUtilResult
TypedDict, BufUtilEntry dataclass, and name resolution helpers.
Add decode branch in internal_decoder with pool/index extraction
from the packed lbm_id field. Tests cover valid decode, pool/index
extraction, and truncated payload handling.
2026-04-07 13:12:52 +08:00
Zhou Xiao d8f61a563e feat(ble_log_console): add CLI entry point, build scripts, and docs
- Click-based CLI entry point (console.py) with --port, --baudrate,
  --log-dir options and interactive Launch Screen when --port omitted
- Deprecation warning for --output CLI flag
- 'ls' subcommand to list saved capture files
- PyInstaller build scripts (build.sh, build.bat, build_exe.py)
- Convenience run scripts (run.sh, run.bat)
- README rewrite with installation, usage, architecture docs, and
  troubleshooting guide
- User guides in English and Chinese
- Remove old single-file ble_log_console.py
- Register new scripts in executable-list.txt
2026-04-07 13:12:26 +08:00