This is where the power of AT over Telnet comes in. It’s a feature that allows you to manage a router's cellular module remotely. You can do this by using a Telnet client to connect to the router's AT port and send commands as if you were sitting right in

Remote Control: Using AT over Telnet for Your Industrial Router

Written by: Anson Feng

|

Published on

|

Time to read 3 min

Anson Feng, Technical Support Engineer at Robustel

Anson Feng is a Technical Support Engineer at Robustel, where he specializes in helping customers deploy and troubleshoot industrial IoT solutions. With a deep focus on edge computing and wireless connectivity, he provides expert guidance on integrating gateways, sensors, and cloud platforms to build reliable and scalable systems. 

Summary

The AT over Telnet feature provides a secure and powerful way to remotely access and control a cellular module within an industrial router.

By mapping the AT command interface to an IP network, you can send commands to the device from anywhere in the world.

This functionality is essential for implementing automated remote tasks, such as sending SMS alerts from an unattended device when a critical event is detected.

Introduction



This is where the power of AT over Telnet comes in. It’s a feature that allows you to manage a router's cellular module remotely. You can do this by using a Telnet client to connect to the router's AT port and send commands as if you were sitting right in front of it.



In the world of industrial IoT, devices are often deployed in remote, unmanned locations like power substations, water treatment plants, or on top of a wind turbine. In my experience, these are the places where on-site maintenance isn't just expensive; it’s often impossible at a moment's notice. So, what happens when a critical event occurs? How do you get an immediate alert without a costly on-site visit?


This is where the power of AT over Telnet comes in. It’s a feature that allows you to manage a router's cellular module remotely. You can do this by using a Telnet client to connect to the router's AT port and send commands as if you were sitting right in front of it. This capability is a game-changer for machine-to-machine (M2M) communication and remote troubleshooting in the field.

How AT over Telnet Works

At its core, AT over Telnet is a simple yet effective concept. It takes the AT command interface, a standard for controlling modems, and makes it accessible over an IP network. This allows an external user or a script to send AT commands to a device, such as a Robustel R1520 router, via a Telnet connection.

First, a PC running Telnet software like SecureCRT connects to the router over a cellular network.The user types AT commands directly into the Telnet session. These commands are then interpreted by the router's cellular module.The router executes the command. For example, you can send an AT command to instruct the device to send an SMS message to a mobile phone.


Here’s a quick breakdown of how it works:

  • The Connection: First, a PC running Telnet software like SecureCRT connects to the router over a cellular network .
  • The Command: The user types AT commands directly into the Telnet session . These commands are then interpreted by the router's cellular module.
  • The Result: The router executes the command. For example, you can send an AT command to instruct the device to send an SMS message to a mobile phone .

This powerful feature allows for seamless remote control, making it possible to manage and diagnose devices without ever being on-site.

Case in Point: Automated SMS Alerts

Let's walk through a common scenario where this feature is invaluable. I've seen clients use this to set up automated alerts for critical events.

Imagine you have a water pump in a remote area. The pump has a sensor that monitors water pressure, which is connected to your industrial router. You need to be notified instantly if the pressure exceeds a dangerous threshold.

The router’s digital input (DI) is configured to monitor the pump’s sensor. Alternatively, you could be monitoring Modbus data or an SNMP trap.On the router’s management interface, you configure a rule that says, “When the pump pressure exceeds 100 psi, trigger an event.”The event is configured to automatically initiate a script. This script opens a Telnet session to the router's AT port and sends the necessary AT commands to send an SMS alert. The router sends the message "DI 1 ON, Alarm on" to a pre-set phone number.An engineer receives an SMS alert on their phone, letting them know about the high-pressure situation in real time. They can then take action without needing to be physically present.


  1. Event Source: The router’s digital input (DI) is configured to monitor the pump’s sensor . Alternatively, you could be monitoring Modbus data or an SNMP trap.
  2. Trigger Rule: On the router’s management interface, you configure a rule that says, “When the pump pressure exceeds 100 psi, trigger an event.”
  3. Automated Action: The event is configured to automatically initiate a script. This script opens a Telnet session to the router's AT port and sends the necessary AT commands to send an SMS alert. The router sends the message "DI 1 ON, Alarm on" to a pre-set phone number .
  4. Remote Notification: An engineer receives an SMS alert on their phone, letting them know about the high-pressure situation in real time. They can then take action without needing to be physically present.

This entire process happens automatically, turning what could have been a costly and dangerous situation into a manageable, remote event.

Key Benefits of AT over Telnet

  • Cost Savings: Reduces the need for expensive, time-consuming on-site visits for simple tasks like sending alerts or re-configuring modem parameters .
  • Enhanced Reliability: Provides a separate, reliable channel for M2M communication, ensuring critical events are reported even if the primary network connection is unstable.
  • Remote Automation: Enables the automation of tasks, allowing devices to self-report and send alerts based on pre-defined triggers from a variety of industrial sensors.

FAQ

Q1: What are AT commands?

AT commands are a standard set of instructions used to control a modem . They are used to perform various actions, such as initiating a data call, sending an SMS, or configuring modem settings.

Q2: Which Robustel devices support AT over Telnet?

All RobustOS devices, such as the R1520, provide a remote Telnet feature that allows you to control the wireless module using AT commands .

Q3: How do you set up AT over Telnet on a Robustel router?

You can enable AT over Telnet access from the router's web interface . You will need to browse to the "Network > Firewall > Filtering" section and turn on "Enable Remote Telnet Access" to allow a remote connection .