The digidevice led submodule
Use the led submodule to redefine the purpose of any front-panel LED on the Digi IX15 Gateway 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 | ||
| Online indicator | Led.LAN3_RX | Blue | |
| SIM indicator | Led.SIM_FAIL | Red | |
| Led.SIM1 | Green | ||
| Led.SIM2 | Blue | ||
| LTE connection indicator | Led.COM | Red | |
| Led.ETH | Green | ||
| Led.ONLINE | Blue | ||
| XBee indicator | Led.XBEE1 | Red | |
| Led.XBEE2 | Green | ||
| LED.XBEE3 | Blue | ||
| Signal strength indicators | 1 | Led.RSS1 | Green |
| 2 | Led.RSS2 | ||
| 3 | Led.RSS3 | ||
| 4 | Led.RSS4 | ||
| 5 | Led.RSS5 | ||
Available LED states
|
State |
Attribute name |
|---|---|
| Solid on | State.ON |
| Off | State.OFF |
| Flash | State.FLASH |
PDF
