Re: What does ModemManager.Modem.Simple.GetStatus() return as "band"?



Yes, that is what seems to be for the Samsung modem.  See 
http://cgit.freedesktop.org/ModemManager/ModemManager/tree/plugins/mm-modem-samsung-gsm.c#n194

And the definition of the bits...

http://cgit.freedesktop.org/ModemManager/ModemManager/tree/introspection/org.freedesktop.ModemManager.Modem.Gsm.xml#n55

      <tp:flag suffix="EGSM" value="0x2">
        <tp:docstring>GSM/GPRS/EDGE 900 MHz</tp:docstring>
      </tp:flag>
      <tp:flag suffix="DCS" value="0x4">
        <tp:docstring>GSM/GPRS/EDGE 1800 MHz</tp:docstring>
      </tp:flag>


-Jason

On Tue, Sep 20, 2011 at 7:24 AM, W. Martin Borgert <debacle debian org> wrote:
Hi,

the method org.freedesktop.ModemManager.Modem.Simple.GetStatus()
returns a dictionary with an UInt32 as "band". This value is e.g.
in my case the number 6. What does this number mean? Is it the
same as the bitfield ModemManager.Modem.Gsm.MM_MODEM_GSM_BAND?

TIA!

_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
http://mail.gnome.org/mailman/listinfo/networkmanager-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]