C.3: Useful commands for this tutorial (and more)
Rev 3 9/21/17
49
41110479
C.3 Useful commands for this tutorial (and more)
The following table describes the Legato and Linux commands used in this tutorial, plus other useful commands.
Table C-1: Legato commands
Command types
Command
Description
Versioning
cm info
Display the module’s model, IMEI, FSN (serial number), and firmware
and bootloader versions.
Radio
cm radio
Display the radio status.
cm radio on
cm radio off
Enable or disable the radio.
Refer to cm radio (
http://legato.io/legato-docs/latest/toolsTarget_cm.html#toolsTarget_cm_radio
more details and command options.
Data connections
cm data
cm data info
Display information about the current profile in use.
cm data apn <yourAPN>
Set the APN for your profile to the APN from your SIM provider.
cm data connect
Start a data connection.
cm data connect <timeout>
Start a data connection (keep trying for up to <timeout> seconds).
Refer to cm data (
http://legato.io/legato-docs/latest/toolsTarget_cm.html#toolsTarget_cm_data
) for
more details and command options.
SIM
cm sim info
Display information about the SIM.
cm sim status
Display the SIM status
cm sim enterpin
Enter a SIM PIN code to be able to use the SIM.
Applications
app status
Display the status of installed applications (running, stopped).
app start <appName>
app stop <appName>
app remove <appName>
Start, stop, or remove an application.
Refer to app (
http://legato.io/legato-docs/latest/toolsTarget_app.html
) for more details and command
options.