Skip to content

RDKCOM-5543: RDKBWIFI-364 : Generalizing bus abstraction functions for retrieving and setting bus data property types.#14

Merged
gsathish86 merged 1 commit intordkcentral:developfrom
hp490:bus_gen_change
Mar 24, 2026
Merged

RDKCOM-5543: RDKBWIFI-364 : Generalizing bus abstraction functions for retrieving and setting bus data property types.#14
gsathish86 merged 1 commit intordkcentral:developfrom
hp490:bus_gen_change

Conversation

@hp490
Copy link
Copy Markdown
Contributor

@hp490 hp490 commented Mar 12, 2026

Reason for change : Converted the generic raw_data type to bus_data_prop_t.
Risks: Medium
Test Procedure: Flash the image and verify that all Wifi-related features work properly.

Copy link
Copy Markdown

@Aniket0606 Aniket0606 left a comment

Choose a reason for hiding this comment

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

The changes look good. Please make sure all platform builds pass and ask QA to perform a sanity test.

Copy link
Copy Markdown
Contributor

@amarnathhullur amarnathhullur left a comment

Choose a reason for hiding this comment

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

Approved,
Dependent change to get merged along with this
rdkcentral/OneWifi#969

amarnathhullur
amarnathhullur previously approved these changes Mar 13, 2026
Copy link
Copy Markdown

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 the WiFi emulator’s RBUS/bus abstraction to use bus_data_prop_t (property-aware payloads) instead of the older generic raw_data_t in subscription/method callback paths, and aligns a couple of consumers with the new callback signature.

Changes:

  • Switched the UI webconfig subscription callback to consume bus_data_prop_t payloads (and added basic payload validation).
  • Reworked RBUS object parsing/serialization to populate and free bus_data_prop_t (including multi-property objects).
  • Updated the stats-get test subscription handler signature to match the new callback payload type.

Reviewed changes

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

Show a summary per file
File Description
src/ui/wlan_emu_ui_mgr.cpp Updates set_webconfig_cci_data callback signature and reads string payload from bus_data_prop_t.
inc/wlan_emu_ui_mgr.h Updates callback and function-pointer types to bus_data_prop_t*.
src/bus/rdkb/wlan_emu_bus.cpp Adds bus_data_prop_t parsing/freeing and updates RBUS sub/method handlers to use it.
src/tests/wlan_emu_test_param_stats_get.cpp Updates stats subscription callback signature to bus_data_prop_t*.
inc/wlan_emu_test_params.h Updates stats subscription callback declaration to bus_data_prop_t*.

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

@AkhilaReddyK7 AkhilaReddyK7 changed the title RDKBWIFI-364 : Generalizing bus abstraction functions for retrieving and setting bus data property types. RDKCOM-5543: RDKBWIFI-364 : Generalizing bus abstraction functions for retrieving and setting bus data property types. Mar 17, 2026
@AkhilaReddyK7 AkhilaReddyK7 added the community-contribution Contribution from community label Mar 17, 2026
…and setting bus data property types.

Reason for change : Converted the generic raw_data type to bus_data_prop_t.
Risks: Medium
Test Procedure: Flash the image and verify that all OneWifi-related features work properly.
@hp490 hp490 requested a review from Aniket0606 March 24, 2026 06:57
@gsathish86 gsathish86 merged commit 2076534 into rdkcentral:develop Mar 24, 2026
3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community-contribution Contribution from community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants