Quectel Modem Setup
This guide covers the configuration and testing of the Quectel 5G modem.We have tested this guide using a Quectel RM520N-GL 5G modem, other models might work as well but are not tested.
Basic Configuration
The modem can be controlled throughAT Command Reference or theModemManager.In case of theModemManager, the following commands can be used to control the modem:
# List available modemsmmcli-L# Check modem statemmcli-m0# Enable modemmmcli-m0--enable# Disable modemmmcli-m0--disable
Configure the network connection using theNetworkManager:
# Create connection for OAI networknmclicaddtypegsmifnamecdc-wdm0con-nameoaiapnoaiconnection.autoconnectyes# Show connection statusnmcli# List all connectionsnmcliconnectionshow# Show device detailsnmclideviceshow
Note
The 5G network is not running yet. Thus, no connection is established.The connection will be established when the 5G network is started.
In case of an Ubuntu system, the Quectel QConnectManager is highly recommended.
AT Command Reference
A more detailed control of the modem can be achieved using AT commands.This is not required for the Sionna Research Kit, but can be useful for debugging and more complex experiments.
You can send the AT commands using a serial interface at 115200 bps usingMinicom or similar. On a Windows machine, this can be done using PuTTY.
Command Syntax
Operation | Format |
|---|---|
Execute | AT<command> |
Execute | AT<command>=param1,param2,…,paramN |
Read | AT<command>? |
Test | AT<command>=? |
Set | AT<command><n> |
Set | AT<command>=value1,value2,…,valueN |
Basic Commands
Command | Description |
|---|---|
AT | Test startup |
ATEn | Terminal echo (n=0 disable, n=1 enable) |
ATI | Display device information |
AT+GMI | Get manufacturer information |
AT+GMR | Get manufacturer revision |
AT+CIMI | Display SIM IMSI |
AT+GSN | Display SIM IMEI |
AT&F | Restore factory settings |
Modem Commands
Command | Description |
|---|---|
AT+CGDCONT | Set PDP context parameters |
AT+CGACT | Activate PDP context |
AT+QCAINFO | Get carrier aggregation info |
AT+QNWINFO | Get network information |
AT+COPS? | Get network operator |
AT+COPS=? | Get network operator list |
AT+QSPN | Get operator name |
AT+CCLK? | Get network time |
AT+CFUN | Enable/disable modem functionality |
AT+GSQ | Get signal strength |
AT+QNWPREFCFG=”nr5g_band” | Display configured 5G bands |
AT+QNWPREFCFG=”mode_pref”,nr5g | Set mode to 5G NR SA |
AT+QNWPREFCFG=”nr5g_disable_mode”,0 | Enable 5G NR operations |
AT+CGPADDR=1 | Get UE IP address |
AT+QPING | Ping IP address |