FAQ

DeviceDiagnostics API

API
Published: March 25, 2020
Edited: March 25, 2020

org.rdk.deviceDiagnostics_1

Description

Provides an RDK API interface for the WebPA service for this device only.

Methods

getConfiguration

Parameters:  names: String []

Description:  Gets the values associated with the corresponding property names.
Returns: An object with values for the associated property names.
Example: A request is made for the following properties:
[
    "Device.X_CISCO_COM_Security.Firewall.FirewallLevel",
    "Device.X_CISCO_COM_Not_There",
   "Device.X_CISCO_COM_LED.RedPwm",
    "Device.X_CISCO_COM_LED.BluePwm"
]
Would return something like:

{
  "parameters": [
  {
    "name": "Device.X_CISCO_COM_Security.Firewall.FirewallLevel",
    "value": "Low"
  },
  {
    "name": "Device.X_CISCO_COM_LED.RedPwm",
    "value": "123"
  },
  {
    "name": "Device.X_CISCO_COM_LED.BluePwm",
    "value": "223"
  }
 ],
 "success": true
}

Where parameters are defined as per the WebPA specifications.

PHP Code Snippets Powered By : XYZScripts.com