|
RDK Documentation (Open Sourced RDK Components)
|
35 #include "exception.hpp"
41 int main(
int argc,
char *argv[])
51 printf(
"%s : <Indicator - Message|Power|Record|Remote|RfByPass>\n", argv[0]);
54 char *pIndicatorName = argv[1];
57 printf(
"Sample Application: get FrontPanel brightness\n");
59 printf(
"Sample Application: brightness is %d\n", bright);
62 printf(
"Exception Caught during [%s]\r\n", argv[0]);
IARM_Result_t IARM_Bus_Term(void)
This API is used to terminate the IARM-Bus library.
It contains class referenced by manager.cpp file.
Structures and classes for front panel indicator are defined here.
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 FrontPanelIndicator & getInstance(int id)
This function gets the FrontPanelIndicator instance corresponding to the id parameter,...
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 ...
int getBrightness()
This API gets the brightness of the specified LED indicators.
IARM_Result_t IARM_Bus_Init(const char *name)
This API is used to initialize the IARM-Bus library.