2009-08-12 23:33:45 +00:00
|
|
|
Modem hierarchy
|
|
|
|
===============
|
|
|
|
|
|
|
|
Service org.ofono
|
|
|
|
Interface org.ofono.Modem
|
|
|
|
Object path [variable prefix]/{modem0,modem1,...}
|
|
|
|
|
|
|
|
Methods dict GetProperties()
|
|
|
|
|
|
|
|
Returns properties for the modem object. See
|
|
|
|
the properties section for available properties.
|
|
|
|
|
2009-10-20 06:25:38 +00:00
|
|
|
void SetProperty(string property, variant value)
|
|
|
|
|
|
|
|
Changes the value of the specified property. Only
|
2010-11-22 11:20:28 +00:00
|
|
|
properties that are listed as readwrite are
|
2009-10-20 06:25:38 +00:00
|
|
|
changeable. On success a PropertyChanged signal
|
|
|
|
will be emitted.
|
|
|
|
|
2011-02-11 11:34:31 +00:00
|
|
|
Possible Errors: [service].Error.InProgress
|
|
|
|
[service].Error.NotImplemented
|
|
|
|
[service].Error.InvalidArguments
|
|
|
|
[service].Error.NotAvailable
|
|
|
|
[service].Error.AccessDenied
|
|
|
|
[service].Error.Failed
|
2009-10-20 06:25:38 +00:00
|
|
|
|
2009-08-12 23:33:45 +00:00
|
|
|
Signals PropertyChanged(string name, variant value)
|
|
|
|
|
|
|
|
This signal indicates a changed value of the given
|
|
|
|
property.
|
|
|
|
|
2009-10-20 06:25:38 +00:00
|
|
|
Properties boolean Powered [readwrite]
|
|
|
|
|
|
|
|
Boolean representing the power state of the modem
|
|
|
|
device.
|
|
|
|
|
2010-05-25 21:14:41 +00:00
|
|
|
boolean Online [readwrite]
|
|
|
|
|
|
|
|
Boolean representing the rf state of the modem.
|
|
|
|
Online is false in flight mode.
|
|
|
|
|
2010-12-22 18:51:04 +00:00
|
|
|
boolean Lockdown [readwrite]
|
|
|
|
|
|
|
|
Boolean representing the lock state of the modem.
|
|
|
|
Setting it to true, makes the calling application hold
|
|
|
|
the modem lock and power it down. Setting to false
|
|
|
|
makes the it release the modem lock. Only the
|
|
|
|
application that holds the lock can power up the modem.
|
|
|
|
If the the application exits Lockdown is set to false.
|
|
|
|
|
2010-09-02 15:38:59 +00:00
|
|
|
boolean Emergency [readonly, optional, experimental]
|
|
|
|
|
|
|
|
Boolean representing the emergency mode of the
|
|
|
|
modem. The Emergency is true if an emergency call or
|
|
|
|
related operation is currently active.
|
|
|
|
|
2010-02-24 19:14:26 +00:00
|
|
|
string Name [readonly, optional]
|
|
|
|
|
2012-09-05 03:03:14 +00:00
|
|
|
Friendly name of the modem device. In the case of
|
|
|
|
Bluetooth devices (e.g. Type="sap" or "hfp") this
|
|
|
|
corresponds to the remote device name or it's alias.
|
2010-02-24 19:14:26 +00:00
|
|
|
|
2009-10-20 06:25:38 +00:00
|
|
|
string Manufacturer [readonly, optional]
|
2009-08-12 23:33:45 +00:00
|
|
|
|
|
|
|
String representing the manufacturer of the modem
|
|
|
|
device.
|
|
|
|
|
|
|
|
This is usually obtained by the +CGMI AT command.
|
|
|
|
|
|
|
|
string Model [readonly, optional]
|
|
|
|
|
|
|
|
String representing the model of the modem device.
|
|
|
|
|
|
|
|
This is usually obtained by the +CGMM AT command.
|
|
|
|
|
|
|
|
string Revision [readonly, optional]
|
|
|
|
|
|
|
|
String representing the revision of the modem device.
|
|
|
|
|
|
|
|
This is usually obtained by using the +CGMR AT command.
|
|
|
|
|
|
|
|
string Serial [readonly, optional]
|
|
|
|
|
|
|
|
String represeting the serial number of the modem
|
|
|
|
device.
|
|
|
|
|
|
|
|
This is usually obtained by using the +CGSN AT command.
|
|
|
|
|
2012-09-05 03:03:14 +00:00
|
|
|
In the case of Bluetooth devices (e.g. Type="sap" or
|
|
|
|
"hfp") this corresponds to the Bluetooth Device
|
|
|
|
Address of the remote device.
|
|
|
|
|
2016-03-31 07:46:19 +00:00
|
|
|
string SoftwareVersionNumber [readonly, optional]
|
|
|
|
|
|
|
|
String representing the software version number of the
|
|
|
|
modem device.
|
|
|
|
|
2010-06-10 03:46:10 +00:00
|
|
|
array{string} Features [readonly]
|
|
|
|
|
|
|
|
List of currently enabled features. It uses simple
|
|
|
|
string abbreviations like "sms", "sim" etc.
|
|
|
|
|
2012-07-25 13:50:24 +00:00
|
|
|
Currently available features are:
|
|
|
|
"net", "rat", "cbs", "sms", "sim", "stk",
|
|
|
|
"ussd", "gprs", "tty", "gps".
|
|
|
|
|
|
|
|
Please note that this is a convenience property,
|
|
|
|
equivalent results can be obtained by reading the
|
|
|
|
Interfaces property directly.
|
|
|
|
|
2009-08-12 23:33:45 +00:00
|
|
|
array{string} Interfaces [readonly]
|
|
|
|
|
|
|
|
Set of interfaces currently supported by the mode
|
|
|
|
device. The set depends on the state of the device
|
|
|
|
(registration status, SIM inserted status,
|
|
|
|
network capabilities, device capabilities, etc.)
|
|
|
|
|
2012-07-28 10:11:50 +00:00
|
|
|
Each string in the array is an interface from the
|
|
|
|
set supported by oFono by modem objects. The set
|
|
|
|
includes:
|
|
|
|
org.ofono.AssistedSatelliteNavigation
|
|
|
|
org.ofono.AudioSettings
|
|
|
|
org.ofono.CallBarring
|
|
|
|
org.ofono.CallForwarding
|
|
|
|
org.ofono.CallMeter
|
|
|
|
org.ofono.CallSettings
|
|
|
|
org.ofono.CallVolume
|
|
|
|
org.ofono.CellBroadcast
|
|
|
|
org.ofono.Handsfree
|
2017-10-09 17:08:04 +00:00
|
|
|
org.ofono.IpMultimediaSystem
|
2017-10-05 07:14:23 +00:00
|
|
|
org.ofono.LongTermEvolution
|
2012-07-28 10:11:50 +00:00
|
|
|
org.ofono.LocationReporting
|
|
|
|
org.ofono.MessageManager
|
|
|
|
org.ofono.MessageWaiting
|
|
|
|
org.ofono.NetworkRegistration
|
|
|
|
org.ofono.Phonebook
|
|
|
|
org.ofono.PushNotification
|
|
|
|
org.ofono.RadioSettings
|
|
|
|
org.ofono.SimManager
|
|
|
|
org.ofono.SmartMessaging
|
|
|
|
org.ofono.SimToolkit
|
|
|
|
org.ofono.SupplementaryServices
|
|
|
|
org.ofono.TextTelephony
|
|
|
|
org.ofono.VoiceCallManager
|
|
|
|
|
2012-07-28 10:16:22 +00:00
|
|
|
It is possible for extension interfaces (e.g. APIs
|
|
|
|
that are not part of the oFono standard API) to be
|
|
|
|
available in this list. Also note that child object
|
|
|
|
interfaces, such as org.ofono.Message,
|
|
|
|
org.ofono.VoiceCall, org.ofono.NetworkOperator,
|
|
|
|
will never be part of this list.
|
|
|
|
|
2012-04-19 13:50:26 +00:00
|
|
|
Please note that the set of Interfaces can and does
|
|
|
|
change frequently (e.g. due to change in Powered
|
|
|
|
and Online properties.) If a given interface is no
|
|
|
|
longer available, then the application should assume
|
|
|
|
that all data for that interface has become invalid,
|
|
|
|
e.g. calls have been dropped, network registration
|
|
|
|
lost, etc.
|
2011-11-22 17:10:01 +00:00
|
|
|
|
2012-07-28 10:11:50 +00:00
|
|
|
The set of possible interfaces supported is also
|
|
|
|
dependent on the modem hardware and driver support.
|
|
|
|
For example, HFP devices only support
|
|
|
|
org.ofono.VoiceCallManager,
|
|
|
|
org.ofono.NetworkRegistration, org.ofono.Handsfree and
|
|
|
|
org.ofono.CallVolume interfaces.
|
|
|
|
|
2011-11-22 17:10:01 +00:00
|
|
|
string Type [readonly]
|
|
|
|
|
|
|
|
Indicates whether the modem is virtual or a real
|
|
|
|
hardware one. This information should only be used
|
|
|
|
to identify which componet (e.g. ConnMan or a phone
|
|
|
|
dialer) should take control over the modem. It does
|
|
|
|
not give any hints on which Interfaces will be
|
|
|
|
supported by this modem.
|
|
|
|
|
2012-11-02 19:03:03 +00:00
|
|
|
Possible values are "test", "hfp", "sap" and "hardware".
|