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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
