Skip to content

RDKEMW-5849 : remove deprecated "experience" code#57

Merged
jthomp007c merged 3 commits intodevelopfrom
topic/RDKEMW-5849
Mar 17, 2026
Merged

RDKEMW-5849 : remove deprecated "experience" code#57
jthomp007c merged 3 commits intodevelopfrom
topic/RDKEMW-5849

Conversation

@jthomp007c
Copy link
Contributor

Reason for change: the app controls experience, ctrlm does is no longer involved

Test Procedure: nothing new to test. Check that normal functionality is not affected

Priority: P2

Reason for change: the app controls experience, ctrlm does is no
longer involved

Test Procedure: nothing new to test. Check that normal functionality
is not affected

Priority: P2

Signed-off-by: Jason Thomson <jason_thomson@comcast.com>
@jthomp007c jthomp007c requested a review from a team as a code owner March 5, 2026 20:44
Copilot AI review requested due to automatic review settings March 5, 2026 20:44
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

Removes deprecated “experience” plumbing from the VREX websocket-nextgen and HTTP request paths, reflecting that the app now owns the experience concept.

Changes:

  • Dropped experience fields from request parameter structs and removed the associated update APIs.
  • Removed propagation of experience into NextGen JSON payloads and HTTP query strings.
  • Reduced the router’s maximum supported query-string count constant.

Reviewed changes

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

Show a summary per file
File Description
src/xr-speech-vrex/xrsv_ws_nextgen/xrsv_ws_nextgen.h Removes experience param and update API from the NextGen websocket interface.
src/xr-speech-vrex/xrsv_ws_nextgen/xrsv_ws_nextgen.c Stops emitting experience in NextGen JSON init payload; removes update helper.
src/xr-speech-vrex/xrsv_http/xrsv_http.h Removes experience param and update API from the HTTP interface.
src/xr-speech-vrex/xrsv_http/xrsv_http.c Removes experienceTag query element handling and reindexes query string list.
src/xr-speech-router/xrsr.h Lowers the max supported count of query strings.

💡 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

Copilot AI review requested due to automatic review settings March 6, 2026 15:37
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 4 out of 4 changed files in this pull request and generated 2 comments.

Comments suppressed due to low confidence (2)

src/xr-speech-vrex/xrsv_ws_nextgen/xrsv_ws_nextgen.h:83

  • This header is installed as part of the public SDK (see src/CMakeLists.txt install rules). Removing experience from xrsv_ws_nextgen_params_t is an API/ABI breaking change for external consumers that compile against this header. If the intent is to drop deprecated API, ensure versioning/SONAME and release notes reflect this; otherwise consider keeping the field (ignored/no-op) until the next major release.
/// @details The param data structure is used to provide input parameters to the xrsv_ws_nextgen_open() function.  All string parameters must be NULL-terminated.  If a string parameter is not present, NULL must be set for it.
typedef struct {
   const char *device_id;                 ///< The client device's unique identifier
   const char *account_id;                ///< The user's account identifier
   const char *partner_id;                ///< The network's partner identifier
   const char *audio_profile;             ///< Device audio profile
   const char *audio_model;               ///< Device audio model
   const char *language;                  ///< The device's language
   const char *device_mac;                ///< The device's MAC address
   const char *rf_protocol;               ///< The device's RF protocol

src/xr-speech-vrex/xrsv_ws_nextgen/xrsv_ws_nextgen.h:355

  • This header is installed as part of the public SDK (see src/CMakeLists.txt install rules). Removing xrsv_ws_nextgen_update_experience() is a breaking public API change for any downstream users. If this removal is intended as part of a deprecation plan, ensure the library major version / SONAME is updated accordingly; otherwise consider leaving a deprecated no-op wrapper for one release cycle to ease migrations.

/// @brief Update the vrex speech request handler's partner id
/// @details Function used to update the partner identifier.
/// @param[in] partner_id Network's partner identifier stored as a NULL-terminated string
/// @return The function returns true for success, otherwise false.
bool xrsv_ws_nextgen_update_partner_id(xrsv_ws_nextgen_object_t object, const char *partner_id);

/// @brief Update the vrex speech request handler's audio profile
/// @details Function used to update the device's audio profile.
/// @param[in] audio_profile Audio profile name stored as a NULL-terminated string
/// @return The function returns true for success, otherwise false.

💡 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

@jthomp007c jthomp007c merged commit 1f48677 into develop Mar 17, 2026
12 of 13 checks passed
@jthomp007c jthomp007c deleted the topic/RDKEMW-5849 branch March 17, 2026 16:28
@github-actions github-actions bot locked and limited conversation to collaborators Mar 17, 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