AT commands from the CLI on spitz (GL-X750)


#1

I know that I can enter AT commands on the GUI but I’d like to script some to retrieve stats… Has anyone figured out how to run AT commands on the Quectel modem from the shell?


#2

Use gcom, chat or install picocom and run; picocom -b 115200 /dev/ttyUSB2…


#3

or, without additional software packages, just echo -e "AT+QCFG=\"band\",0,2000000003300185a,1\r\n" > /dev/ttyUSB2 (for example)

To read responses, you’ll need to listen to the same interface in another terminal session.