On MikroTik routers with an LTE modem, you can send arbitrary AT commands to the modem using the terminal’s at-chat feature.
Login to the router terminal using a browser or SSH.
One-shot AT command
You can send a single AT command directly using /interface lte at-chat with the input parameter:
at_chat.routeros
[admin@Lauingerstr-55] > /interface lte at-chat lte1 input="AT+CNUM"
output: +CNUM: "","+49176123456789",145
OKReplace lte1 with the name of your LTE interface (check /interface lte print if unsure).
Interactive AT chat
You can also enter an interactive chat session where you can type multiple commands:
at_chat_interactive.routeros
[admin@Lauingerstr-55] > /interface lte at-chat lte1
input: AT+CPIN?
output: +CPIN: READY
OKType your AT command at the input: prompt and press Enter.
Useful AT commands
AT+CPIN?- Check SIM PIN statusAT+CNUM- Query your own phone number (see How to find your own LTE phone number on MikroTik using AT commands)AT+CSQ- Query signal qualityATI- Show modem identification info
Note that the exact set of supported AT commands depends on the specific LTE modem module in your router.
Check out similar posts by category:
MikroTik Networking
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow