As the number of IoT applications continues to grow, the ability to monitor and manage cellular network connectivity becomes crucial. Attention Commands (AT commands) are a powerful tool for communicating with and controlling IoT modules, as they provide a simple and easy-to-use interface for interacting with the device and can be used in a variety of applications.
The Quectel EC25 LTE module offers a range of AT commands that enable developers to interact with the module and gather valuable information about the cellular network.
We recently published our beginner’s guide to AT commands. As a sequel, this blog post will explore further AT commands and explain their significance in monitoring and managing network connectivity.
Furthermore, we have tested the Quectel Module EC25 in-house for our eSIM Test. Our test report will walk you through the basic AT commands to get the module connected to the network with support for Remote SIM Provisioning operations - Download profile, Enable profile, Disable profile, and Delete profile.
Command Format: AT+CGDCONT=<context_id>,"<pdp_type>","<apn>"
Example: Let's say the APN provided by the network operator is "terminal.apn," and we want to set up context ID 1 for IPv4.
Command: AT+CGDCONT=1,"IP","terminal.apn"Device Response: OK
Command Format: AT+QCFG="bip/auth",<mode>
Example: Command: AT+QCFG="bip/auth",1
Device Response: OK
Command Format for activating the PDP context: AT+CGACT=1
Example: Let's say you want to activate PDP context
Device Response: OK
After the successful implementation of these commands, the Quectel EC25-E module is now ready to establish a data connection with the cellular network.
Command Format: AT+CSQ
Description: The AT+CSQ command is used to assess the signal quality of the cellular network. It provides information about the signal strength and signal-to-noise ratio.
Response Format: +CSQ: <rssi>,<ber>
Example Response: +CSQ: 23,0
This response indicates an RSSI of 23 dBm and a BER of 0, suggesting a reasonably strong signal with no bit errors.
Command Format: AT+CGATT=<state>
Description: The AT+CGATT command allows developers to attach or detach the Quectel EC25 module from the GPRS network. It establishes or terminates the Packet Data Protocol (PDP) context.
Response Format: OK
This response indicates that the module has successfully attached or detached from the GPRS network.
Command Format: AT+CGPADDR
Description: The AT+CGPADDR command enables developers to retrieve the module's assigned IP address when connected to the network.
Response Format: +CGPADDR: <context_id>,"<ip_address>"
Example Response: +CGPADDR: 1,"192.168.1.10"
This response indicates that the IP address "192.168.1.10" is assigned to context ID 1.
Command Format: AT+CGREG?
Description: The AT+CGREG command is employed to check the registration status of the Quectel EC25 module on the cellular network. It provides information about the module's registration state, including whether it is registered, searching for a network, or roaming.
Response Format: +CGREG: <n>,<stat>
Example Response: +CGREG: 1,1
This response indicates that the module is registered on the network, with <n> indicating automatic network registration and <stat> indicating normal service.
Efficient monitoring and management of cellular network connectivity are vital for successful IoT deployments. The Quectel EC25 module offers a comprehensive AT command set that facilitates network monitoring and control.
If you have any further questions about this topic or have difficulty understanding your device's AT commands, please contact us at support@1oT.com.