Skip to main content

Manuale Utente (Inglese)

Entering AT commands for 4G modems

Starting with KeeneticOS 3.9, the support for entering AT commands via the router command-line interface (CLI) for 4G modems in NDIS (UsbLte) and QMI (UsbQmi) modes has been added.

The following command format is used to input AT commands:

for the UsbLte interface:

interface UsbLte0 tty send <at-command>

for the UsbQmi interface:

interface UsbQmi0 tty send <at-command>

The full command syntax is as follows:

interface {name} tty send {command} [expect] [timeout]

The AT command input for the Quectel EP06-E modem with UsbQmi interface is shown as an example:

(config)> interface UsbQmi0 tty send ATI
ATI
Quectel
EP06
Revision: EP06ELAR03A08M4G
OK

Mobile::Interface: "UsbQmi0": got expected response.
(config)>
(config)> interface UsbQmi0 tty send AT+QTEMP
AT+QTEMP
+QTEMP: 29,29,29
OK

Mobile::Interface: "UsbQmi0": got expected response.
(config)>
(config)> interface UsbQmi0 tty send AT+QENG="servingcell"
AT+QENG="servingcell"
+QENG: "servingcell","NOCONN","LTE","FDD",250,02,BCCB07,123,2850,
7,5,5,261D,-113,-13,-80,10,10
OK

Mobile::Interface: "UsbQmi0": got expected response.
(config)>