Sierra Wireless FX30S User Guide
Here are some Linux shell command examples for GPIOs:
Table 2-6: Linux shell command examples
Turn on the green User LED
Turn off the green User LED
Read the push button state
Read the analog input value (in µV)
Linux Interface Mapping
Table 2-7: FX30S Interface Mapping to the Linux Interface
GPIOs
Ethernet (FX30 only)
USB
Serial (FX30S only)
Linux Startup
The supported method of making changes to the Linux startup is to create a Legato
application. Changes or additions to the Linux scripts in /etc/rcS.d are not supported
by Sierra Wireless.
Reconfiguring the Firewall
For information about reconfiguring the firewall, see the Application Note FX30: Network
Interfaces and Firewall Rules (document number 41111930), available on
Managing the I/O Interface
To manage the I/O interfaces such as digital and analog I/Os, LEDs, push button, and
hardware settings driven by GPIO, you can use:
•
•
•
Rev. 5 September 2020
To...
FX30S Interface
a. eth0 has a default IP address of 192.168.13.31
b. usb0 is a network interface and has a default IP address of 192.168.2.2
AT commands (see
Managing the I/O Interface with AT Commands
Linux shell commands (see
Legato Application Framework
· To use existing Legato tools, see
· If you are interested in building your own Legato apps, see
docs.legato.io/latest/getStarted.html
echo 0 > /sys/class/gpio/gpio48/value
echo 1 > /sys/class/gpio/gpio48/value
cat /sys/class/gpio/gpio7/value
cat /sys/class/hwmon/hwmon0/device/mpp_05
Linux System
/sys/class/gpio/gpioxx
a
eth0
b
usb0
/dev/ttyHSL0
FX30S Linux Interface and GPIO Mapping
docs.legato.io/latest/tools.html
36
Use...
the
Source.
on page 67)
on page 75)
41110485