Title: How to Disable Automatic Network Switching and Lock to Airtel
I’m working on the Quectel EC25 module (Model: EC25EFAR08A07M4G
), and I want to disable automatic switching between mobile networks (e.g., from Airtel to BSNL or others). My goal is to lock the module to Airtel only and avoid any fallback or roaming to other networks.
To achieve this, I am using the following sequence of AT commands as a one-time configuration
AT Command Sequence
AT+CRSM=214,28539,0,0,12,"FFFFFFFFFFFFFFFFFFFFFFFF"
AT+CFUN=4
// Wait for 5 seconds
AT+CFUN=1,1
AT+QSTK?
// If response is "0":
AT+QSTK=1,1,300
// Restart the device and recheck
// If response is "1", continue below
+QSTK: 1,1,300
+QSTKURC: 37
AT+QSTKGI=37 // Fetch STK Menu
AT+QSTKRSP=37,0 // Respond to STK menu
AT+QSTKRSP=253,0,128 // Select Menu Item
+QSTKURC: 36
AT+QSTKGI=36 // Fetch submenu
AT+QSTKRSP=36,0,1 // Select "Manage"
AT+QSTKGI=36 // Fetch manage options
AT+QSTKRSP=36,0,12 // Disable Manage
AT+QSTKRSP=253,0,128
+QSTKURC: 36
AT+QSTKRSP=36,0,2 // Select "Select Network"
AT+QSTKGI=36
AT+QSTKRSP=36,0,22 // Choose Airtel manually
AT&W // Save configuration
// Restart GSM module
My questions:
- Is this the correct approach to permanently disable automatic network switching and lock to Airtel?
- Is there anything wrong or missing in my AT command sequence?
- Is there a better or more reliable way to achieve this behavior (e.g., using other persistent settings or SIM/STK configurations)?
- How can I make sure the network selection stays locked even after module restarts?
Thanks for the support in advance.
Regards,
Anoop M