USB Connect LPWA 3.2 - AT interface on a Linux system

USB Connect LPWA 3.2 - AT interface on a Linux system

AT commands can only be sent to your mobile modem if you're running ModemManager in debug mode. This FAQ will show you how to do this and explain some syntax standards.

To put ModemManager into debug mode, you must first stop the process. This must also be done for NetworkManager, as NetworkManager runs ModemManager as a child process.

Mask and stop the services:

sudo systemctl disable NetworkManager ModemManager sudo systemctl stop NetworkManager ModemManager

Manually run with debug enabled:

sudo /usr/sbin/ModemManager --debug

Open a new terminal, find the modem index and send the AT command (mmcli -L to find the index):

sudo mmcli -m 0 --command="ATI"

Alternatively you can also use minicom

sudo apt install minicom sudo minicom -D /dev/ttyUSB2

If you want to stop using the AT command, remember to restart all services.

sudo systemctl start NetworkManager ModemManager sudo systemctl enable NetworkManager ModemManager