Watching for available SIMs on D-Bus
Ladislav Michl
ladis at linux-mips.org
Fri May 3 08:42:25 UTC 2019
Hi there,
I need to collect informations about modems (for IMEI) and SIM cards
(for IMSI) available to system over D-Bus.
While listening to signal InterfacesAdded on interface
org.freedesktop.DBus.ObjectManager does work as mentioned in
documentation, ie. returning properties on newly discovered modem,
I cannot get this work for SIm cards. Here listening to
PropertiesChanged for both Modem or SIM interface does not
return anything. Current "solution" is to look at SIM object
path after while, which gets SIM a chance to be discovered,
but I would prefer to know how to implement it "the right
way" (tm).
Thank you,
ladis
More information about the ModemManager-devel
mailing list