This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
org.freedesktop.ModemManagerorg.freedesktop.DBus.Propertiesorg.freedesktop.ModemManager.Modemorg.freedesktop.ModemManager.Modem.Simpleorg.freedesktop.ModemManager.Modem.Locationorg.freedesktop.ModemManager.Modem.Cdmaorg.freedesktop.ModemManager.Modem.Gsmorg.freedesktop.ModemManager.Modem.Gsm.Cardorg.freedesktop.ModemManager.Modem.Gsm.Contactsorg.freedesktop.ModemManager.Modem.Gsm.Networkorg.freedesktop.ModemManager.Modem.Gsm.SMSorg.freedesktop.ModemManager.Modem.Gsm.Hsoorg.freedesktop.ModemManager.Modem.Gsm.Ussddevices -
aodevice -
odevice -
oInterface has no properties.
Interface has no methods.
interface -
sproperties -
a{sv}Interface has no properties.
enable -
baddress -
(uuuu)info -
(sss)Interface has no signals.
Device -
s -
(read)MasterDevice -
s -
(read)Driver -
s -
(read)Type -
u -
(read)
(MM_MODEM_TYPE)
Enabled -
b -
(read)UnlockRequired -
s -
(read)IpMethod -
u -
(read)
(MM_MODEM_IP_METHOD)
MM_MODEM_TYPE_GSM = 1MM_MODEM_TYPE_CDMA = 2MM_MODEM_IP_METHOD_PPP = 0MM_MODEM_IP_METHOD_STATIC = 1MM_MODEM_IP_METHOD_DHCP = 2properties -
a{sv}properties -
a{sv}Interface has no signals.
Interface has no properties.
enable -
bsignal_location -
bLocation -
a{uv}
(Location_Information_Map)
Interface has no signals.
Capabilities -
u -
(read)
(MM_MODEM_LOCATION_CAPABILITIES)
Enabled -
b -
(read)SignalsLocation -
b -
(read)Location -
a{uv} -
(read)
(Location_Information_Map)
MM_MODEM_LOCATION_CAPABILITY_UNKNOWN = 0x0Unknown or no capabilties.
MM_MODEM_LOCATION_CAPABILITY_GPS_NMEA = 0x1For capability reporting, indicates the device is capable of providing GPS NMEA-format location information.
For location reporting, devices supporting this capability return an array mapping timestamps to specific NMEA sentences (D-Bus signature 'a(ss)'). The manager will cache the most recent NMEA sentence of each type for a period of time not less than 30 seconds and must indicate the time that sentence was receieved from the device using the timestamp. Timestamps are provided as strings in the "Unix epoch" format (i.e. number of seconds since 1970-01-01 00:00:00 UTC with microsecond resolution if available).
For example, if at time 1268336242.282202 the device sends a $GPRMC sentence immediately followed by a $GPGGA sentence, the reported location array would be:
[ '1268336242.282202': '$GPRMC,134523.92,V,,,,,,,030136,,,N*73',
'1268336242.282202': '$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45' ]
If the device sends a new $GPRMC three seconds later, the new $GPRMC
replaces the previously received $GPRMC sentence, and the updated array
would be:
[ '1268336245.282202': '$GPRMC,134526.92,V,,,,,,,030136,,,N*76',
'1268336242.282202': '$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45' ]
If the device then sends a $GPGSA sentence about 5 seconds later, the
$GPGSA sentence is added to the array (since no $GPGSA sentence was
previously received in this session), the updated array would be:
[ '1268336245.282202': '$GPRMC,134526.92,V,,,,,,,030136,,,N*76',
'1268336242.282202': '$GPGGA,,,,,,0,00,0.5,,M,0.0001999,M,0.0000099,0000*45'
'1268336250.395423': '$GPGSA,A,1,,,,,,,,,,,,,1.1,0.5,1.0*34' ]
The manager may discard any entries older than 30 seconds.
This allows clients to read the latest positioning data as soon as possible after they start, even if the device is not providing frequent location data updates. Using the timestamp the client can determine which data is most relevant to its particular uses.
MM_MODEM_LOCATION_CAPABILITY_GSM_LAC_CI = 0x2For capability reporting, indicates the device is capable of providing GSM Location Area Code/Cell ID location information.
For location reporting, devices supporting this capability return a string in the format "MCC,MNC,LAC,CI" (without the quotes of course) where the following applies:
The entire string may only be composed of the ASCII digits [0-9], the alphabetical characters [A-F], and the comma (,) character. No other characters are allowed. For example: "310,260,8BE3,2BAF" or "250,40,CE00,1CEAD8F0".
If any of these four items (MCC,MNC,LAC,CI) is unknown or the mobile is not registered with a network, then the GSM_LAC_CI location information item should not be provided as a returned value from the GetLocation() method or in the Location property.
Type -
u
(MM_MODEM_LOCATION_CAPABILITIES)
Data -
vquality -
uinfo -
(usu)cdma-1x-state -
u
(MM_MODEM_CDMA_REGISTRATION_STATE)
evdo-state -
u
(MM_MODEM_CDMA_REGISTRATION_STATE)
quality -
ucdma-1x-state -
u
(MM_MODEM_CDMA_REGISTRATION_STATE)
evdo-state -
u
(MM_MODEM_CDMA_REGISTRATION_STATE)
Interface has no properties.
MM_MODEM_CDMA_REGISTRATION_STATE_UNKNOWN = 0MM_MODEM_CDMA_REGISTRATION_STATE_REGISTERED = 1MM_MODEM_CDMA_REGISTRATION_STATE_HOME = 2MM_MODEM_CDMA_REGISTRATION_STATE_ROAMING = 3Interface has no methods.
Interface has no signals.
Interface has no properties.
MM_MODEM_GSM_ALLOWED_MODE_ANY = 0MM_MODEM_GSM_ALLOWED_MODE_2G_PREFERRED = 1MM_MODEM_GSM_ALLOWED_MODE_3G_PREFERRED = 2MM_MODEM_GSM_ALLOWED_MODE_2G_ONLY = 3MM_MODEM_GSM_ALLOWED_MODE_3G_ONLY = 4MM_MODEM_GSM_ACCESS_TECH_UNKNOWN = 0MM_MODEM_GSM_ACCESS_TECH_GSM = 1MM_MODEM_GSM_ACCESS_TECH_GSM_COMPACT = 2MM_MODEM_GSM_ACCESS_TECH_GPRS = 3MM_MODEM_GSM_ACCESS_TECH_EDGE = 4MM_MODEM_GSM_ACCESS_TECH_UMTS = 5MM_MODEM_GSM_ACCESS_TECH_HSDPA = 6MM_MODEM_GSM_ACCESS_TECH_HSUPA = 7MM_MODEM_GSM_ACCESS_TECH_HSPA = 8MM_MODEM_GSM_MODE_UNKNOWN = 0x0MM_MODEM_GSM_MODE_ANY = 0x1MM_MODEM_GSM_MODE_GPRS = 0x2MM_MODEM_GSM_MODE_EDGE = 0x4MM_MODEM_GSM_MODE_UMTS = 0x8MM_MODEM_GSM_MODE_HSDPA = 0x10MM_MODEM_GSM_MODE_2G_PREFERRED = 0x20MM_MODEM_GSM_MODE_3G_PREFERRED = 0x40MM_MODEM_GSM_MODE_2G_ONLY = 0x80MM_MODEM_GSM_MODE_3G_ONLY = 0x100MM_MODEM_GSM_MODE_HSUPA = 0x200MM_MODEM_GSM_MODE_HSPA = 0x400MM_MODEM_GSM_MODE_GSM = 0x800MM_MODEM_GSM_MODE_GSM_COMPACT = 0x1000MM_MODEM_GSM_BAND_UNKNOWN = 0x0MM_MODEM_GSM_BAND_ANY = 0x1MM_MODEM_GSM_BAND_EGSM = 0x2MM_MODEM_GSM_BAND_DCS = 0x4MM_MODEM_GSM_BAND_PCS = 0x8MM_MODEM_GSM_BAND_G850 = 0x10MM_MODEM_GSM_BAND_U2100 = 0x20MM_MODEM_GSM_BAND_U1800 = 0x40MM_MODEM_GSM_BAND_U17IV = 0x80MM_MODEM_GSM_BAND_U800 = 0x100MM_MODEM_GSM_BAND_U850 = 0x200MM_MODEM_GSM_BAND_U900 = 0x400MM_MODEM_GSM_BAND_U17IX = 0x800MM_MODEM_GSM_BAND_U17IX = 0x1000puk -
spin -
spin -
spin -
senabled -
bold_pin -
snew_pin -
sInterface has no signals.
SupportedBands -
u -
(read)
(MM_MODEM_GSM_BAND)
SupportedModes -
u -
(read)
(MM_MODEM_GSM_MODE)
name -
snumber -
sindex -
uindex -
uindex -
ucontact -
(uss)results -
a(uss)pattern -
sresults -
a(uss)count -
uInterface has no signals.
Interface has no properties.
network_id -
sresults -
aa{ss}Found networks. It's an array of dictionaries (strings for both keys and values) with each array element describing a mobile network found in the scan. Each dict may include one or more of the following keys:
quality -
uband -
u
(MM_MODEM_GSM_BAND)
band -
u
(MM_MODEM_GSM_BAND)
mode -
u
(MM_MODEM_GSM_NETWORK_DEPRECATED_MODE)
mode -
u
(MM_MODEM_GSM_NETWORK_DEPRECATED_MODE)
info -
(uss)mode -
u
(MM_MODEM_GSM_ALLOWED_MODE)
quality -
ustatus -
u
(MM_MODEM_GSM_NETWORK_REG_STATUS)
operator_code -
soperator_name -
smode -
u
(MM_MODEM_GSM_NETWORK_DEPRECATED_MODE)
AllowedMode -
u -
(read)
(MM_MODEM_GSM_ALLOWED_MODE)
AccessTechnology -
u -
(read)
(MM_MODEM_GSM_ACCESS_TECH)
MM_MODEM_GSM_NETWORK_REG_STATUS_IDLE = 0MM_MODEM_GSM_NETWORK_REG_STATUS_HOME = 1MM_MODEM_GSM_NETWORK_REG_STATUS_SEARCHING = 2MM_MODEM_GSM_NETWORK_REG_STATUS_DENIED = 3MM_MODEM_GSM_NETWORK_REG_STATUS_UNKNOWN = 4MM_MODEM_GSM_NETWORK_REG_STATUS_ROAMING = 5MM_MODEM_GSM_NETWORK_DEPRECATED_MODE_ANY = 0MM_MODEM_GSM_NETWORK_DEPRECATED_MODE_GPRS = 1MM_MODEM_GSM_NETWORK_DEPRECATED_MODE_EDGE = 2MM_MODEM_GSM_NETWORK_DEPRECATED_MODE_UMTS = 3MM_MODEM_GSM_NETWORK_DEPRECATED_MODE_HSDPA = 4MM_MODEM_GSM_NETWORK_DEPRECATED_MODE_2G_PREFERRED = 5MM_MODEM_GSM_NETWORK_DEPRECATED_MODE_3G_PREFERRED = 6MM_MODEM_GSM_NETWORK_DEPRECATED_MODE_2G_ONLY = 7MM_MODEM_GSM_NETWORK_DEPRECATED_MODE_3G_ONLY = 8MM_MODEM_GSM_NETWORK_DEPRECATED_MODE_HSUPA = 9MM_MODEM_GSM_NETWORK_DEPRECATED_MODE_HSPA = 10index -
usms -
a{sv}result -
uformat -
uresult -
ssmsc -
sresult -
aa{sv}properties -
a{sv}index -
auproperties -
a{sv}result -
auindex -
umode -
umt -
ubm -
uds -
ubfr -
uindex -
ucomplete -
bindex -
ucompleted -
bInterface has no properties.
username -
spassword -
sInterface has no signals.
Interface has no properties.
command -
sreply -
sresponse -
sInterface has no signals.
State -
s -
(read)NetworkNotification -
s -
(read)NetworkRequest -
s -
(read)org.freedesktop.ModemManagerorg.freedesktop.DBus.Propertiesorg.freedesktop.ModemManager.Modemorg.freedesktop.ModemManager.Modem.Simpleorg.freedesktop.ModemManager.Modem.Locationorg.freedesktop.ModemManager.Modem.Cdmaorg.freedesktop.ModemManager.Modem.Gsmorg.freedesktop.ModemManager.Modem.Gsm.Cardorg.freedesktop.ModemManager.Modem.Gsm.Contactsorg.freedesktop.ModemManager.Modem.Gsm.Networkorg.freedesktop.ModemManager.Modem.Gsm.SMSorg.freedesktop.ModemManager.Modem.Gsm.Hsoorg.freedesktop.ModemManager.Modem.Gsm.UssdLocation_Information_Map
- a{ u → v }
MM_MODEM_CDMA_REGISTRATION_STATE
- uMM_MODEM_GSM_ACCESS_TECH
- uMM_MODEM_GSM_ALLOWED_MODE
- uMM_MODEM_GSM_BAND
- uMM_MODEM_GSM_MODE
- uMM_MODEM_GSM_NETWORK_DEPRECATED_MODE
- uMM_MODEM_GSM_NETWORK_REG_STATUS
- uMM_MODEM_IP_METHOD
- uMM_MODEM_LOCATION_CAPABILITIES
- uMM_MODEM_TYPE
- u