summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hcid/dbus-api.txt60
-rw-r--r--hcid/rfcomm-api.txt58
2 files changed, 58 insertions, 60 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt
index e9b10670..1e72c8d4 100644
--- a/hcid/dbus-api.txt
+++ b/hcid/dbus-api.txt
@@ -1383,63 +1383,3 @@ Methods void Authorize(string adapter_path, string address,
use it to do cleanup tasks. There is no need to
unregister the agent, because when this method
gets called it has already been unregistered.
-
-
-RFCOMM hierarchy (experimental)
-===============================
-
-Service org.bluez
-Interface org.bluez.RFCOMM
-Object path /org/bluez/{hci0,hci1,...}
-
-Methods string Connect(string address, string service)
-
- This creates a connection to a remote RFCOMM based
- service. The service string can either be a UUID-128,
- a service abbreviation or a record handle.
-
- The return value will be the path of the newly
- created RFCOMM TTY device (for example /dev/rfcomm0).
-
- If the application disconnects from the D-Bus this
- connection will be terminated.
-
- Valid service values: "vcp", "map", "pbap", "sap",
- "ftp", "bpp", "bip", "synch",
- "dun", "opp", "fax", "spp"
-
- void CancelConnect(string address, string service)
-
- This method cancels a previous Connect method call.
-
- string ConnectByChannel(string address, byte channel)
-
- This creates a connection to a remote RFCOMM based
- service. In contrast to Connect a channel number is
- needed.
-
- The return value will be the path of the newly
- creates RFCOMM TTY device (for example /dev/rfcomm0).
-
- If the application disconnects from the D-Bus this
- connection will be terminated.
-
- void CancelConnectByChannel(string address, byte channel)
-
- This method cancels a previous ConnectByChannel
- method call.
-
- void Disconnect(string device)
-
- This will disconnect a previously connected RFCOMM
- service. The device parameter must be the return value
- from a previous Connect or ConnectByChannel method
- call (for example /dev/rfcomm0).
-
- string Bind(string address, string service)
-
- string BindByChannel(string address, byte channel)
-
- void Release(string device)
-
- array{string} ListBindings()
diff --git a/hcid/rfcomm-api.txt b/hcid/rfcomm-api.txt
new file mode 100644
index 00000000..827fde5a
--- /dev/null
+++ b/hcid/rfcomm-api.txt
@@ -0,0 +1,58 @@
+RFCOMM hierarchy (experimental)
+===============================
+
+Service org.bluez
+Interface org.bluez.RFCOMM
+Object path /org/bluez/{hci0,hci1,...}
+
+Methods string Connect(string address, string service)
+
+ This creates a connection to a remote RFCOMM based
+ service. The service string can either be a UUID-128,
+ a service abbreviation or a record handle.
+
+ The return value will be the path of the newly
+ created RFCOMM TTY device (for example /dev/rfcomm0).
+
+ If the application disconnects from the D-Bus this
+ connection will be terminated.
+
+ Valid service values: "vcp", "map", "pbap", "sap",
+ "ftp", "bpp", "bip", "synch",
+ "dun", "opp", "fax", "spp"
+
+ void CancelConnect(string address, string service)
+
+ This method cancels a previous Connect method call.
+
+ string ConnectByChannel(string address, byte channel)
+
+ This creates a connection to a remote RFCOMM based
+ service. In contrast to Connect a channel number is
+ needed.
+
+ The return value will be the path of the newly
+ creates RFCOMM TTY device (for example /dev/rfcomm0).
+
+ If the application disconnects from the D-Bus this
+ connection will be terminated.
+
+ void CancelConnectByChannel(string address, byte channel)
+
+ This method cancels a previous ConnectByChannel
+ method call.
+
+ void Disconnect(string device)
+
+ This will disconnect a previously connected RFCOMM
+ service. The device parameter must be the return value
+ from a previous Connect or ConnectByChannel method
+ call (for example /dev/rfcomm0).
+
+ string Bind(string address, string service)
+
+ string BindByChannel(string address, byte channel)
+
+ void Release(string device)
+
+ array{string} ListBindings()