Led Indicators; How To Manage A Led - Eurotech ReliaGATE 10-05-34 Original User Manual

Multi-service gateway & edge controller
Table of Contents

Advertisement

12 How to access the interfaces under Linux
12.5

LED indicators

The available LED indicators are the following:
Ref#
Use
1
POWER:
- LED ON: ReliaGATE powered by the external source
- LED OFF: ReliaGATE not powered by the external source
2
CELL (Cellular modem activity):
- LED ON means modem ON;
- LED blinking means modem attached to GSM network
3
USER1 (General purpose)
4
USER2 (General purpose)
They are exposed as follows:
LED 1:
l
LED 2:
l
LED 3:
l
LED 4:
l
12.5.1

How to manage a LED

Each LED is managed by its respective GPIO.
Each GPIO needs to be exported before you can use it.
The export procedure has to be repeated at each power ON.
To drive a LED, complete the following steps:
1. Export the LED (if it hasn't already exported before)
2. Drive the LED
To export LED3, use the following commands:
#export gpio 117
echo 117 > /sys/class/gpio/export
#gpio is output
echo out > /sys/class/gpio117/direction
To drive LED3, use the following commands:
#turn led on
echo 1 > /sys/class/gpio117/value
#turn led off
echo 0 > /sys/class/gpio117/value
42
/ 62
Reserved
/sys/class/gpio/gpio114/value
/sys/class/gpio/gpio115/value
/sys/class/gpio/gpio116/value
ReliaGATE 10-05-34 User Manual Rev 1-0
Color
Blue
Green
Green / Amber
Green / Amber

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ReliaGATE 10-05-34 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents