|
RDK Documentation (Open Sourced RDK Components)
|
45 int main(
int argc,
char *argv[])
56 printf(
"%s : <Text Message [3 Chars]>\n", argv[0]);
59 char *Message = argv[1];
62 printf(
"Power : brightness is %d\n",bright);
64 printf(
"Message : brightness is %d\n",bright);
66 printf(
"Record : brightness is %d\n",bright);
68 printf(
"RfByPass : brightness is %d\n",bright);
70 printf(
"Text : brightness is %d\n",bright);
83 printf(
"Power : brightness is %d\n",bright);
85 printf(
"Message : brightness is %d\n",bright);
87 printf(
"Record : brightness is %d\n",bright);
89 printf(
"RfByPass : brightness is %d\n",bright);
91 printf(
"Text : brightness is %d\n",bright);
94 printf(
"Sample Application: set text display------- %s\n",Message);
99 printf(
"Sample Application: set text brightness------- %d\n",i);
107 printf(
"Power : brightness is %d\n",bright);
109 printf(
"Message : brightness is %d\n",bright);
111 printf(
"Record : brightness is %d\n",bright);
113 printf(
"RfByPass : brightness is %d\n",bright);
115 printf(
"Text : brightness is %d\n",bright);
118 printf(
"Exception Caught during [%s]\r\n", argv[0]);
void setTextBrightness(const int &brightness)
This API sets the brightness value for the front panel LED.
IARM_Result_t IARM_Bus_Term(void)
This API is used to terminate the IARM-Bus library.
FrontPanelTextDisplay & getTextDisplay(int id)
This function gets the FrontPanelTextDisplay instance corresponding to the specified id,...
static FrontPanelConfig & getInstance()
This API gets the instance of the FrontPanelConfig. When called for the first time,...
It contains class referenced by manager.cpp file.
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.
Structures and classes to manage front panel are defined here.
FrontPanelIndicator & getIndicator(int id)
This function gets an instance of the FrontPanelndicator with the specified id, only if the id passed...
void setText(const std::string &text)
This API sets the text LED display, by switching the text display to text mode.
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 getTextBrightness()
This API gets the text LED brightness value.
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.