Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is possible to send user defined "at-chat" command to LTE interface with /interface lte at-chat command.

Code Block
languageros
[admin@MikroTik] > /interface lte at-chat lte1 input="AT*mrd_imei\?"                         
  output: *MRD_IMEI:356159060388208

OK

...


You can also use "at-chat" function in scripts and assign command output to variable.

Code Block
languageros
[admin@MikroTik] > 

...

:global "lte_command" [/interface lte at-chat lte1 input="AT*mrd_imei\?" as-value ] 
[admin@MikroTik] 

...

> :put $"lte_command"
output=*MRD_IMEI:356159060388208

OK


Quick setup example

Start with network settings -

...