Sierra Wireless FX30S User Guide
Rev 2 Mar.18
Interface Mapping
Table 2-7: FX30S Interface Mapping to the Linux Interface
FX30S Interface
GPIOs
Ethernet
USB
Serial
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
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 AT commands, Linux shell
commands, or the Legato Application Framework.
•
AT Commands
See AT!FWD?GPIO and AT!FWD=GPIO documentation on
mapping in
Table 3-10
As some FX30S GPIOs are driven by an I/O expander, do not use standard
AT+WIOR/WIOW AT commands for the FX30S.
Warning:
Most FX30S GPIOs are preconfigured. Do not use the AT+WIOCFG
command! Using this command could make the FX30S inoperable.
Here are some AT command examples for GPIOs:
Table 2-8: AT command examples
To...
Turn on the green User LED
Turn off the green User LED
Read the push button state
Read the analog input value (in mV)
•
Linux Shell Commands
See
Linux Shell Commands
page 59.
44
Linux System
/sys/class/gpio/gpioxx
a
eth0
b
usb0
/dev/ttyHSL0
on page 59.
AT!FWD=GPIO,48,0
AT!FWD=GPIO,48,1
AT!FWD?GPIO,7
AT!MADC?5
on page 42 and I/O mapping in
page
35, and I/O
Use...
Table 3-10
on
41110485