Skip to content

Commit 7ad8fde

Browse files
authored
Merge pull request rdkcentral#5962 from hgfell683/main
DELIA-66702: Documentation update
2 parents 47741c1 + 4265020 commit 7ad8fde

File tree

6 files changed

+70
-44
lines changed

6 files changed

+70
-44
lines changed

DisplaySettings/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ All notable changes to this RDK Service will be documented in this file.
1616

1717
* For more details, refer to [versioning](https://github.com/rdkcentral/rdkservices#versioning) section under Main README.
1818

19+
## [2.0.2] - 2024-12-03
20+
### Fixed
21+
- Corrected the documentation for several functions to make them more accurate for their actual use.
22+
1923
## [2.0.1] - 2024-12-03
2024
### Fixed
2125
- Fixed unhandled exception that was occasionally causing a crash if thread creation failed.

DisplaySettings/DisplaySettings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ using namespace std;
8585

8686
#define API_VERSION_NUMBER_MAJOR 2
8787
#define API_VERSION_NUMBER_MINOR 0
88-
#define API_VERSION_NUMBER_PATCH 0
88+
#define API_VERSION_NUMBER_PATCH 2
8989

9090
static bool isCecEnabled = false;
9191
static bool isResCacheUpdated = false;

DisplaySettings/DisplaySettings.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"type": "array",
2929
"items": {
3030
"type": "string",
31-
"example": "`SDR`, `HDR10`, `HDR10PLUS`, `HLG`, `DV`, `Technicolor Prime`"
31+
"example": "`NONE`, `SDR`, `HDR10`, `HDR10PLUS`, `HLG`, `DV`, `Technicolor Prime`"
3232
}
3333
},
3434
"currentAudioFormat": {
@@ -2073,17 +2073,17 @@
20732073
}
20742074
},
20752075
"setForceHDRMode": {
2076-
"summary": "Enables or disables the force HDR mode. If enabled, the HDR format that is currently configured on the device is used.",
2076+
"summary": " This API force the output HDR video format passed as input arumgents. If force output video format is set as \"NONE\" or this API not called video format changes as per input video format type",
20772077
"params": {
20782078
"type": "object",
20792079
"properties": {
20802080
"hdr_mode": {
2081-
"summary": "`true` to force the HDR format or `false` to reset the mode to the default.",
2082-
"type": "boolean",
2083-
"example": true
2081+
"$ref": "#/definitions/supportedVideoFormat"
20842082
}
20852083
},
2086-
"required": []
2084+
"required": [
2085+
"hdr_mode"
2086+
]
20872087
},
20882088
"result": {
20892089
"$ref": "#/common/result"
@@ -2224,22 +2224,22 @@
22242224
"operation": {
22252225
"summary": "The audio profile state",
22262226
"type": "string",
2227-
"example": ""
2227+
"example": "`ADD`, `REMOVE`"
22282228
},
22292229
"profileName": {
22302230
"summary": "An MS12 audio profile name from `getSupportedMS12AudioProfile`",
22312231
"type": "string",
2232-
"example": "Sports"
2232+
"example": "`Sports`, `User`"
22332233
},
22342234
"ms12SettingsName": {
22352235
"summary": "An ms12 setting name",
22362236
"type": "string",
2237-
"example": "Dialog Enhance"
2237+
"example": "`DialogEnhance`, `VolumeLevellerMode`, `VolumeLevellerLevel`, `BassEnhancer`, `SurroundVirtualizerMode`, `SurroundVirtualizerLevel`"
22382238
},
22392239
"ms12SettingsValue": {
22402240
"summary": "The value to set",
22412241
"type": "string",
2242-
"example": "On"
2242+
"example": "`0`, `1`, `2`"
22432243
}
22442244
},
22452245
"required": [

SystemServices/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ All notable changes to this RDK Service will be documented in this file.
1616

1717
* For more details, refer to [versioning](https://github.com/rdkcentral/rdkservices#versioning) section under Main README.
1818

19+
## [3.4.1] - 2024-12-03
20+
### Fixed
21+
- Fixed the location of the get and set FSR functions within the documentation.
22+
1923
## [3.4.0] - 2024-12-09
2024
### Added
2125
- Added implementation for BootType get API.

SystemServices/System.json

Lines changed: 50 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,6 +1945,46 @@
19451945
]
19461946
}
19471947
},
1948+
"setFSRFlag":{
1949+
"summary": "Set the FSR flag into the emmc raw area. This API will fail if you attempt to set the same value.",
1950+
"result": {
1951+
"type": "object",
1952+
"properties": {
1953+
"fsrFlag": {
1954+
"summary": "FSR flag",
1955+
"type": "boolean",
1956+
"example": true
1957+
},
1958+
"success":{
1959+
"$ref": "#/common/success"
1960+
}
1961+
},
1962+
"required": [
1963+
"fsrFlag",
1964+
"success"
1965+
]
1966+
}
1967+
},
1968+
"getFSRFlag":{
1969+
"summary": "Get the FSR flag from the emmc raw area.",
1970+
"result": {
1971+
"type": "object",
1972+
"properties": {
1973+
"fsrFlag": {
1974+
"summary": "FSR flag.",
1975+
"type": "boolean",
1976+
"example": true
1977+
},
1978+
"success":{
1979+
"$ref": "#/common/success"
1980+
}
1981+
},
1982+
"required": [
1983+
"fsrFlag",
1984+
"success"
1985+
]
1986+
}
1987+
},
19481988
"setPrivacyMode": {
19491989
"summary": "Setting Privacy Mode.",
19501990
"events": {
@@ -2394,43 +2434,21 @@
23942434
]
23952435
}
23962436
},
2397-
"setFSRFlag":{
2398-
"summary": "Set the FSR flag into the emmc raw area. This API will fail if you attempt to set the same value.",
2399-
"result": {
2400-
"type": "object",
2401-
"properties": {
2402-
"fsrFlag": {
2403-
"summary": "FSR flag",
2404-
"type": "boolean",
2405-
"example": true
2406-
},
2407-
"success":{
2408-
"$ref": "#/common/success"
2409-
}
2410-
},
2411-
"required": [
2412-
"fsrFlag",
2413-
"success"
2414-
]
2415-
}
2416-
},
2417-
"getFSRFlag":{
2418-
"summary": "Get the FSR flag from the emmc raw area.",
2419-
"result": {
2420-
"type": "object",
2437+
"onBlocklistChanged":{
2438+
"summary": "Triggers when the blocklist flag is modified",
2439+
"params": {
2440+
"type" :"object",
24212441
"properties": {
2422-
"fsrFlag": {
2423-
"summary": "FSR flag.",
2424-
"type": "boolean",
2425-
"example": true
2442+
"oldBlocklistFlag": {
2443+
"$ref": "#/definitions/oldblocklist"
24262444
},
2427-
"success":{
2428-
"$ref": "#/common/success"
2445+
"newBlocklistFlag": {
2446+
"$ref": "#/definitions/newblocklist"
24292447
}
24302448
},
24312449
"required": [
2432-
"fsrFlag",
2433-
"success"
2450+
"oldBlocklistFlag",
2451+
"newBlocklistFlag"
24342452
]
24352453
}
24362454
}

SystemServices/SystemServices.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ using namespace std;
6767

6868
#define API_VERSION_NUMBER_MAJOR 3
6969
#define API_VERSION_NUMBER_MINOR 4
70-
#define API_VERSION_NUMBER_PATCH 0
70+
#define API_VERSION_NUMBER_PATCH 1
7171

7272
#define MAX_REBOOT_DELAY 86400 /* 24Hr = 86400 sec */
7373
#define TR181_FW_DELAY_REBOOT "Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.AutoReboot.fwDelayReboot"

0 commit comments

Comments
 (0)