Skip to content

Conversation

@klu339
Copy link
Contributor

@klu339 klu339 commented Dec 11, 2025

No description provided.

Reason for change:
Test Procedure:
Risks:
Signed-off-by: Kelvin Lu <Kelvin_Lu@comcast.com>
Reason for change:
Test Procedure:
Risks:
Signed-off-by: Kelvin Lu <Kelvin_Lu@comcast.com>
@klu339 klu339 force-pushed the feature/RDKEMW-11471 branch from 88f4c8a to 0d3d303 Compare December 16, 2025 17:37
@klu339 klu339 marked this pull request as ready for review December 16, 2025 17:37
@klu339 klu339 requested a review from a team as a code owner December 16, 2025 17:37
@egalla204 egalla204 requested a review from Copilot December 16, 2025 18:02
Copy link

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 removes the netType parameter from various IPC calls and introduces network-specific controller ID ranges to support multi-network RCU management. The changes simplify the API by defaulting to all networks while adding infrastructure for proper ID range management across RF4CE and BLE networks.

Key changes:

  • Removed netType parameter from IPC functions (program_ir_codes, clear_ir_codes, get_net_status, get_last_keypress, find_my_remote, write_rcu_wakeup_config)
  • Introduced network ID range constants (NETWORK_ID_BASE_* and corresponding *_RCU_ID_RANGE_MIN/MAX macros)
  • Updated controller ID assignment logic to use network-specific ranges
  • Refactored get_net_status to aggregate data from all networks and report network type information
  • Added BLE controller ID migration logic to handle legacy IDs outside the new range

Reviewed changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/rf4ce/ctrlm_rf4ce_network.h Defines RF4CE controller ID range constants
src/rf4ce/ctrlm_rf4ce_network.cpp Updates controller ID assignment to use RF4CE-specific range
src/irdb/ipc/ctrlm_irdb_ipc_iarm_thunder.cpp Removes netType parameter handling from IR code programming functions
src/ipc/ctrlm_rcp_ipc_iarm_thunder.cpp Removes netType parameter from multiple IPC functions and refactors get_net_status to aggregate network data
src/ipc/ctrlm_rcp_ipc_event.h Adds new getter methods for network status data
src/ipc/ctrlm_rcp_ipc_event.cpp Implements new getter methods for accessing network status fields
src/ctrlm_network.h Moves network ID base constants from ctrlm_main.cpp to header for wider visibility
src/ctrlm_main.cpp Removes network ID base constant definitions (moved to header)
src/ctrlm_controller.h Adds controller_id_set method declaration
src/ctrlm_controller.cpp Implements controller_id_set method
src/ble/ctrlm_ble_network.h Defines BLE controller ID range constants
src/ble/ctrlm_ble_network.cpp Updates controller ID assignment to use BLE-specific range and adds legacy ID migration logic

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

Reason for change:
Test Procedure:
Risks:
Signed-off-by: Kelvin Lu <Kelvin_Lu@comcast.com>
@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/control/164/rdk/components/generic/control

  • Commit: fff4de9

Report detail: gist'

Copy link
Contributor

@dwolaver dwolaver left a comment

Choose a reason for hiding this comment

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

looks good for QA test!

Reason for change:
Test Procedure:
Risks:
Signed-off-by: Kelvin Lu <Kelvin_Lu@comcast.com>
@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 1 file pending identification.

  • Protex Server Path: /home/blackduck/github/control/164/rdk/components/generic/control

  • Commit: e50b383

Report detail: gist'

@rdkcmf-jenkins
Copy link
Contributor

b'## WARNING: A Blackduck scan failure has been waived

A prior failure has been upvoted

  • Upvote reason: OK

  • Commit: e50b383
    '

Copy link
Contributor

@egalla204 egalla204 left a comment

Choose a reason for hiding this comment

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

approved for test

Copy link

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


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

Copy link
Contributor

@egalla204 egalla204 left a comment

Choose a reason for hiding this comment

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

approved for test

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.

5 participants