# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://how.router.works/dev/command/at-5g.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
