> For the complete documentation index, see [llms.txt](https://how.router.works/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://how.router.works/dev/command/at-5g.md).

# AT Commands

## Command Format

The AT commands below can be executed on the **Minicom** terminal but not directly on the SSH terminal.

When the mobile SIM router uses the default "Mobile Data" protocol, you can send AT! commands through the ***mmcli command sets***. This mmcli interface for directing AT instructions provides low-level access to monitor and configure aspects of the router's integrated mobile modem. With some basic knowledge of common AT codes, various connectivity parameters can be tweaked as needed.

### Modem Index

Firstly, identify the index of the mobile modem by running **`mmcli -L`**.\
This will list the available modems detected by the router firmware system.

### Formats

Then AT commands can be executed by prefacing them with "mmcli -m \[modem index] --command=". You can omit the "AT" prefix, and it will automatically be added when sending commands. For example, to query the firmware version, run:

```
mmcli -m 2 --command="AT+CGMR"
mmcli -m 2 --command="+CGMR"
```

Some commands require including quotes and other special characters. Escape these by adding two backslashes beforehand.

For example, for querying info on the active 5G serving cell, the full command would be:

```
mmcli -m 2 --command="AT+QENG=\"servingcell\""
```

***

## Common Commands

[AT+QENG](/dev/command/at-5g/qeng.md)

[AT+QCAINFO](/dev/command/at-5g/qcainfo.md)
