RDKEMW-20784: Support ctrlmain to use thunder plugin for libds methods and events - #259
Open
balav08 wants to merge 44 commits into
Open
RDKEMW-20784: Support ctrlmain to use thunder plugin for libds methods and events#259balav08 wants to merge 44 commits into
balav08 wants to merge 44 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates ControlMgr to use Thunder plugin APIs (instead of direct libds/DSMgr calls) for audio ducking and front panel LED control, and extends the Thunder plugin wrapper utilities to better support these calls.
Changes:
- Added a new FrontPanel Thunder plugin wrapper to control the power LED.
- Added
DisplaySettings.setAudioDuckingwrapper and migrated audio mute/ducking callers to use it. - Added a retry-capable
call_plugin()overload and updated build files to compile/link the new Thunder sources (including for factory builds).
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| src/voice/ctrlm_voice_obj.cpp | Minor whitespace-only change in voice session request code. |
| src/thunder/plugins/ctrlm_thunder_plugin_front_panel.h | New FrontPanel wrapper interface for power LED operations. |
| src/thunder/plugins/ctrlm_thunder_plugin_front_panel.cpp | New FrontPanel wrapper implementation (setLED / powerLedOn/Off / setBrightness). |
| src/thunder/plugins/ctrlm_thunder_plugin_display_settings.h | Added set_audio_ducking() API using dsAudio ducking enums. |
| src/thunder/plugins/ctrlm_thunder_plugin_display_settings.cpp | Implemented Thunder call to setAudioDucking and checks response. |
| src/factory/thunder/ctrlmf_thunder_plugin.h | Added retry-capable call_plugin() overload declaration. |
| src/factory/thunder/ctrlmf_thunder_plugin.cpp | Implemented retry-on-timeout logic for Thunder JSON-RPC calls. |
| src/factory/ctrlmf_audio_control.cpp | Migrated mute/attenuation audio ducking to Thunder DisplaySettings plugin. |
| src/factory/CMakeLists.txt | Removed ds link from ctrlm-fta; added Thunder sources and WPEFramework link libs for factory. |
| src/ctrlm_utils.cpp | Migrated DSMgr helper functions (audio ducking + LED) to Thunder plugin wrappers. |
| src/CMakeLists.txt | Added new FrontPanel plugin wrapper source to the main build. |
yuvaramachandran-gurusamy
requested changes
Jul 6, 2026
…ther review comments
klu339
force-pushed
the
feature/RDKEMW-20784_1
branch
from
August 17, 2026 15:33
4b79f66 to
c0a9eb3
Compare
Copilot stopped reviewing on behalf of
klu339 due to an error
August 17, 2026 15:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reason for change: Support ctrlmain to use thunder plugin for libds methods.
Test procedure: refer ticket
Risks: Medium
Priority: P2
version: Patch