[PATCH 1/2] huawei: store modem model in MMBroadbandModemHuaweiPrivate

Aleksander Morgado aleksander at lanedo.com
Tue Aug 13 23:00:46 PDT 2013

On 13/08/13 19:31, Dan Williams wrote:
>> Is mm_gdbus_* expected to be called from a plugin?  I don't find any plugin
>> > using mm_gdbus_* and wonder if there is a reason for that.
> Yeah, I wondered about that.  But the core code does it, and there's got
> to be a simple way for the plugins to easily access common properties
> like model/vendor/etc, so I figured why not give a try :)  I'll defer to
> Aleksander though to see if he had some reason.

How about a const gchar *mm_iface_modem_get_model() which internally
gets the string from the skeleton? Internally in the code we do get the
skeleton multiple times, but usually always within the interface
implementation where that skeleton is a property. Cross-interface
skeleton retrievals, or skeleton retrievals from within the specific
object implementations are usually avoided, or at least that was the
intended purpose.


More information about the ModemManager-devel mailing list