Skip to content

Conversation

@msmith113
Copy link
Contributor

@msmith113 msmith113 commented Dec 10, 2025

RDKEMW-9843

Now tracks voltage loaded, unloaded, and percentage in remote control service.

…tage loaded, unloaded, and percentage in remote control service.
@msmith113 msmith113 marked this pull request as ready for review December 10, 2025 17:30
@msmith113 msmith113 requested a review from a team as a code owner December 10, 2025 17:30
@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 4 files pending identification.

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

  • Commit: dd328ed

Report detail: gist'

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 implements support for tracking battery voltage information from the Remote Control Unit (RCU). It adds a new BLE characteristic to report loaded voltage, unloaded voltage, and battery percentage from the remote control device.

Key changes:

  • Adds a new RawBatteryVoltage BLE characteristic UUID (0xed08) for reading battery voltage data
  • Implements voltage parsing logic that interprets 8-bit values as voltage measurements (upper 2 bits for whole volts, lower 6 bits for fractional increments)
  • Integrates voltage tracking into the remote control service lifecycle with proper initialization, request handling, and cleanup

Reviewed changes

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

Show a summary per file
File Description
src/ble/hal/utils/bleuuid.h Adds the RawBatteryVoltage characteristic UUID enum value
src/ble/hal/utils/bleuuid.cpp Registers the human-readable name for the RawBatteryVoltage characteristic
src/ble/hal/blercu/bleservices/gatt/gatt_remotecontrolservice.h Declares new methods, member variables, and characteristic pointer for handling raw battery voltage
src/ble/hal/blercu/bleservices/gatt/gatt_remotecontrolservice.cpp Implements voltage request handling, parsing logic, and integrates into service lifecycle
src/ble/hal/blercu/bleservices/blercuremotecontrolservice.h Adds slot registration method for battery voltage change notifications

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

@msmith113 msmith113 changed the title RDKEMW-9843 - report loaded and unloaded voltage from RCU RDKEMW-9843: report loaded and unloaded voltage from RCU Dec 10, 2025
Co-authored-by: Gene Gallagher <129112619+egalla204@users.noreply.github.com>
@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 4 files pending identification.

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

  • Commit: 97bdbeb

Report detail: gist'

see RDKEMW-11249 or CHANGELOG for release notes
@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 4 files pending identification.

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

  • Commit: fbf7694

Report detail: gist'

@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 4 files pending identification.

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

  • Commit: fbf7694

Report detail: gist'

@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 4 files pending identification.

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

  • Commit: 3c612fe

Report detail: gist'

@rdkcmf-jenkins
Copy link
Contributor

b'## Blackduck scan failure details

Summary: 0 violations, 0 files pending approval, 4 files pending identification.

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

  • Commit: 251ce7c

Report detail: gist'

@msmith113 msmith113 requested a review from egalla204 December 11, 2025 18:29
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

Copilot AI review requested due to automatic review settings January 21, 2026 14:49
@msmith113 msmith113 merged commit 932b09e into develop Jan 21, 2026
12 checks passed
@msmith113 msmith113 deleted the feature/RDKEMW-9843 branch January 21, 2026 14:51
@github-actions github-actions bot locked and limited conversation to collaborators Jan 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants