Setup For Linux Shell Commands; Useful Linux Commands - Sierra Wireless Octave FX30S User Manual

Hide thumbs Also See for Octave FX30S:
Table of Contents

Advertisement

Warning:
capability of asserting GPIO6 when setting the <sim_slot> parameter to 1, causing the FX30S to
malfunction.

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.
2. Connect an SSH client root@192.168.2.2
For more information, refer to the Legato shell documentation on

Useful Linux commands

Useful Linux commands include:
For a complete list of Linux commands, see:
http://legato.io/legato-docs/latest/toolsTarget_cm.html
Rev. 5 September 2020
Check APN configuration: AT+CGDCONT?
Check signal quality: AT+CSQ
Check network registration: AT+CREG?
Check GPRS network registration: AT+CGREG?
Check operator selected: AT+COPS?
Check for PDP context status: AT+CGACT?
Check for modem status: AT!GSTATUS?
Open a LWM2M session to connect AirVantage: AT+WDSS=1,1
Do not use the AT+KSIMSEL command with the FX30S. This command has the
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.
The first time you connect, you are prompted to change your Linux root password.
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
35
Installation and Startup
legato.io
41110485

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx30Fx30sWp8548Wp7702

Table of Contents