Skip to content

RDKDEV-1444 Add Documentation RBus#450

Open
gourivarma3 wants to merge 2 commits into
rdkcentral:developfrom
gourivarma3:feature/RDKDEV-1444
Open

RDKDEV-1444 Add Documentation RBus#450
gourivarma3 wants to merge 2 commits into
rdkcentral:developfrom
gourivarma3:feature/RDKDEV-1444

Conversation

@gourivarma3

Copy link
Copy Markdown

RDKDEV-1444
Reason for Change:
To add a generic component Documentation for rbus.
Fix:
Added the README.md documentation

Signed-off-by: gourivarma3

@gourivarma3
gourivarma3 requested a review from a team as a code owner June 19, 2026 06:08
Copilot AI review requested due to automatic review settings June 19, 2026 06:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new, comprehensive docs/README.md intended to provide generic RBus component documentation (architecture, threading, modules, configuration, and example flows) to complement existing repository docs.

Changes:

  • Introduces an end-to-end RBus documentation page covering design, call flows, internal modules, and configuration.
  • Documents build-time CMake options and key runtime/service dependencies.
  • Adds illustrative Mermaid diagrams and CLI usage examples.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/README.md Outdated
Comment thread docs/README.md Outdated
Comment thread docs/README.md Outdated
Comment thread docs/README.md Outdated
Comment thread docs/README.md Outdated
karuna2git
karuna2git previously approved these changes Jul 16, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 17, 2026 11:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 4 comments.

Comment thread docs/README.md
| `WITH_SPAKE2=ON` | `WITH_SPAKE2=1` | Enables SPAKE2+ key-exchange cipher between `rtrouted` and clients | OFF |
| `ENABLE_ADDRESS_SANITIZER=ON` | `-fsanitize=address` | Enables AddressSanitizer for memory-error detection during development | OFF |
| `ENABLE_RDKLOGGER=ON` | `ENABLE_RDKLOGGER` | Routes internal log output through the RDK Logger instead of the built-in `rtLog` handler | OFF |
| `BUILD_RBUS_DAEMON=ON` | — | Builds the `rtrouted` daemon and `rbus_session_mgr` service | ON |
Comment thread docs/README.md

**Platform and Integration Requirements:**

- **Build Dependencies**: cJSON library (required for all builds); MessagePack (`msgpack-c`) and `linenoise` required unless `BUILD_ONLY_RTMESSAGE=ON`.
Comment thread docs/README.md

| Configuration File | Purpose | Override Mechanism |
| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| `/usr/lib/systemd/system/rbus.service` | Launches `rtrouted` as a forking service. `ExecStopPost` clears `/tmp/rbus_stopped`. | `RTROUTER_OPTIONAL_ARGS` environment variable in `ExecStart` |
Comment thread docs/README.md

### Runtime Configuration

The router address used by client processes can be overridden at runtime by supplying a configuration file path to `rtConnection_CreateWithConfig`. The `rbuscli` utility accepts the router address as a command-line argument, allowing it to target a non-default `rtrouted` instance:
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.

3 participants