1
<?xml version="1.0" encoding="UTF-8" ?>
3
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
5
<interface name="org.freedesktop.ModemManager.Modem">
8
Enable the device. Initializes the modem.
10
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
11
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_enable"/>
12
<arg name="enable" type="b" direction="in">
14
True to enable the device, False to disable.
19
<method name="Connect">
23
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
24
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_connect"/>
25
<arg name="number" type="s" direction="in">
27
The number to use for dialing.
32
<method name="Disconnect">
36
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
37
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_disconnect"/>
40
<method name="GetIP4Config">
42
Request the IP4 configuration from the device.
43
Note that it'll only be supported for IPMethod Static.
45
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
46
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_get_ip4_config"/>
47
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="Ip4ConfigType"/>
48
<arg name="address" type="(uuuu)" direction="out" tp:type="Ip4ConfigType">
49
Structure containing IP4 address, DNS1, DNS2, DNS3.
50
The DNS list is padded with 0's if there's less than 3 DNS servers.
54
<method name="GetInfo">
56
Get the card information (manufacturer, modem, version).
58
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
59
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_get_info"/>
60
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="InfoType"/>
61
<arg name="info" type="(sss)" direction="out">
63
Structure containing manufacturer, model, and version (revision) of the card.
68
<property name="Device" type="s" access="read">
70
The modem port to use for IP configuration and traffic.
74
<property name="MasterDevice" type="s" access="read">
76
The physical modem device reference (ie, USB, PCI, PCMCIA device), which
77
may be dependent upon the operating system. In Linux for example, this
78
points to a sysfs path of the usb_device object.
82
<property name="Driver" type="s" access="read">
84
The driver handling the device.
88
<property name="Type" type="u" access="read" tp:type="Type">
94
<property name="Enabled" type="b" access="read">
96
TRUE if the modem is enabled (ie, powered and usable), FALSE if it is disabled.
100
<property name="UnlockRequired" type="s" access="read">
102
Empty if the device is usable without an unlock code or has already
103
been unlocked. If the device needs to be unlocked before becoming usable this
104
property contains the specific unlock code required. Valid unlock code values
105
are "" (blank), "sim-pin", "sim-puk", "ph-sim-pin", "ph-fsim-pin",
106
"ph-fsim-puk", "sim-pin2", "sim-puk2", "ph-net-pin", "ph-net-puk",
107
"ph-netsub-pin", "ph-netsub-puk", "ph-sp-pin", "ph-sp-puk", "ph-corp-pin", and
112
<property name="IpMethod" type="u" access="read" tp:type="Method">
114
The IP configuration method.
118
<tp:enum name="Type" type="u">
119
<tp:enumvalue suffix="GSM" value="1">
124
<tp:enumvalue suffix="CDMA" value="2">
131
<tp:enum name="Method" type="u">
132
<tp:enumvalue suffix="PPP" value="0">
134
Use PPP to get the address.
137
<tp:enumvalue suffix="STATIC" value="1">
139
Static configuration, the modem will provide IP information.
142
<tp:enumvalue suffix="DHCP" value="2">