5G useful AT commands

List of useful 5G-related AT command to check if you cannot connect to 5G service. Applies to mostly Qualcomm-based modules.

at+cversion;+csub;+qefsver;+cfun?;+cpin? //Determine relevant module information firmware compliation time、modem sub version qefs version、cfun normal 、sim card ready.
at+cops=?  // List the network operators and RATs visible to the UE. Here you can see below there is 5G available (shown by last digit - 0,"Telstra Mobile","Telstra","50501",12)
at+qeng=“servingcell”  //NR5G service cell info
at+qnwinfo   //5G network info
at+qnwprefcfg?    // Query module injection network related configuration parameters. Note some modules may not query all the paramaters with this ? command.

If there is issue with finding 5G service, check the following:

AT+QNWPREFCFG=”mode_pref” //network search mode.
AT+QNWPREFCFG=”nsa_nr5g_band //5G NR NSA bands to be searched by UE
AT+QNWPREFCFG=”policy_band” //reads the band configured in the carrier policy.
AT+QNWPREFCFG=”ue_capability_band” //band configured in the UE capability information.
AT+QNWPREFCFG=”nr5g_disable_mode” //disables 5G NR.