RDK Documentation (Open Sourced RDK Components)

Description

Describe the details about TR-069 components display device APIs specifications.

Functions

 hostIf_STBServiceDisplayDevice::hostIf_STBServiceDisplayDevice (int devId, device::VideoOutputPort &port)
 Class Constructor of the class hostIf_STBServiceDisplayDevice. More...
 
int hostIf_STBServiceDisplayDevice::handleSetMsg (const char *paramName, HOSTIF_MsgData_t *stMsgData)
 This function set the display device interface attribute value such as Status, EDID, SupportedResolutions, PreferredResolution etc.. in the connected display device. Currently not implemented. More...
 
int hostIf_STBServiceDisplayDevice::handleGetMsg (const char *paramName, HOSTIF_MsgData_t *stMsgData)
 This function get the display device interface attribute value such as Status, EDID, SupportedResolutions, PreferredResolution etc.. in the connected display device. Currently not handling VideoLatency, AutoLipSyncSupport, CECSupport and HDMI3DPresent. More...
 
void hostIf_STBServiceDisplayDevice::doUpdates (const char *baseName, updateCallback mUpdateCallback)
 This function updates the hostIf display device interface attribute value such as Status, EDID, SupportedResolutions, PreferredResolution in the connected display device. More...
 

Function Documentation

◆ hostIf_STBServiceDisplayDevice()

hostIf_STBServiceDisplayDevice::hostIf_STBServiceDisplayDevice ( int  devId,
device::VideoOutputPort port 
)

Class Constructor of the class hostIf_STBServiceDisplayDevice.

It will initialize the device id and video output port.

Parameters
[in]devidIdentification number of the device.
[in]portVideo output port number.

Definition at line 61 of file Components_DisplayDevice.cpp.

◆ handleSetMsg()

int hostIf_STBServiceDisplayDevice::handleSetMsg ( const char *  paramName,
HOSTIF_MsgData_t stMsgData 
)

This function set the display device interface attribute value such as Status, EDID, SupportedResolutions, PreferredResolution etc.. in the connected display device. Currently not implemented.

Parameters
[in]paramNameDisplay device service name string.
[in]stMsgDataHostIf Message Request param contains the display device attribute value.
Returns
Returns an Integer value.
Return values
0If successfully set the hostIf display device interface attribute.
-1If Not able to set the hostIf display device interface attribute.
-2If Not handle the hostIf display device interface attribute.

Definition at line 111 of file Components_DisplayDevice.cpp.

◆ handleGetMsg()

int hostIf_STBServiceDisplayDevice::handleGetMsg ( const char *  paramName,
HOSTIF_MsgData_t stMsgData 
)

This function get the display device interface attribute value such as Status, EDID, SupportedResolutions, PreferredResolution etc.. in the connected display device. Currently not handling VideoLatency, AutoLipSyncSupport, CECSupport and HDMI3DPresent.

Parameters
[in]paramNameDisplay device service name string.
[in]stMsgDataHostIf Message Request param contains the display device attribute value.
Returns
Returns an Integer value.
Return values
0If successfully get the hostIf display device interface attribute.
-1If Not able to get the hostIf display device interface attribute.
-2If Not handle the hostIf display device interface attribute.

Definition at line 132 of file Components_DisplayDevice.cpp.

◆ doUpdates()

void hostIf_STBServiceDisplayDevice::doUpdates ( const char *  baseName,
updateCallback  mUpdateCallback 
)

This function updates the hostIf display device interface attribute value such as Status, EDID, SupportedResolutions, PreferredResolution in the connected display device.

Parameters
[in]baseNameDisplay device service name string.
[in]mUpdateCallbackCallback function which updates the hostIf video interface.

Definition at line 200 of file Components_DisplayDevice.cpp.