I am working with nmcli
to create a modem connection using a SIM.
I need to know: is there a command (possibily, a nmcli
command) that queries the SIM and returns an answer that tells whether the PIN is enabled or not on that SIM?
Thanks in advance.
You can do it using
mmcli
.Get modem index using:
and then get the modem info (including SIM info) using:
See link