On Fri, Feb 7, 2020 at 11:28 AM Martin <deba...@debian.org> wrote: > > On 2020-02-07 09:30, Aleksander Morgado wrote: > > > I'm using a modem just for SMS, i.e. no mobile internet. > > > Therefore, NM does not control my modem and maybe I will remove NM. > > > I can set the pin using mmcli, but it should be automatic. > > > How would I configure that? > > > > ModemManager doesn't keep any state or configuration anywhere, so this > > is currently not possible. You would need an external application to > > unlock the PIN for you before any SMS can be sent or received. > > OK, I'll just manually disable the PIN for now, and add a DBus > call to MM later. What would be the right DBus API? > org.freedesktop.ModemManager1.Sim.SendPin("1234"), I assume?
Yes, https://www.freedesktop.org/software/ModemManager/api/latest/gdbus-org.freedesktop.ModemManager1.Sim.html#gdbus-method-org-freedesktop-ModemManager1-Sim.SendPin -- Aleksander https://aleksander.es _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel