Jump to content

TRM250 AT Commands

From Teltonika Networks Wiki
Main Page > TRM Modems > TRM250 > TRM250 Manual > TRM250 AT Commands

Quectel BG96 AT Commands

Basic / General Commands

Command Description
AT Test command. Checks whether the modem is powered and responding to AT commands.
ATI Displays module identification information, including model and firmware details.
AT+CGMI Returns the modem manufacturer identification (Quectel).
AT+CGMM Returns the modem model identification (BG96).
AT+CGMR Returns the currently installed firmware revision.
AT+CGSN Returns the modem IMEI number.
AT+QGMR Returns detailed firmware version and build information.
AT+QCCID Returns the ICCID (SIM card serial number).
AT+GSN Alternative command to display the IMEI number.
ATZ Restores the active profile from non-volatile memory.
AT+QRST=1 Performs a software reset of the modem.
AT&F Restores factory-default configuration settings.
AT&W Saves the current configuration to non-volatile memory.
AT&V Displays current configuration and stored profile settings.
ATE0 / ATE1 Disables or enables command echo on the serial interface.
AT+CMEE=1 Enables numeric CME error reporting.
AT+CMEE=2 Enables verbose CME error reporting with text descriptions.

SIM Card

Command Description
AT+CIMI Returns the IMSI (International Mobile Subscriber Identity).
AT+QCCID Returns the ICCID (SIM card serial number).
AT+CPIN? Checks SIM card status and whether a PIN is required.
AT+CPIN="1234" Enters the SIM PIN code.
AT+CPWD="SC","old","new" Changes the SIM PIN code.
AT+CLCK="SC",2 Queries whether SIM PIN protection is enabled.
AT+QSIMSTAT? Returns SIM insertion and detection status.
AT+QSIMDET=1,1 Enables SIM hot-plug detection and related notifications.

Network Registration & Status

Command Description
AT+CREG? Reports GSM network registration status.
AT+CGREG? Reports GPRS network registration status.
AT+CEREG? Reports LTE EPS network registration status.
AT+COPS? Displays the currently selected network operator.
AT+COPS=? Scans and lists all available network operators.
AT+COPS=0 Enables automatic operator selection.
AT+COPS=1,2,"26001" Manually selects a network operator using MCC/MNC.
AT+CSQ Reports received signal strength and bit error rate.
AT+CESQ Reports extended radio measurements including RSRP and RSRQ.
AT+QCSQ Displays technology-specific signal quality information.
AT+QNWINFO Displays current radio technology, operator and frequency band.
AT+QENG="servingcell" Displays detailed serving cell information.
AT+QENG="neighbourcell" Displays neighboring cell information.
AT+CPAS Returns the current modem activity status.

APN & PDP Context (Data Connection)

Command Description
AT+CGDCONT? Lists all configured PDP contexts.
AT+CGDCONT=1,"IP","your.apn" Configures PDP context 1 for IPv4 operation.
AT+CGDCONT=1,"IPV4V6","your.apn" Configures PDP context 1 for dual-stack IPv4/IPv6 operation.
AT+CGACT? Displays active PDP contexts.
AT+CGACT=1,1 Activates PDP context 1.
AT+CGACT=0,1 Deactivates PDP context 1.
AT+CGPADDR=1 Displays the IP address assigned to PDP context 1.
AT+CGCONTRDP=1 Displays dynamic PDP information such as IP address and DNS servers.
AT+CGAUTH=1,1,"user","pass" Configures PAP/CHAP authentication credentials.
AT+QICSGP=1,1,"apn","user","pass",1 Configures APN and authentication parameters for data services.
AT+QIACT=1 Activates the specified data context.
AT+QIDEACT=1 Deactivates the specified data context.
AT+QIACT? Displays currently active data contexts and assigned IP addresses.

Network Mode & Band Selection

Command Description
AT+CFUN? Displays the current functionality level.
AT+CFUN=0 Sets minimum functionality and disables RF operation.
AT+CFUN=1 Enables full modem functionality.
AT+CFUN=4 Enables flight mode with RF disabled.
AT+CFUN=1,1 Performs a full modem restart.
AT+QCFG="nwscanmode" Configures radio access technology scanning mode.
AT+QCFG="iotopmode" Configures LTE-M and NB-IoT operating preference.
AT+QCFG="band" Configures allowed radio frequency bands.
AT+QCFG="servicedomain" Configures service domain preferences.
AT+QCFG="roamservice" Configures roaming behavior.

SMS

Command Description
AT+CMGF=1 Enables SMS text mode.
AT+CMGS="+37060000000" Sends an SMS message to the specified number.
AT+CMGL="ALL" Lists all stored SMS messages.
AT+CMGR=1 Reads the SMS stored at index 1.
AT+CMGD=1 Deletes the SMS stored at index 1.
AT+CNMI=2,1,0,0,0 Enables unsolicited SMS arrival notifications.

Serial / Interface

Command Description
AT+IPR? Displays the current UART baud rate.
AT+IPR=115200 Sets the UART baud rate to 115200 bps.
AT+IFC=2,2 Enables RTS/CTS hardware flow control.
AT+CMUX=0 Enables GSM 07.10 multiplexing mode.
AT+QURCCFG="urcport","uart1" Routes unsolicited result codes to UART1.
AT+QCFG="usbnet" Configures USB networking mode.

Diagnostics & Debugging

Command Description
AT+CEER Displays the reason for the most recent connection or registration failure.
AT+CGCONTRDP=1 Displays dynamic PDP context information including IP and DNS settings.
AT+QENG="servingcell" Displays detailed serving cell parameters for troubleshooting.
AT+QENG="neighbourcell" Displays neighboring cell information for radio diagnostics.
AT+QNWINFO Displays current radio access technology, operator and band information.
AT+QCSQ Displays detailed signal quality measurements.
AT+QCFG? Displays Quectel configuration parameters.
AT+QINDCFG? Displays unsolicited result code configuration.

Note: This document covers only the essential AT commands supported by the device. For the full AT command reference, please contact Quectel directly.