简体   繁体   English

SIM 引脚重试剩余的 AT 命令

[英]AT command for SIM Pin retries left

Does anyone know an AT command that will allow me to query how many retries of entering PIN on a SIM card before it locks me out?有谁知道一个 AT 命令,它可以让我查询在 SIM 卡上输入 PIN 码的次数,然后再将我锁定?

I've tried AT+CPIN?我试过AT+CPIN? but that does not give me how many times I can enter the PIN before I need a PUK.但这并没有告诉我在需要 PUK 之前我可以输入多少次 PIN。 How do normal phones do it?普通手机是怎么做到的?

Thanks in advance.提前致谢。

最新的 3GPP 规范将您想要的命令列为+CPINR

It's not part of the ETSI spec so it depends on the equipment your using.它不是 ETSI 规范的一部分,因此它取决于您使用的设备。

It's most often called the "Pin Counter" and can be read via AT^SPIC however your best bet is looking for "Pin Counter" in the devices AT command documentation.它通常被称为“引脚计数器”,可以通过AT^SPIC读取,但是最好的办法是在设备 AT 命令文档中查找“引脚计数器”。

You could use a generic approach for >=3G, this should work independent of the modem manufacturer, as it directly communicates with the sim card (UICC).您可以对 >=3G 使用通用方法,这应该独立于调制解调器制造商工作,因为它直接与 SIM 卡 (UICC) 通信。
It reads the PIN retry counter from the UICC它从 UICC 读取 PIN 重试计数器

AT+CSIM=10,"0020000100"

The AT+CSIM command sends a (raw) command to the sim card. AT+CSIM命令向 SIM 卡发送(原始)命令。
The sim card responds a bit cryptic with one of: SIM 卡的响应有点神秘:

  • +CSIM: 4,"63CX" X is the hex-value of the remaining retries for pin1 (range 0-A=0-10 retries remaining) +CSIM: 4,"63CX" X 是 pin1 剩余重试的十六进制值(范围 0-A=0-10 剩余重试)
  • +CSIM: 4,"6A88" pin1 is not initialized/available +CSIM: 4,"6A88" pin1 未初始化/不可用
  • +CSIM: 4,"6983" pin1 is blocked. +CSIM: 4,"6983" pin1 被阻塞。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM