Button and LED Behaviour
Button
The Gateway includes one button with functionality that can be defined in software. By default, when this button is pressed and held for >3 seconds, the Gateway will clear the Wi-Fi provisioning information and restart wireless bridge commissioning.
Status LEDs
The Gateway includes 7 LEDs, with the default behaviours shown in the figure below. These behaviors are fully customizable in software.
LED | Colour | Label | Behaviour |
|---|---|---|---|
D7 | Red | Not used by default | |
D8 | Red | On (solid) - µAP Mode is up and available | |
D9 | Red | Not used by default | |
D10 | Red | Not used by default | |
D11 | Red | On (solid) - Gateway is booting On (blinking) - Gateway is booted and ssh is available | |
D12 | Yellow | Not used by default | |
D16 | White | N/A | On at all times |
For each LED there is a directory which contains a number of files and folders for control of the LED.
Controlling the LEDS
The LEDs offer two different types of control. The first is basic on/off control which is achieved through the brightness file. The LED can be turned on by writing positive value to the brightness file. To turn the LED off, a zero may be written.
For example, to turn on the D9 led, the following command could be used.
echo 1 > /sys/class/leds/no_inet/brightnessTo turn off the D9 led, the following command could be used.
echo 0 > /sys/class/leds/no_inet/brightnessFor more advanced control, the led may be set to trigger based on events. There are a variety of different event types which are available on the system.