Semtech URC

at+kdmsimdet? what is this command ? I only saw AT+ksimdet but it require GPIO3

typing mistake before, yes, it should be AT+KSIMDET
GPIO3 is the SIM_DET pin

but i don’t want to use GPIO3, I just need to know is SIM ready or not by by URC like +QUSIM: 1 of Quectel, in normal way , don’t want to relate to GPIO3

then how can it detect the SIM if SIM1_DET is not used?
maybe you can keep on sending AT+CPIN? to see if there is SIM inserted

So CPIN? return +cpin: ready is enough to know sim is ready like QUSIM:1 right ?

you can make some test on your board by inserting and removing the SIM card

there is nothing return when I’m insert sim or remove sim

because you are not using SIM1_DET pin,rgith?

then is the AT+CPIN? changed for inserting and removing the SIM card?

i find when there is no sim , at+cpin? return error
when insert sim , must turn on sim cfun=1 or reboot cfun=1,1 to get cpin? return cpin : ready

Then is this suitable in your use case?

I just need to be confirm how hl7900 notice us sim is ready ? use query command or wait for urc

It depends on whether you are uing sim detect pin

in case using that pin, how do we use gpio3 , i try to type AT+ksimdet? it return ERROR

what is the return of your module on the following commands?

at+kgsn=0
AT%GETHWCFG="SIM1DETMODE"
AT%GETHWCFG="SIM1DETPIN"
ati3

BTW, have you tried “at+ksrep=1” to enable some +KSUP notification?
For example:


at+ksrep=1
OK
at+cfun=1,1
OK

+CEREG: 0

+CEREG: 2

+CEREG: 0

+CEREG: 2

+KSUP: 0

+CEREG: 1,"C672","0188A9DF",9
ati3
HL7900.4.5.22060521

OK