![]() |
RDK Documentation (Open Sourced RDK Components)
|
Describe the details about RDK TR69 DeviceInfo APIs specifications.
int hostIf_DeviceInfo::get_Device_DeviceInfo_SerialNumber | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_SerialNumber.
This function provides the Identifier of the particular device that is unique for the indicated class of product and manufacturer. This is the Serial Number of the box. This value MUST remain fixed over the lifetime of the device, including across firmware updates. Any change would indicate that it's a new device and would therefore require to inform BOOTSTRAP.
This function provides the Identifier of the particular device that is unique for the indicated class of product and manufacturer. This is the Serial Number of the box.
This value MUST remain fixed over the lifetime of the device, including across firmware updates. Any change would indicate that it's a new device and would therefore require a BOOTSTRAP Inform.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
Definition at line 301 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_SoftwareVersion | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_SoftwareVersion.
This function identifying the Software/Firmware version of the running image on the box (Vx.y.z). A string identifying the software version currently installed in the CPE (i.e. version of the overall CPE firmware). To allow version comparisons, this element SHOULD be in the form of dot-delimited integers, where each successive integer represents a more minor category of variation. For example, 3.0.21 where the components mean: Major.Minor.Build.
This function identifying the Software/Firmware version of the running image on the box (Vx.y.z)
A string identifying the software version currently installed in the CPE (i.e. version of the overall CPE firmware).
To allow version comparisons, this element SHOULD be in the form of dot-delimited integers, where each successive integer represents a more minor category of variation. For example, 3.0.21 where the components mean: Major.Minor.Build.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
Definition at line 392 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_Manufacturer | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_Manufacturer.
This function retrieves manufacturer specific data from the box using IARM Bus call. The IARM Manager gets the manufacture information from mfr library.
Description. This is the getter api for DeviceInfo for Device.DeviceInfo Profile.
[in] | name | Complete path name of the parameter. |
[in] | type | It is a user data type of ParameterType. |
[out] | value | It is the value of the parameter. |
OK | if successful. |
XXX_ERR_BADPARAM | if a bad parameter was supplied. |
OK | if DeviceInfo_Manufacturer was successfully fetched. :1 |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
Definition at line 486 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_ManufacturerOUI | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_Manufacturer.
This function provides the manufactureOUT information. Organizationally unique identifier of the device manufacturer. Represented as a six hexadecimal-digit value using all upper-case letters and including any leading zeros. Possible patterns: [0-9A-F]{6}. This value MUST remain fixed over the lifetime of the device and also across firmware updates. Any change would indicate that, it's a new device and would therefore require a BOOTSTRAP.
This function provides the manufactureOUT information.
Organizationally unique identifier of the device manufacturer. Represented as a six hexadecimal-digit value using all upper-case letters and including any leading zeros. Possible patterns:
[0-9A-F]{6} The value MUST be a valid OUI as defined in [OUI].
This value MUST remain fixed over the lifetime of the device, including across firmware updates. Any change would indicate that it's a new device and would therefore require a BOOTSTRAP Inform.
OK | if ManufacturerOUI was successfully fetched. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if ManufacturerOUI was successfully fetched. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
Definition at line 565 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_ModelName | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_ModelName.
This function provides the Model name of the device. This MUST be based on Comcast_X_HW* specification and of the format TUVVVWXY.
This function provides the Model name of the CPE (human readable string) Device. This MUST be based on Comcast_X_HW* specification and of the format TUVVVWXY.
OK | if ManufacturerOUI was successfully fetched. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if ManufacturerOUI was successfully fetched. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
Definition at line 640 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_Description | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_Description.
This function provides the A full description of the device. Currently not implemented.
This function provides the A full description of the CPE device (human readable string). Device. *
OK | if Description is successfully fetched. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
Definition at line 724 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_ProductClass | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_ProductClass.
This function provides the Identifier of the class of product for which the serial number applies. That is, for a given manufacturer, this parameter is used to identify the product or class of product over which the SerialNumber parameter is unique. This value MUST remain fixed over the lifetime of the device and also across firmware updates. Any change would indicate that it's a new device and would therefore require a BOOTSTRAP. Currently not implemented.
This function provides the Identifier of the class of product for which the serial number applies. That is, for a given manufacturer, this parameter is used to identify the product or class of product over which the SerialNumber parameter is unique.
This value MUST remain fixed over the lifetime of the device, including across firmware updates. Any change would indicate that it's a new device and would therefore require a BOOTSTRAP Inform.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
Definition at line 748 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_HardwareVersion | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_HardwareVersion.
This function identifying the particular CPE model and version. This MUST be based on Comcast_X_HW* specification and of the format VM.m.R.
This function identifying the particular CPE model and version. This MUST be based on Comcast_X_HW* specification and of the format VM.m.R.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch data from device. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
Definition at line 821 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_AdditionalHardwareVersion | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_AdditionalHardwareVersion.
This function identifying any additional CPE model and version. Currently not implemented.
This function identifying any additional CPE model and version. This MUST be based on Comcast_X_HW* specification and of the format VM.m.R.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
Definition at line 878 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_AdditionalSoftwareVersion | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_AdditionalSoftwareVersion.
This function identifying any additional Software/Firmware version of the running image on the box (Vx.y.z). A string identifying the software version currently installed in the CPE (i.e. version of the overall CPE firmware). To allow version comparisons, the version number SHOULD be in the form of dot-delimited integers, where each successive integer represents a more minor category of variation. For example, 3.0.21 where the components mean: Major.Minor.Build.
This function identifying any additional Software/Firmware version of the running image on the box (Vx.y.z)
A string identifying the software version currently installed in the CPE (i.e. version of the overall CPE firmware).
To allow version comparisons, this element SHOULD be in the form of dot-delimited integers, where each successive integer represents a more minor category of variation. For example, 3.0.21 where the components mean: Major.Minor.Build.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful fetch data from device. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
Definition at line 901 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_ProvisioningCode | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_ProvisioningCode.
This is an identifier of the primary service provider and other provisioning information, which MAY be used to determine service provider-specific customization and provisioning parameters.
This is an Identifier of the primary service provider and other provisioning information, which MAY be used by the ACS to determine service provider-specific customization and provisioning parameters.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful fetch data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch data from the device. |
Definition at line 965 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_UpTime | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_UpTime.
This is an identifier of time in seconds since the CPE was last restarted.
This is an Identifier of time in seconds since the CPE was last restarted.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful fetch data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch data from the device. |
Definition at line 1022 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_FirstUseDate | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_FirstUseDate.
This function use to get the 'Date' and 'Time' in UTC that the CPE first both successfully established an IP-layer network connection and acquired an absolute time reference using NTP or equivalent over that network connection. The CPE MAY reset this date after a factory reset. If NTP or equivalent is not available, this parameter, if present, SHOULD be set to the unknown time value.
This is Date and time in UTC that the CPE first both successfully established an IP-layer network connection and acquired an absolute time reference using NTP or equivalent over that network connection. The CPE MAY reset this date after a factory reset.
If NTP or equivalent is not available, this parameter, if present, SHOULD be set to the Unknown Time value.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful fetch data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch data from the device. |
Definition at line 1047 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_X_COMCAST_COM_STB_MAC | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_X_COMCAST_COM_STB_MAC.
This function use to get the MAC Address of the eth1 interface currently.
This is the MAC Address of the interface. This is currently the mac address of the eth1 interface.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch data from the device. |
Definition at line 1083 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_X_COMCAST_COM_STB_IP | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_X_COMCAST_COM_STB_IP.
This function use to get the IPv4 Address of the eth1 interface currently.
This is the IPv4 address of the interface. This is currently the ip address of the eth1 interface.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch data from the device. |
Definition at line 1328 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_X_COMCAST_COM_PowerStatus | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_X_COMCAST_COM_PowerStatus.
The X_COMCAST_COM_PowerStatus as get parameter results in the power status being performed on the device. Power status of the device based on the front panel power LED.
The X_COMCAST_COM_PowerStatus as get parameter results in the power status being performed on the device. Power status of the device based on the front panel power LED. Enumeration of: PowerOn Standby PowerOff
OK | if it is successful. |
NOK | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful fetch data from the device. |
NOK | if not able to fetch data from the device. |
Definition at line 1369 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_X_RDKCENTRAL_COM_FirmwareFilename | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_X_RDKCENTRAL_COM_FirmwareFilename.
Get the filename of the firmware currently running on the device.
Filename of the firmware currently running on the device.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch data from the device. |
Definition at line 1425 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_X_RDKCENTRAL_COM_FirmwareToDownload | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_X_RDKCENTRAL_COM_FirmwareToDownload.
Get the filename of the firmware that the device was requested to download most recently.
Filename of the firmware that the device was requested to download most recently..
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch data from the device. |
Definition at line 1529 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_VendorConfigFileNumberOfEntries | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_VendorConfigFileNumberOfEntries.
This function gets the number of entries in the VendorConfigFile table. Currently not implemented.
This is the number of entries in the VendorConfigFile table.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful fetch data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch data from the device. |
Definition at line 1634 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_SupportedDataModelNumberOfEntries | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_SupportedDataModelNumberOfEntries.
This function gets the number of entries in the SupportedDataModel table. Currently not implemented.
This is the number of entries in the SupportedDataModel table.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful fetch data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch data from the device. |
Definition at line 1652 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_VendorLogFileNumberOfEntries | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_VendorLogFileNumberOfEntries.
The function gets the number of entries in the VendorLogFile table. Currently not implemented.
The number of entries in the VendorLogFile table.
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful fetch data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch data from the device. |
Definition at line 1702 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_X_RDKCENTRAL_COM_Reset | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_X_RDKCENTRAL_COM_Reset.
This function get X_COMCAST-COM_Reset returns an empty string. Currently not implemented.
Returns an empty string.
OK | if it is successful. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
Definition at line 1717 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_MemoryStatus_Total | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
Get the device total memory status.
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch data from the device. |
Definition at line 1740 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_MemoryStatus_Free | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
Get the device total free memory status.
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful fetch data from the device. |
ERR_INTERNAL_ERROR | if not able to fetch data from the device. |
Definition at line 1768 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_X_RDKCENTRAL_COM_BootStatus | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
get_Device_DeviceInfo_X_RDKCENTRAL_COM_BootStatus.
This method is updated with the boot status of the device at the time of query. If the device is currently starting up, this parameter will hold boot status as per the boot sequence of the device. BootStatus string - Boot status for an STB CPE via TR-069 ACS when powered On. Enumeration of : Coax connection confirmed, MoCA enabled Discovering MoCA Network Coordinator: MoCA MAC: xx:xx:xx:xx:xx:xx Joining MoCA Network Connection successful Acquiring IP Address from Gateway Contacting ACS Contacting XRE.
This method is updated with the boot status of the device at the time of query. If the device is currently starting up, this parameter will hold boot status as per the boot sequence of the device.
BootStatus string - Boot status for an STB CPE via TR-069 ACS when powered On. Enumeration of : Coax connection confirmed, MoCA enabled Discovering MoCA Network Coordinator: MoCA MAC: xx:xx:xx:xx:xx:xx Joining MoCA Network Connection successful Acquiring IP Address from Gateway Contacting ACS Contacting XRE
OK | if it is successful. |
NOK | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch data from the device. |
NOK | if not able to fetch data from the device. |
Definition at line 1801 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_Device_DeviceInfo_X_RDKCENTRAL_COM_CPUTemp | ( | HOSTIF_MsgData_t * | stMsgData, |
bool * | pChanged = NULL |
||
) |
This method gets the CPU temperature for doing general health check up of the box.
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successfully fetch data from the device. |
NOK | if not able to fetch data from the device. |
Definition at line 1931 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::set_Device_DeviceInfo_X_RDKCENTRAL_COM_Reset | ( | HOSTIF_MsgData_t * | stMsgData | ) |
set_Device_DeviceInfo_X_RDKCENTRAL_COM_Reset.
This is set X_COMCAST-COM_Reset as setting this parameter results in the reset being performed on the device. The level of reset performed is defined by the value that is written into this parameter. Enumeration of: Cold Factory Warehouse Customer.
Setting this parameter results in a reset being performed on the device. The level of reset performed is defined by the value written into this parameter. Enumeration of: Cold Factory Warehouse Customer
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from device. |
ERR_INTERNAL_ERROR | if not able to fetch the data from device. |
Definition at line 2098 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::set_Device_DeviceInfo_X_RDKCENTRAL_COM_FirmwareToDownload | ( | HOSTIF_MsgData_t * | stMsgData | ) |
This method set the firmware download file path which is present in "/opt/fwdnldstatus.txt".
Helper methods
[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from device. |
NOK | if not able to fetch the data from device. |
Definition at line 2186 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::set_Device_DeviceInfo_X_RDKCENTRAL_COM_FirmwareDownloadStatus | ( | HOSTIF_MsgData_t * | stMsgData | ) |
This method set the status of the firmware download which is present in "/opt/fwdnldstatus.txt".
[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from device. |
NOK | if not able to fetch the data from device. |
Definition at line 2207 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::readFirmwareInfo | ( | char * | param, |
HOSTIF_MsgData_t * | stMsgData | ||
) |
This method read the firmware information which is present in "/opt/fwdnldstatus.txt".
[in] | param | Firmware name string. |
[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from device. |
NOK | if not able to fetch the data from device. |
Definition at line 4000 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::writeFirmwareInfo | ( | char * | param, |
HOSTIF_MsgData_t * | stMsgData | ||
) |
This method writes the firmware information which is present in "/opt/fwdnldstatus.txt".
[in] | param | Firmware name string. |
[out] | stMsgData | TR-069 Host interface message request. |
OK | if it is successfully fetch the data from device. |
NOK | if not able to fetch the data from device. |
Definition at line 4070 of file Device_DeviceInfo.cpp.
int hostIf_DeviceInfo::get_X_RDK_FirmwareName | ( | HOSTIF_MsgData_t * | stMsgData | ) |
This function identifying the imagename of the running image This Value comes from "imagename" property in /version.txt file.
[out] | stMsgData | TR-069 Host interface message request. |
[in] | pChanged | Status of the operation. |
OK | if it is successful. |
ERR_INTERNAL_ERROR | if not able to fetch from device. |
Definition at line 4743 of file Device_DeviceInfo.cpp.