|
RDK Documentation (Open Sourced RDK Components)
|
46 int main(
int argc,
char *argv[])
49 uint8_t physicalAddressA=1,physicalAddressB=0,physicalAddressC =0,physicalAddressD=0;
61 std::vector<unsigned char> bytes;
63 printf(
"\t Display [%s] has %d bytes EDID\r\n",
"HDMI", bytes.size());
65 for (
int i = 0; i < bytes.size(); i++) {
72 printf(
"%02X ", bytes[i]);
77 unsigned char sum = 0;
78 for (
int i = 0; i < 128; i++) {
83 printf(
"[EDID Sanity Warning] : Checksum is invalid\r\n");
86 printf(
"[EDID Checksum is valid \r\n");
99 printf(
"Exception Caught, Abort operation\r\n");
IARM_Result_t IARM_Bus_Term(void)
This API is used to terminate the IARM-Bus library.
bool isDisplayConnected() const
This API is used to Check if the port is currently connected to any display device.
Class extending enumerable to implement the videoooutputport interface.
It contains class referenced by manager.cpp file.
Device Settings HAL error codes.
Device Settings HAL utilities.
IARM_Result_t IARM_Bus_Disconnect(void)
This API disconnect Application from IARM Bus so the application will not receive any IARM event or R...
It contains structures and class referenced by the videoOutputportTypes.cpp file.
const VideoOutputPort::Display & getDisplay()
This API is used to get the display device information currently connected to the output port....
static void Initialize()
This API is used to initialize the Device Setting module. Each API should be called by any client of ...
It contains class and structure refrenced by the videoResolution.cpp file.
RDK IARM-Bus API Declarations.
It contains class and structure refrenced by the videooutputport.cpp file.
static void DeInitialize()
This API is used to deinitialize the device settings module. DeInitialize() must be called to release...
VideoOutputPort & getVideoOutputPort(const std::string &name)
This API is used to get the reference to the video output port by its name. The name of the port must...
static Host & getInstance(void)
This API is used to get a reference to the single instance of the Host object.
void getEDIDBytes(std::vector< uint8_t > &edid) const
This function is used to get the EDID information of the connected video display. After it gets the E...
IARM_Result_t IARM_Bus_Connect(void)
This API is used to connect application to the IARM bus daemon. After connected, the application can ...
IARM_Result_t IARM_Bus_Init(const char *name)
This API is used to initialize the IARM-Bus library.