Skip to content

Commit

Permalink
Merge pull request rdkcentral#2162 from jruzzi/system_service_updates
Browse files Browse the repository at this point in the history
System service updates
  • Loading branch information
anand-ky authored Jan 25, 2022
2 parents 124b426 + d2504bf commit 5727465
Show file tree
Hide file tree
Showing 2 changed files with 321 additions and 189 deletions.
52 changes: 47 additions & 5 deletions SystemServices/System.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@
"firmwareUpdateDisabled": {
"type": "boolean"
}
}
},
"required": []
},
"webBrowser": {
"type": "object",
Expand Down Expand Up @@ -244,7 +245,13 @@
"type": "boolean",
"example": true
}
}
},
"required": []
},
"graceInterval": {
"summary": "The over temperature grace interval",
"type": "string",
"example": "600"
},
"result": {
"type":"object",
Expand Down Expand Up @@ -684,6 +691,24 @@
]
}
},
"getOvertempGraceInterval": {
"summary": "Returns the over-temperature grace interval value. Not supported on all devices.",
"result": {
"type": "object",
"properties": {
"graceInterval": {
"$ref": "#/definitions/graceInterval"
},
"success":{
"$ref": "#/definitions/success"
}
},
"required": [
"graceInterval",
"success"
]
}
},
"getPowerState":{
"summary": "Returns the power state of the device",
"result": {
Expand Down Expand Up @@ -957,7 +982,7 @@
}
},
"getTemperatureThresholds":{
"summary": "Returns temperature threshold values. Not supported on all devices",
"summary": "Returns temperature threshold values. Not supported on all devices.",
"result": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1427,6 +1452,23 @@
"$ref": "#/definitions/result"
}
},
"setOvertempGraceInterval":{
"summary": "Sets the over-temperature grace interval value. Not supported on all devices.",
"params": {
"type": "object",
"properties": {
"graceInterval": {
"$ref": "#/definitions/graceInterval"
}
},
"required": [
"graceInterval"
]
},
"result": {
"$ref": "#/definitions/result"
}
},
"setPowerState":{
"summary": "Sets the power state of the device",
"params": {
Expand Down Expand Up @@ -1472,7 +1514,7 @@
"params": {
"type":"object",
"properties": {
"Thresholds" :{
"thresholds" :{
"type": "object",
"properties": {
"WARN": {
Expand All @@ -1489,7 +1531,7 @@
}
},
"required": [
"Thresholds"
"thresholds"
]
},
"result": {
Expand Down
Loading

0 comments on commit 5727465

Please sign in to comment.