My SIM card can register on 3 operators, I am trying to lock it to one operator or set the preference for operators
Every time I run
AT+COPS=?, I can’t get a response / AT becomes unresponsive. Is this a firmware issue? Can I get the newer firmware for EP06-A?
The network scan command
AT+COPS=? can take a minute or more to complete. The modem will be unresponsive until it gives the “OK” response to show that the command has completed.
You can lock the modem to a single operator using the +COPS command, providing the MCC and MNC for that operator.
That can be either a hard lock or a soft lock, where the soft lock allows the modem to negotiate a different operator if the chosen one isn’t available.
For 4G/LTE, MCC= 123 and MNC = 456:
If locking to 3G/WCDMA/UMTS rather than 4G/LTE, replace the trailing 7 with 2.
If you want to limit the operators to a set and exclude some which are otherwise available at your location, you should be able to add the unwanted ones to the SIM’s forbidden PLMNs list. Details on request.
Thanks. For long running AT commands, how can I prevent
socat from exiting?
AT+QFPLMNCFG="Add","310410" would exclude AT&T (MCC 310, MNC 410)?
If the command is supported by your firmware, I expect it will do what you want.
The alternative is to use the +CRSM command. If you want to pursue that approach, please advise the result from the AT command: