|
RDK Documentation (Open Sourced RDK Components)
|
46 int main(
int argc,
char *argv[])
49 uint8_t physicalAddressA=1,physicalAddressB=0,physicalAddressC =0,physicalAddressD=0;
57 std::vector<unsigned char> bytes;
59 printf(
"\t Host has %d bytes EDID\r\n", bytes.size());
61 for (
int i = 0; i < bytes.size(); i++) {
68 printf(
"%02X ", bytes[i]);
72 if (bytes.size() >= 128) {
73 unsigned char sum = 0;
74 for (
int i = 0; i < 128; i++) {
79 printf(
"[EDID Sanity Warning] : Checksum is invalid\r\n");
82 printf(
"[EDID Checksum is valid \r\n");
90 printf(
"Exception Caught, Abort operation\r\n");
IARM_Result_t IARM_Bus_Term(void)
This API is used to terminate the IARM-Bus library.
void getHostEDID(std::vector< uint8_t > &edid) const
This function is used to get the EDID information of the host device.
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.
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...
static Host & getInstance(void)
This API is used to get a reference to the single instance of the Host object.
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.