The problem is coming in QMI also but logs are a bit different:
root@AprisaLTE:/# mmcli -i 1 --change-pin=1234 --pin=
error: couldn't change PIN code in the SIM: 'Timeout was reached'
Logs are below:
debug 2021-11-08T15:20:38+00:00 : [1636384838.121620] [modem0/sim1]
changing PIN...
debug
Hey,
>
> I've tried to fix it. Below is for review and if OK then I'll submit MR.
>
> I think, we cannot make assumption that modem will be unlocked after sim pin
> change. Hence, we should not wait for unlock?
>
The mm_iface_modem_update_lock_info() is not "waiting for unlock",
that method is
Hi Amol,
Il giorno sab 6 nov 2021 alle ore 06:01 Amol Lad ha scritto:
>
> Hi Daniele,
>
> I'm using PID 1061 (MBIM). I did some investigation and found that if I set
> AT#NITZ=15,1 then times are correctly reported. I'm now not recalling what
> was #NITZ? before I changed it.
>
> Please let me
I've tried to fix it. Below is for review and if OK then I'll submit MR.
I think, we cannot make assumption that modem will be unlocked after sim pin
change. Hence, we should not wait for unlock?
diff --git a/src/mm-base-sim.c b/src/mm-base-sim.c
index 59af3a88..8a181970 100644
---
Hey,
On Mon, Nov 8, 2021 at 11:36 AM Amol Lad wrote:
>
> # mmcli -i 1 --change-pin= --pin=1234
> error: couldn't change PIN code in the SIM: 'Timeout was reached'
>
> # mmcli -m 0 --command=AT+CPIN?
> response: '+CPIN: SIM PIN'
>
> So looks like modem is 'really' locked. Btw, which part of
# mmcli -i 1 --change-pin= --pin=1234
error: couldn't change PIN code in the SIM: 'Timeout was reached'
# mmcli -m 0 --command=AT+CPIN?
response: '+CPIN: SIM PIN'
So looks like modem is 'really' locked. Btw, which part of debug log showed
modem went in searching?
-Original Message-
Hey,
> Same problem is observed with Telit LN920 also so I don't this it's a
> firmware error.
They're both Qualcomm modules, it may be an issue in the generic
Qualcomm firmware implementation. I wouldn't think manufacturers touch
the MBIM protocol handling much.
> Also, please note that modem
Hi Aleksander,
Same problem is observed with Telit LN920 also so I don't this it's a firmware
error. Also, please note that modem is still "locked" after changing the
SIM-PIN while locked. Please see below. So it seems changing SIM-PIN when modem
is locked does not unlock the modem but PIN is
Hey,
>
>
> If we attempt to change SIM Card PIN when the SIM is in locked state then
> "Timeout is reached" error is reported BUT the PIN is actually changed. Below
> are some details.
>
>
>
> # mmcli -m 0
>
> -
>
> General | path: