> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/leds_8h_source.md).

# leds.h

[Go to the documentation of this file.](/s-adk-5.1-programmers-guide/readme/files/dir_a221c7c7a3d266b8aa1c13ced02d08a5/dir_1084a09caae2cca43d02da13ecc9a141/dir_8b8eef682edb37a46c9343899b359ed7/leds_8h.md)

```cpp
 1 #pragma once
 2 
 8 #include "dllspec.h"
 9 
 10 namespace vfisysinfo {
 11 
 12 // System LEDs
 13 enum LEDs
 14 {
 15  CTLS_LED_NONE = 0,
 16  MSR_LED_NONE = 0,
 17  SYS_LED_NONE = 0,
 18 
 19  MSR_LED_0 = (1<<0),
 20  MSR_LED_1 = (1<<1),
 21  MSR_LED_2 = (1<<2),
 22  KEYPAD_LED = (1<<3),
 23  SMARTCARD_LED = (1<<4),
 24  CTLS_LED_LOGO = (1<<5),
 25  CTLS_LED_0 = (1<<6),
 26  CTLS_LED_1 = (1<<7),
 27  CTLS_LED_2 = (1<<8),
 28  CTLS_LED_3 = (1<<9),
 29  SYSTEM_LED = (1<<10),
 30  POWER_LED = (1<<11),
 31  BLUETOOTH_LED = (1<<12),
 32  MODEM_LED = (1<<13),
 33  GREEN_LED = (1<<14),
 34  YELLOW_LED = (1<<15),
 35  RED_LED = (1<<16),
 36 
 37  MSR_LED_ALL = MSR_LED_0 | MSR_LED_1 | MSR_LED_2,
 38  CTLS_LED_ALL = CTLS_LED_0 | CTLS_LED_1 | CTLS_LED_2 | CTLS_LED_3 | CTLS_LED_LOGO
 39 };
 40 
 41 // LEDs states
 42 enum LedStates
 43 {
 44  SWITCH_OFF = 0,
 45  SWITCH_ON = 1
 46 };
 47 
 48 // LED brightness
 49 enum LedBrightness
 50 {
 51  MAX_BRIGHTNESS = 255,
 52  MIN_BRIGHTNESS = 0
 53 };
 54 
 60 SYS_INFO_API int ctlsLedsChangeState( int ledMap );
 61 
 67 SYS_INFO_API int msrLedsChangeState( int ledMap );
 68 
 74 SYS_INFO_API int scrLedChangeState( int state );
 75 
 81 SYS_INFO_API int sysLedsChangeState ( int ledMap );
 82 
 88 SYS_INFO_API int msrShowRunway( int repeatCount );
 89 
 93 SYS_INFO_API int msrShowCancel( void );
 94 
 100 SYS_INFO_API int logoLedChangeState( int state );
 101 
 108 SYS_INFO_API int setBrightness( unsigned int ledMap, int brightness );
 109 
 115 SYS_INFO_API bool isBrightnessAdjustable( unsigned int ledId );
 116 }
 117 
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/leds_8h_source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
