#include <NetLighthouseLed.h>
Inherits ManagedObject.
◆ NetLighthouseLed()
NetLighthouseLed::NetLighthouseLed |
( |
| ) |
|
|
protected |
◆ ~NetLighthouseLed()
virtual NetLighthouse::NetLighthouseLed::~NetLighthouseLed |
( |
| ) |
|
|
inlinevirtual |
◆ getInstance()
◆ getLedState()
.getLedState Return the LED state, "on" or "off".
- See also
- setLedState()
- Parameters
-
deviceID | the identifier of the device as returned by getDeviceIDs. |
errorCode | see LHErrorCode. |
- Returns
- "on" if the LED is turned on, "off" if the LED is turned off or on error.
◆ setLedState()
void NetLighthouseLed::setLedState |
( |
unsigned int | deviceID, |
|
|
int% | errorCode, |
|
|
net_lh_enable_state_t | state ) |
|
virtual |
.setLedState Turn the LED on or off.
- Parameters
-
deviceID | the identifier of the device as returned by getDeviceIDs. |
errorCode | see LHErrorCode. |
state | "on" to turn the LED on, "off" to turn the LED off. |
◆ led
The documentation for this class was generated from the following files: