Inserimento di comandi AT per modem 5G/4G
A partire dalla versione KeeneticOS 3,9, è stato aggiunto il supporto per l'inserimento di comandi AT tramite l'interfaccia della riga di comando (CLI) del router per modem 5G/4G nelle modalità NDIS (UsbLte) e QMI (UsbQmi).
Viene utilizzato il seguente formato di comando per inserire i comandi AT:
per l'interfaccia UsbLte:
interface UsbLte0 tty send <at-command>
per l'interfaccia UsbQmi:
interface UsbQmi0 tty send <at-command>La sintassi completa del comando è la seguente:
interface {name} tty send {command} [expect] [timeout]Di seguito è riportato un esempio di inserimento del comando AT per il modem Quectel EP06-E con interfaccia UsbQmi:
(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)>