aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>2011-02-24 13:13:23 +0100
committerJohan Hedberg <johan.hedberg@nokia.com>2011-03-10 16:03:40 +0200
commit2534fbd05a963cd180f04b3c79388e8df1261892 (patch)
tree782dc3918700284dcea295114dc085f97c85a521
parenta37a95fe6db1491e9045350780af826d13c7cdf6 (diff)
downloadbluez-2534fbd05a963cd180f04b3c79388e8df1261892.tar.gz
Add Sim Access Profile API
New API for Sim Access Profile.
-rw-r--r--Makefile.am3
-rw-r--r--doc/sap-api.txt34
2 files changed, 36 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ec1ca97e..025f6d39 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -359,7 +359,8 @@ EXTRA_DIST += doc/manager-api.txt \
doc/service-api.txt doc/agent-api.txt doc/attribute-api.txt \
doc/serial-api.txt doc/network-api.txt \
doc/input-api.txt doc/audio-api.txt doc/control-api.txt \
- doc/hfp-api.txt doc/health-api.txt doc/assigned-numbers.txt
+ doc/hfp-api.txt doc/health-api.txt doc/sap-api.txt \
+ doc/assigned-numbers.txt
AM_YFLAGS = -d
diff --git a/doc/sap-api.txt b/doc/sap-api.txt
new file mode 100644
index 00000000..b8b7253e
--- /dev/null
+++ b/doc/sap-api.txt
@@ -0,0 +1,34 @@
+BlueZ D-Bus Sim Access Profile API description
+***********************************
+
+Copyright (C) 2010 ST-Ericsson SA
+
+
+Sim Access Profile hierarchy
+============================
+
+Service org.bluez
+Interface org.bluez.SimAccess
+Object path [variable prefix]/{hci0,hci1,...}
+
+Methods void Disconnect()
+
+ Disconnects SAP client from the server.
+
+ Possible errors: org.bluez.Error.Failed
+
+ dict GetProperties()
+
+ Return all properties for the interface. See the
+ properties section for available properties.
+
+ Possible Errors: org.bluez.Error.Failed
+
+Signals PropertyChanged(string name, variant value)
+
+ This signal indicates a changed value of the given
+ property.
+
+Properties boolean Connected [readonly]
+
+ Indicates if SAP client is connected to the server.