Hi Reinhard,

thanks for the suggestion.

Yes, +CPINR is not supported by all Telit modems (e.g. LE910 and LE910 V2),
so I opted for the command with wider support. Changing the timeout can be
a solution and I'll made some tests.

On Mon, 13 Mar 2017 at 22:42 Reinhard Speyerer <rs...@arcor.de> wrote:

> On Mon, Mar 13, 2017 at 03:48:51PM +0000, Carlo Lobrano wrote:
> > Hi Salvador,
> >
> > I'll look into this CSIM lock thing, but with a newer FW version I'm
> > actually getting responses to CSIM and the next messages (see logs
> below).
> >
>
> Hi Carlo,
>
> I performed some manual testing with a HE910-G running firmware 12.00.008
> and a o2 DE SIM (not USIM) today and while the mobile always responds to
> AT+CSIM the second AT+CSIM takes much longer before returning the response:
>
>   at+cpin="xxxx"
>   OK
>   # first AT+CSIM completes in less than 0.5 seconds
>   AT+CSIM=10,0020000100
>   +CSIM: 4,"6E00"
>   OK
>   # second AT+CSIM completes in about 8 seconds
>   AT+CSIM=10,0020000100
>   +CSIM: 4,"6E00"
>   OK
>   +PACSP1
>
> Perhaps it might help to increase the corresponding timeout for this step
> and only use AT+CSIM if the mobile firmware does not support AT+CPINR.
> AT+CPINR also returns the correct status for a SIM (which the AT+CSIM
> method currently doesn't):
>
>   at+cpinr="SIM*"
>   +CPINR: SIM PIN,3,3
>   +CPINR: SIM PUK,10,10
>   +CPINR: SIM PIN2,3,3
>   +CPINR: SIM PUK2,10,10
>   OK
>
> Regards,
> Reinhard
>
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to