 |
RDK Documentation (Open Sourced RDK Components)
|
42 int main(
int argc,
char *argv[])
48 printf(
"%s : <HDMI Input Port Index - 0, 1..> \r\n", argv[0]);
52 char *portId = argv[1];
54 printf(
"%s : %s\r\n", argv[0],argv[1]);
63 printf(
"Device has %d HDMI inputs \r\n", numInputs);
64 int selectedPort = atoi(portId);
65 if(selectedPort < numInputs) {
66 printf(
"Start HDMI port, press ENTER to stop\r\n");
69 printf(
"Stop HDMI port \r\n");
73 printf(
"Wrong input port number %d\r\n", selectedPort);
76 catch (
const std::exception e) {
77 printf(
"Exception caught\r\n");
81 printf(
"SampleDSClient Hearbeat\r\n");
IARM_Result_t IARM_Bus_Term(void)
This API is used to terminate the IARM-Bus library.
Structures and classes for HDMI Input are defined here.
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...
static void Initialize()
This API is used to initialize the Device Setting module. Each API should be called by any client of ...
RDK IARM-Bus API Declarations.
static void DeInitialize()
This API is used to deinitialize the device settings module. DeInitialize() must be called to release...
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.