Cellular modem - AT commands

Hi @mrlambchop,

Does Particle have a terminal shell command to execute AT commands, or will there be an AT client or a modem shell?

Is the command "particle-tachyon-ril-ctl" (currently no --help option) intended to substitute for the above? Thanks.

Yes!

I'll let Brett loop back here shortly with how it works. Thanks!

Cheers,

Nick

Thanks Nick.

I'm not familiar with the RILD (Radio Interface Layer Daemon) framework design that Tachyon uses.

I expect using RILD to run AT commands is a simple matter of ensuring that the daemon is active, accessing the correct device file, and using the terminal to send and receive the commands.

What "/dev" file does the modem use?

btw - It would be good to add the info to the docs.

@mrlambchop , How do I get hold of a Tachyon debugger board? Thanks.

Hi @BDub, How do I run AT commands using RILD? Thanks.

Here's how you run AT commands... however... be careful not to break things :smiley:

particle-tachyon-ril-ctl sendat <at_command>

# standard at/ok check
particle-tachyon-ril-ctl sendat at
OK

# check modem serial number
particle-tachyon-ril-ctl sendat at+qgmr
Quectel
QCM6490
Revision: SG560DNAPAR60A01_BP01.001_Linux5.4.86.01.001
OK

# check modem iccid
particle-tachyon-ril-ctl sendat at+iccid
ICCID: 8935123456789012345F
OK

# make sure to wrap use of double quotes in single quotes, or escape them
particle-tachyon-ril-ctl sendat 'at+cgdcont=1,"IP","my_apn"'
OK
particle-tachyon-ril-ctl sendat at+cgdcont=1,\"IP\",\"my_apn\"
OK

# Don't do this!
particle-tachyon-ril-ctl sendat at+cgdcont=1,"IP","my_apn"
ERROR

1 Like

@BDub, Cheers!

The command particle-tachyon-ril-ctl doesn't appear to support the "--help" option yet. Is one planned? Thanks.

Yes, that's somewhat intentional since the commands it supports are in flux.

Supported commands should be documented here:
Cellular Modem | Particle Developer

And here:
GNSS (GPS) | Particle Developer

1 Like

Thanks @BDub

1 Like