The digidevice led submodule
Use the led submodule to redefine the purpose of any front-panel LED on the EX15 device. With this submodule, you can:
- Gain control of the LED with the led.acquire() function.
- Define the state of the LED with the led.set() function.
- Use the use() function to create a function that acquires, sets, and releases an LED.
- Optionally release control of the LED with the led.release() function.
See Use Python to set the state of LEDs for instructions on using these methods.
Available LEDs
LED | Attribute name | Color | |
---|---|---|---|
All available LEDs | Led.ALL | ||
LTE connection indicator | Led.COM | Red | |
Led.ETH | Green |
||
Led.ONLINE | Blue | ||
Signal strength indicators | 1 | Led.RSS1 | Green |
2 | Led.RSS2 | ||
3 | Led.RSS3 | ||
4 | Led.RSS4 | ||
5 | Led.RSS5 | ||
Sim slot indicators | 1 | Led.SIM1 | Green |
2 | Led.SIM2 | ||
Ethernet connectivity indicators | 1 | Led.LAN1_LINK | Green |
2 | Led.LAN2_LINK |
Available LED states
State |
Attribute name |
---|---|
Solid on | State.ON |
Off | State.OFF |
Flash | State.FLASH |