Skip to content

Commit 038a643

Browse files
authored
RDK-56578 : Changed deviceType from tv to IpTv. (rdkcentral#6293)
* RDK-56578 : Changed deviceType from tv to IpTv. (rdkcentral#6216) * Updated version and changelog.
1 parent 10095fa commit 038a643

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

DeviceInfo/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ All notable changes to this RDK Service will be documented in this file.
1515
* Changes in CHANGELOG should be updated when commits are added to the main or release branches. There should be one CHANGELOG entry per JIRA Ticket. This is not enforced on sprint branches since there could be multiple changes for the same JIRA ticket during development.
1616

1717
* For more details, refer to [versioning](https://github.com/rdkcentral/rdkservices#versioning) section under Main README.
18+
19+
## [1.1.1] - 2025-6-18
20+
### Changed
21+
- Changed "TV" device type to "IpTv".
22+
1823
## [1.1.0] - 2024-11-26
1924
### Added
2025
- Added API to get Device brand

DeviceInfo/DeviceInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#define API_VERSION_NUMBER_MAJOR 1
2323
#define API_VERSION_NUMBER_MINOR 1
24-
#define API_VERSION_NUMBER_PATCH 0
24+
#define API_VERSION_NUMBER_PATCH 1
2525

2626
namespace WPEFramework {
2727
namespace {

DeviceInfo/DeviceInfo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
"devicetype": {
121121
"type": "string",
122122
"enum": [
123-
"tv",
123+
"IpTv",
124124
"IpStb",
125125
"QamIpStb"
126126
],

DeviceInfo/Implementation/DeviceInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ namespace Plugin {
142142
: GetFileRegex(_T("/etc/device.properties"),
143143
std::regex("^DEVICE_TYPE(?:\\s*)=(?:\\s*)(?:\"{0,1})([^\"\\n]+)(?:\"{0,1})(?:\\s*)$"), deviceType);
144144
device_type = deviceType.c_str();
145-
deviceType = (strcmp("mediaclient",device_type)==0)?("IpStb"):((strcmp("hybrid",device_type)==0)?("QamIpStb"):("TV"));
145+
deviceType = (strcmp("mediaclient",device_type)==0)?("IpStb"):((strcmp("hybrid",device_type)==0)?("QamIpStb"):("IpTv"));
146146
return result;
147147
#endif
148148
}

0 commit comments

Comments
 (0)