diff options
author | Elly Jones <ellyjones@google.com> | 2010-12-20 12:23:41 -0500 |
---|---|---|
committer | Elly Jones <ellyjones@google.com> | 2010-12-20 12:23:41 -0500 |
commit | 245818de331608a10c2279a56c5feba86aa1a1ea (patch) | |
tree | 3d73ba9fbf7c1c2087087c7c06cb77485f7db405 /introspection/org.freedesktop.ModemManager.Modem.Simple.xml | |
parent | 241bef544d45eded170ce8bfb94923bab9993720 (diff) |
Install xml files so they can be used by cromo (chromeos modem manager)
Amended: Install the files under their proper DBus names.
Review URL: http://codereview.chromium.org/1618004
(cherry picked from commit 89f7f05f1294485fa8b44cfdd3c9b0d924d45ac1)
Conflicts:
Makefile.am
Change-Id: I65b2b0c1b5e579bb5b1d5d5b390c3be2ae49543c
Diffstat (limited to 'introspection/org.freedesktop.ModemManager.Modem.Simple.xml')
-rw-r--r-- | introspection/org.freedesktop.ModemManager.Modem.Simple.xml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager.Modem.Simple.xml b/introspection/org.freedesktop.ModemManager.Modem.Simple.xml new file mode 100644 index 00000000..bee1017f --- /dev/null +++ b/introspection/org.freedesktop.ModemManager.Modem.Simple.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> + <interface name="org.freedesktop.ModemManager.Modem.Simple"> + + <method name="Connect"> + <tp:docstring> + Do everything needed to connect the modem. + </tp:docstring> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_simple_connect"/> + <arg name="properties" type="a{sv}" direction="in"> + <tp:docstring> + Dictionary of properties needed to get the modem connected. + Each implementation is free to add it's own specific key-value pairs. The predefined + common ones are: + + 'pin' : string + 'network_id' : string + 'band' : uint + 'network_mode' : uint + 'apn' : string + 'number' : string + </tp:docstring> + </arg> + </method> +<!-- + <method name="Disconnect"> + <tp:docstring> + Disconnect modem. + </tp:docstring> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_simple_disconnect"/> + </method> +--> + <method name="GetStatus"> + <tp:docstring> + Get the modem status. + </tp:docstring> + <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_simple_get_status"/> + <arg name="properties" type="a{sv}" direction="out"> + <tp:docstring> + Dictionary of properties. + Each implementation is free to add it's own specific key-value pairs. The predefined + common ones are: + + 'state' : uint (always) + 'signal_quality' : uint (state >= registered) + 'operator_code' : string (state >= registered) + 'operator_name' : string (state >= registered) + 'band' : uint (state >= registered) + 'network_mode' : uint (state >= registered) + </tp:docstring> + </arg> + </method> + </interface> +</node> |