summaryrefslogtreecommitdiffstats
path: root/telephony-binding/gdbus/api
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2017-05-16 15:59:58 -0400
committerMatt Porter <mporter@konsulko.com>2017-05-19 10:01:02 -0400
commit676ce330cfa62121c9cd68b29fec5dd2458b9eee (patch)
tree84a099267d0144fb2534cc2c9b3a4cb08d0b1caf /telephony-binding/gdbus/api
parent27dbd46c4c73964a0fe61cddf30470b4587e17f2 (diff)
Add basic telephony binding
Adds a basic telephony binding which supports dial and hangup operations via ofono. Bluetooth HFP is the only modem type supported now, with SIM support expected in the future. AGL-Bug: SPEC-597 Change-Id: Icb302533c368fe37a181601c30f49294ad292a6b Signed-off-by: Matt Porter <mporter@konsulko.com>
Diffstat (limited to 'telephony-binding/gdbus/api')
-rw-r--r--telephony-binding/gdbus/api/ofono_manager.xml16
-rw-r--r--telephony-binding/gdbus/api/ofono_voice_call.xml25
-rw-r--r--telephony-binding/gdbus/api/ofono_voicecallmanager.xml51
3 files changed, 92 insertions, 0 deletions
diff --git a/telephony-binding/gdbus/api/ofono_manager.xml b/telephony-binding/gdbus/api/ofono_manager.xml
new file mode 100644
index 0000000..0d8d65b
--- /dev/null
+++ b/telephony-binding/gdbus/api/ofono_manager.xml
@@ -0,0 +1,16 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="">
+ <interface name="org.ofono.Manager">
+ <method name="GetModems">
+ <arg type="a(oa{sv})" direction="out"/>
+ </method>
+ <signal name="ModemAdded">
+ <arg type="o"/>
+ <arg type="a{sv}"/>
+ </signal>
+ <signal name="ModemRemoved">
+ <arg type="o"/>
+ </signal>
+ </interface>
+</node>
diff --git a/telephony-binding/gdbus/api/ofono_voice_call.xml b/telephony-binding/gdbus/api/ofono_voice_call.xml
new file mode 100644
index 0000000..6dd7391
--- /dev/null
+++ b/telephony-binding/gdbus/api/ofono_voice_call.xml
@@ -0,0 +1,25 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="">
+ <interface name="org.ofono.VoiceCall">
+ <method name="GetProperties">
+ <arg type="a{sv}" direction="out"/>
+ </method>
+ <method name="SetProperty">
+ <arg type="s" direction="in"/>
+ <arg type="v" direction="in"/>
+ </method>
+ <method name="Answer"/>
+ <method name="Hangup"/>
+ <method name="Deflect">
+ <arg type="s" direction="in"/>
+ </method>
+ <signal name="PropertyChanged">
+ <arg type="s"/>
+ <arg type="v"/>
+ </signal>
+ <signal name="DisconnectReason">
+ <arg type="s"/>
+ </signal>
+ </interface>
+</node>
diff --git a/telephony-binding/gdbus/api/ofono_voicecallmanager.xml b/telephony-binding/gdbus/api/ofono_voicecallmanager.xml
new file mode 100644
index 0000000..2a032f5
--- /dev/null
+++ b/telephony-binding/gdbus/api/ofono_voicecallmanager.xml
@@ -0,0 +1,51 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="">
+ <interface name="org.ofono.VoiceCallManager">
+ <method name="GetProperties">
+ <arg type="a{sv}" direction="out"/>
+ </method>
+ <method name="Dial">
+ <arg type="s" direction="in"/>
+ <arg type="s" direction="in"/>
+ <arg type="o" direction="out"/>
+ </method>
+ <method name="Transfer"/>
+ <method name="SwapCalls"/>
+ <method name="ReleaseAndAnswer"/>
+ <method name="HoldAndAnswer"/>
+ <method name="HangupAll"/>
+ <method name="PrivateChat">
+ <arg type="o" direction="in"/>
+ <arg type="ao" direction="out"/>
+ </method>
+ <method name="CreateMultiparty">
+ <arg type="ao" direction="out"/>
+ </method>
+ <method name="HangupMultiparty"/>
+ <method name="SendTones">
+ <arg type="s" direction="in"/>
+ </method>
+ <method name="GetCalls">
+ <arg type="a(oa{sv})" direction="out"/>
+ </method>
+ <signal name="PropertyChanged">
+ <arg type="s"/>
+ <arg type="v"/>
+ </signal>
+ <signal name="CallAdded">
+ <arg type="o"/>
+ <arg type="a{sv}"/>
+ </signal>
+ <signal name="CallRemoved">
+ <arg type="o"/>
+ </signal>
+ <signal name="BarringActive">
+ <arg type="s"/>
+ </signal>
+ <signal name="Forwarded">
+ <arg type="s"/>
+ </signal>
+ </interface>
+
+</node>