summaryrefslogtreecommitdiffstats
path: root/src/interfaces/org.bluez.obex.client.xml
diff options
context:
space:
mode:
authorEmanoil Kotsev <[email protected]>2018-11-12 21:18:37 +0100
committerEmanoil Kotsev <[email protected]>2023-01-14 03:44:08 +0000
commite274309d9293777aaaecebccaa29a339a05bd4f9 (patch)
treea00349c31b90cdedaa6e351dfe93950b55903dce /src/interfaces/org.bluez.obex.client.xml
parent63c233987977aa48b701edeb47079a6153359fbe (diff)
downloadtdebluez-e274309d9293777aaaecebccaa29a339a05bd4f9.tar.gz
tdebluez-e274309d9293777aaaecebccaa29a339a05bd4f9.zip
Based on KDE3 bluez4 version a TDE bluez5 version was created
Signed-off-by: Emanoil Kotsev <[email protected]>
Diffstat (limited to 'src/interfaces/org.bluez.obex.client.xml')
-rw-r--r--src/interfaces/org.bluez.obex.client.xml201
1 files changed, 201 insertions, 0 deletions
diff --git a/src/interfaces/org.bluez.obex.client.xml b/src/interfaces/org.bluez.obex.client.xml
new file mode 100644
index 0000000..1eadf29
--- /dev/null
+++ b/src/interfaces/org.bluez.obex.client.xml
@@ -0,0 +1,201 @@
+<?xml version="1.0"?>
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<!-- https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/obex-api.txt -->
+<node name="/org/bluez/obex">
+<!--
+ <interface name="org.freedesktop.DBus.Introspectable">
+ <method name="Introspect">
+ <arg name="xml" type="s" direction="out"/>
+ </method>
+ </interface>
+-->
+ <interface name="org.bluez.obex.AgentManager1">
+ <method name="RegisterAgent">
+ <arg name="agent" type="o" direction="in" />
+ </method>
+ <method name="UnregisterAgent">
+ <arg name="agent" type="o" direction="in" />
+ </method>
+ </interface>
+
+ <!-- https://git.merproject.org/jpoutiai/kf5bluezqt/blob/master/bluez-qt/src/interfaces/org.bluez.obex.Client1.xml -->
+ <interface name="org.bluez.obex.Client1">
+ <method name="CreateSession">
+ <arg name="destination" type="s" direction="in" />
+ <arg name="args" type="a{sv}" direction="in" />
+ <arg name="session" type="o" direction="out" />
+ </method>
+ <method name="RemoveSession">
+ <arg name="session" type="o" direction="in" />
+ </method>
+ </interface>
+ <!-- https://git.merproject.org/jpoutiai/kf5bluezqt/blob/master/bluez-qt/src/interfaces/org.bluez.obex.FileTransfer1.xml -->
+ <interface name="org.bluez.obex.FileTransfer1">
+ <method name="ChangeFolder">
+ <arg name="folder" type="s" direction="in" />
+ </method>
+ <method name="CreateFolder">
+ <arg name="folder" type="s" direction="in" />
+ </method>
+ <method name="ListFolder">
+ <arg name="folderinfo" type="aa{sv}" direction="out" />
+ </method>
+ <method name="GetFile">
+ <arg name="targetfile" type="s" direction="in" />
+ <arg name="sourcefile" type="s" direction="in" />
+ <arg name="transfer" type="o" direction="out" />
+ <arg name="properties" type="a{sv}" direction="out" />
+ </method>
+ <method name="PutFile">
+ <arg name="sourcefile" type="s" direction="in" />
+ <arg name="targetfile" type="s" direction="in" />
+ <arg name="transfer" type="o" direction="out" />
+ <arg name="properties" type="a{sv}" direction="out" />
+ </method>
+ <method name="CopyFile">
+ <arg name="sourcefile" type="s" direction="in" />
+ <arg name="targetfile" type="s" direction="in" />
+ </method>
+ <method name="MoveFile">
+ <arg name="sourcefile" type="s" direction="in" />
+ <arg name="targetfile" type="s" direction="in" />
+ </method>
+ <method name="Delete">
+ <arg name="file" type="s" direction="in" />
+ </method>
+ </interface>
+ <!-- https://git.merproject.org/jpoutiai/kf5bluezqt/blob/master/bluez-qt/src/interfaces/org.bluez.obex.ObjectPush1.xml -->
+ <interface name="org.bluez.obex.ObjectPush1">
+ <method name="SendFile">
+ <arg name="sourcefile" type="s" direction="in" />
+ <arg name="transfer" type="o" direction="out" />
+ <arg name="properties" type="a{sv}" direction="out" />
+ </method>
+ <method name="PullBusinessCard">
+ <arg name="targetfile" type="s" direction="in" />
+ <arg name="transfer" type="o" direction="out" />
+ <arg name="properties" type="a{sv}" direction="out" />
+ </method>
+ <method name="ExchangeBusinessCards">
+ <arg name="clientfile" type="s" direction="in" />
+ <arg name="targetfile" type="s" direction="in" />
+ <arg name="transfer" type="o" direction="out" />
+ <arg name="properties" type="a{sv}" direction="out" />
+ </method>
+ </interface>
+ <!-- https://git.merproject.org/jpoutiai/kf5bluezqt/blob/master/bluez-qt/src/interfaces/org.bluez.obex.Session1.xml -->
+ <interface name="org.bluez.obex.Session1">
+ <method name="GetCapabilities">
+ <arg name="capabilities" type="s" direction="out" />
+ </method>
+
+ <property name="Source" type="s" access="read" />
+ <property name="Destination" type="s" access="read" />
+ <property name="Channel" type="b" access="read" />
+ <property name="Target" type="s" access="read" />
+ <property name="Root" type="s" access="read" />
+
+ </interface>
+
+ <!-- https://git.merproject.org/jpoutiai/kf5bluezqt/blob/master/bluez-qt/src/interfaces/org.bluez.obex.Transfer1.xml -->
+ <interface name="org.bluez.obex.Transfer1">
+ <method name="Cancel" />
+ <method name="Suspend" />
+ <method name="Resume" />
+
+ <property name="Status" type="s" access="read" />
+ <property name="Session" type="o" access="read" />
+ <property name="Name" type="s" access="read" />
+ <property name="Type" type="s" access="read" />
+ <property name="Time" type="t" access="read" />
+ <property name="Size" type="t" access="read" />
+ <property name="Transferred" type="t" access="read" />
+ <property name="Filename" type="s" access="read" />
+
+ </interface>
+
+ <!-- https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/obex-api.txt -->
+ <interface name="org.bluez.obex.Synchronization1">
+ <method name="SetLocation">
+ <arg name="location" type="s" direction="in" />
+ </method>
+ <method name="GetPhonebook">
+ <arg name="phonebook" type="o" direction="out" />
+ <arg name="sourcefile" type="s" direction="in" />
+ <arg name="targetfile" type="s" direction="in" />
+ </method>
+ <method name="PutPhonebook">
+ <arg name="sourcefile" type="s" direction="in" />
+ </method>
+ </interface>
+
+<!-- TODO -->
+ <!-- https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/obex-api.txt -->
+ <interface name="org.bluez.obex.PhonebookAccess1">
+ <method name="Select">
+ <arg name="location" type="s" direction="in" />
+ <arg name="phonebook" type="s" direction="in" />
+ </method>
+ <method name="PullAll">
+ <arg name="path" type="o" direction="out" />
+ <arg name="properties" type="a{sv}" direction="out" />
+ <arg name="targetfile" type="s" direction="in" />
+ <arg name="filters" type="as" direction="in" />
+ </method>
+ <method name="List">
+ <arg name="vcard" type="a{ss}" direction="out" />
+ <arg name="filters" type="as" direction="in" />
+ </method>
+ <method name="Pull">
+ <arg name="transfer" type="o" direction="out" />
+ <arg name="vcards" type="a{sv}" direction="out" />
+ <arg name="vcard" type="s" direction="in" />
+ <arg name="targetfile" type="s" direction="in" />
+ <arg name="filters" type="as" direction="in" />
+ </method>
+
+ <property name="Folder" type="s" access="read" />
+ <property name="DatabaseIdentifier" type="s" access="read" />
+ <property name="PrimaryCounter" type="s" access="read" />
+ <property name="SecondaryCounter" type="s" access="read" />
+ <property name="FixedImageSize" type="s" access="read" />
+
+ </interface>
+
+<!-- TODO -->
+ <!-- https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/obex-api.txt -->
+ <!-- <interface name="org.bluez.obex.MessageAccess1"> -->
+ <!-- <method name="SetLocation"> -->
+ <!-- <arg name="location" type="s" direction="in" /> -->
+ <!-- </method> -->
+ <!-- <method name="GetPhonebook"> -->
+ <!-- <arg name="phonebook" type="o" direction="out" /> -->
+ <!-- <arg name="sourcefile" type="s" direction="in" /> -->
+ <!-- <arg name="targetfile" type="s" direction="in" /> -->
+ <!-- </method> -->
+ <!-- <method name="PutPhonebook"> -->
+ <!-- <arg name="sourcefile" type="s" direction="in" /> -->
+ <!-- </method> -->
+ <!-- </interface> -->
+ <interface name="org.freedesktop.DBus.Properties">
+ <method name="Get">
+ <arg name="interface" type="s" direction="in" />
+ <arg name="name" type="s" direction="in" />
+ <arg name="value" type="v" direction="out" />
+ </method>
+ <method name="Set">
+ <arg name="interface" type="s" direction="in" />
+ <arg name="name" type="s" direction="in" />
+ <arg name="value" type="v" direction="in" />
+ </method>
+ <method name="GetAll">
+ <arg name="interface" type="s" direction="in" />
+ <arg name="properties" type="a{sv}" direction="out" />
+ </method>
+ <signal name="PropertiesChanged">
+ <arg name="interface" type="s" />
+ <arg name="changed_properties" type="a{sv}" />
+ <arg name="invalidated_properties" type="as" />
+ </signal>
+ </interface>
+</node> \ No newline at end of file