EasyManua.ls Logo

Sierra Wireless FX30S - Linux Interface Mapping; Linux Startup; Managing the I;O Interface

Sierra Wireless FX30S
87 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Sierra Wireless FX30S User Guide
Rev. 7 August 2021 36 41110485
Warning: Do not use the AT+KSIMSEL command with the FX30S. This command has the
capability of asserting GPIO6 when setting the <sim_slot> parameter to 1, causing the FX30S to
malfunction.
Attention : N'utilisez pas la commande AT + KSIMSEL avec le FX30S. Cette commande a la
capacité d'affirmer GPIO6 lors de la définition du paramètre <sim_slot> sur 1, provoquant un
dysfonctionnement du FX30S.
Setup for Linux Shell Commands
You can communicate with the FX30S using Legato shell commands. Before beginning,
install a Linux terminal application such as minicom or microcom.
To connect to the USB port on the Linux shell:
1. Connect the USB port on the FX30S to the computer.
In Linux, the AT command port and NMEA port are USB serial devices located at /dev/
ttyUSBx where x is the serial device number in the order it was connected. X depends
on the number of USB serial devices you have connected.
2. Connect an SSH client root@192.168.2.2
The first time you connect, you are prompted to change your Linux root password.
For more information, refer to the Legato shell documentation on legato.io
Useful Linux commands
Useful Linux commands include:
Get device information: cm info
Get SIM information: cm sim
Get APN status: cm data
Get modem status: cm radio
Switch to AT mode: microcom -E /dev/ttyAT
<CTRL +x> to escape
Read GPIO Value: cat /sys/class/gpio/gpioxx/value
Set GPIO: echo 1 > /sys/class/gpio/gpioxx/value
Clear GPIO: echo 0 > /sys/class/gpio/gpioxx/value
Establish a data connection: cm data connect
Check Legato application status: app status
For a complete list of Linux commands, see:
http://legato.io/legato-docs/latest/toolsTarget_cm.html
Here are some Linux shell command examples for GPIOs:
Table 2-6: Linux shell command examples
To... Use...
Turn on the green User LED echo 0 > /sys/class/gpio/gpio48/value
Turn off the green User LED echo 1 > /sys/class/gpio/gpio48/value

Table of Contents

Related product manuals