Get SIM pin information on EM74xx using mmcli/qmicli

Hello,

Is there any way to get SIM pin that is programmed in SIM card using either qmicli or mmcli.
I tried following command and it failed

qmicli -p -d /dev/cdc-wdm0 --dms-uim-get-pin-status
error: couldn’t get PIN status: QMI protocol error (71): ‘InvalidQmiCommand’

I also tried mmcli simple connect with SIM PIN and debug log shows the PIN but i dint find a way to
dump SIM PIN.

mmcli -m 0 --simple-connect=“pin=4324,apn=xxxxx”
Log shows PIN
Sep 25 01:37:52 ModemManager[4672]: Simple connect started…
Sep 25 01:37:52 ModemManager[4672]: PIN: 4324

Any help is highly appreciated

I think that is not possible as it violates the sim security.

Ok ,then is there any way to verify the pin entered with mmcli is correct or not ?

Not sure about mmcli as this is not officially supported.
Will you use sierra qmi sdk?

You can use --uim-verify-pin with qmicli