Starting with KeeneticOS 3.9 (from the Dev channel), 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.
NOTE: For information on how to install KeeneticOS from the Developer Channel, please refer to the Installing a Dev build of KeeneticOS instructions. All questions about the test build are answered in the Keenetic Community developer forum.
The following command format is used to input AT commands:
interface UsbLte0 tty send <at-команда> — for the UsbLte interface
interface UsbQmi0 tty send <at-команда> — for the UsbQmi interface
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)>