Skip to content

RDKEMW-11483: Fix the EntServices-peripherals to support R5.3#133

Open
tabbas651 wants to merge 3 commits intodevelopfrom
topic/RDKEMW-11483
Open

RDKEMW-11483: Fix the EntServices-peripherals to support R5.3#133
tabbas651 wants to merge 3 commits intodevelopfrom
topic/RDKEMW-11483

Conversation

@tabbas651
Copy link

Reason for change: Added entservices-peripherals changes to support the Thunder R5.3
Test Procedure: please refer the ticket comments
Risks: Medium
Signed-off-by: Thamim Razith Abbas Ali tabbas651@cable.comcast.com

Reason for change: Added entservices-peripherals changes to support the Thunder R5.3
Test Procedure: please refer the ticket comments
Risks: Medium
Signed-off-by: Thamim Razith Abbas Ali tabbas651@cable.comcast.com
@tabbas651 tabbas651 requested a review from a team as a code owner February 7, 2026 02:02
Copilot AI review requested due to automatic review settings February 7, 2026 02:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates entservices-peripherals to build against Thunder R5.3 by aligning includes, build configuration, and a few helper abstractions with newer Thunder header/layout expectations.

Changes:

  • Switch top-level CMake discovery from WPEFramework to Thunder.
  • Update multiple Module/helper headers to include <core/core.h> and remove legacy tracing include usage.
  • Simplify/standardize helper macros and worker-pool dispatch code by removing older-version conditionals.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
CMakeLists.txt Updates framework package discovery to Thunder for R5.3 builds.
helpers/frontpanel.h Adds <core/core.h> include for Core/JSON-related types usage.
helpers/UtilsJsonRpc.h Removes Thunder-version conditional branches, standardizing notifications via Notify().
helpers/UtilsController.h Removes USE_THUNDER_R4 dispatch-type branching and uses Core::IDispatch consistently.
VoiceControl/Module.h Adjusts includes for R5.3 compatibility (adds Core include, drops tracing include).
RemoteControl/Module.h Adjusts includes for R5.3 compatibility (adds Core include, drops tracing include).
MotionDetection/Module.h Adjusts includes for R5.3 compatibility (adds Core include, drops tracing include).
LEDControl/Module.h Adjusts includes for R5.3 compatibility (adds Core include, drops tracing include).
RemoteControl/test/CMakeLists.txt Simplifies dependency discovery/linking to always use ${NAMESPACE}COM (and WebSocket target).

Comment on lines 20 to 23
cmake_minimum_required(VERSION 3.3)

find_package(WPEFramework)
find_package(Thunder)

Copy link

Copilot AI Feb 7, 2026

Choose a reason for hiding this comment

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

find_package(Thunder) hardcodes the framework name, which goes against the repo convention of using the ${NAMESPACE} variable for CMake find_package/targets to keep WPEFramework↔Thunder transitions smooth. Consider setting NAMESPACE as a cache variable (defaulting to Thunder) and calling find_package(${NAMESPACE} REQUIRED) so downstream builds can override it without editing this file.

Refer: https://github.com/rdkcentral/entservices-peripherals/blob/develop/.github/instructions/Plugincmake.instructions.md#namespace-usage

Copilot generated this review using guidance from repository custom instructions.
Copilot AI review requested due to automatic review settings February 9, 2026 21:00
Copy link
Contributor

Copilot AI left a comment

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 9 out of 9 changed files in this pull request and generated 2 comments.

Comment on lines +21 to +25
#ifndef MODULE_NAME
#define MODULE_NAME VoiceControl
#endif

#include <core/core.h>
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

MODULE_NAME does not follow the required Plugin_ prefix convention (it’s currently VoiceControl). Thunder uses MODULE_NAME to identify the plugin module, and this repo’s convention requires Plugin_<Name>. Update this to something like Plugin_VoiceControl and ensure any dependent references remain consistent.

Refer: https://github.com/rdkcentral/entservices-peripherals/blob/develop/.github/instructions/Pluginmodule.instructions.md#module-name-convention

Copilot generated this review using guidance from repository custom instructions.
Comment on lines +21 to +25
#ifndef MODULE_NAME
#define MODULE_NAME RemoteControl
#endif

#include <core/core.h>
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

MODULE_NAME does not follow the required Plugin_ prefix convention (it’s currently RemoteControl). Thunder uses MODULE_NAME to identify the plugin module, and this repo’s convention requires Plugin_<Name>. Update this to something like Plugin_RemoteControl and ensure any dependent references remain consistent.

Refer: https://github.com/rdkcentral/entservices-peripherals/blob/develop/.github/instructions/Pluginmodule.instructions.md#module-name-convention

Copilot generated this review using guidance from repository custom instructions.
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