Skip to content

Simplify O6 feature guide and clarify HOP CAN mode switching - #32

Merged
YasenSS merged 1 commit into
mainfrom
docs/o6-hop-guide
Nov 26, 2026
Merged

YasenSS merged 1 commit into
mainfrom
docs/o6-hop-guide

Conversation

@YasenSS

@YasenSS YasenSS commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Change

  • Rewrite the English and Chinese O6 feature guides (docs/en/tutorials/o6.md and docs/zh/tutorials/o6.md) while keeping the existing top-level outline and anchors consistent with other model guides.
  • Add a protocol quick-reference table for Classic CAN, HOP CAN FD, and HOP CAN 2.0, and simplify complete C++ examples to a single try/catch block with self-contained feature snippets.
  • Reorganize HOP CAN mode switching for prebuilt SDK package users: lead with in-app C++ set_can_interface_mode() and Linux cansend, document the classic SocketCAN CAN 2.0-to-FD limitation, and mark hop_can_mode as a source-tree example.
  • Align O6 HOP references and package-consumer CMake build instructions across the English and Chinese README, interface preparation, manual connection, and model capabilities pages.

Validation

  • Passed python3 validation/check_docs.py (links, anchors, language pairs, aliases, and quickstarts).
  • Passed python3 -m unittest discover -s validation -p 'test_quality_tools.py' (12 tests) and git diff --cached --check.
  • Verified all 16 C++ code blocks in both docs/en/tutorials/o6.md and docs/zh/tutorials/o6.md compile with g++ -std=c++17 -Wall -Wextra -Werror -fsyntax-only.
  • Full SDK CTest and hardware suites were not run because this PR only updates Markdown documentation.

Rewrite the English and Chinese O6 feature guides to keep examples
concise and self-contained while preserving the existing section
outline and anchors used across model tutorials.

- Add a protocol/interface quick-reference table for Classic, HOP CAN
  FD, and HOP CAN 2.0 modes and simplify complete examples to a single
  try/catch block without nested exception-forwarding boilerplate.
- Reorganize HOP CAN mode switching for prebuilt SDK package users:
  lead with in-app C++ set_can_interface_mode() and Linux cansend
  steps, document the classic SocketCAN CAN 2.0-to-FD limitation, and
  mark hop_can_mode as a source-tree example.
- Align O6 HOP references and package-consumer build instructions in
  the English and Chinese README, interface preparation, manual
  connection, and model capabilities pages.

Validated with validation/check_docs.py, validation quality tool unit
tests, git diff --cached --check, and C++17 syntax checks across all
16 code blocks in both O6 tutorials.
@YasenSS
YasenSS merged commit f4802e2 into main Nov 26, 2026
6 checks passed
@YasenSS
YasenSS deleted the docs/o6-hop-guide branch November 26, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant