|
RDK Documentation (Open Sourced RDK Components)
|
46 int main(
int argc,
char *argv[])
57 printf(
"%s : <Text Message [3 Chars]>\n", argv[0]);
60 char *Message = argv[1];
63 printf(
"Power : brightness is %d\n",bright);
65 printf(
"Message : brightness is %d\n",bright);
67 printf(
"Record : brightness is %d\n",bright);
69 printf(
"RfByPass : brightness is %d\n",bright);
71 printf(
"Text : brightness is %d\n",bright);
84 printf(
"Power : brightness is %d\n",bright);
86 printf(
"Message : brightness is %d\n",bright);
88 printf(
"Record : brightness is %d\n",bright);
90 printf(
"RfByPass : brightness is %d\n",bright);
92 printf(
"Text : brightness is %d\n",bright);
95 printf(
"Sample Application: set text display------- %s\n",Message);
100 printf(
"Sample Application: set text brightness------- %d\n",i);
108 printf(
"Power : brightness is %d\n",bright);
110 printf(
"Message : brightness is %d\n",bright);
112 printf(
"Record : brightness is %d\n",bright);
114 printf(
"RfByPass : brightness is %d\n",bright);
116 printf(
"Text : brightness is %d\n",bright);
119 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,...
Classes and structures for front panel text display are defined here.
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.