i have tested with huawei modem
-> AT^CARDLOCK?
<-^CARDLOCK: 1,xx,0 ............ locked
<-^CARDLOCK: 2,xx,0 ............ unlocked
where 0<xx<10
if you send incorrect code it shows:
<-^CARDLOCK: x,9,0
where x is 1 or 2 . LATEST VALUE IS ALWAYS 0
ps. command for reset counter is not constant |