|
RDK Documentation (Open Sourced RDK Components)
|
41 int main(
int argc,
char *argv[])
44 printf(
"%s : <Indicator - Message|Power|Record|Remote|RfByPass> <brightness - [0 to 100]>\n", argv[0]);
48 char *pIndicatorName = argv[1];
49 int indicatorBrightness = atoi((
const char *)argv[2]);
60 printf(
"Sample Application: set FrontPanel brightness\n");
62 printf(
"Sample Application: set FrontPanel completed\n");
66 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.
void setBrightness(const int &brightness, const bool toPersist=true)
This API sets the brightness or intensity of the front panel indicators.
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 ...
IARM_Result_t IARM_Bus_Init(const char *name)
This API is used to initialize the IARM-Bus library.