summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-03-11 20:39:37 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-03-11 20:39:37 +0100
commit64e21423a7872663e23bb369af56c6d0776b3658 (patch)
tree606af74b436d9bdbb2955644384e411c31b040be /doc
parent306c84e60b5779356addbbeff7084c0c7478a056 (diff)
downloadconnman-64e21423a7872663e23bb369af56c6d0776b3658.tar.gz
connman-64e21423a7872663e23bb369af56c6d0776b3658.tar.bz2
connman-64e21423a7872663e23bb369af56c6d0776b3658.zip
Add more helpers for handling profile/service support
Diffstat (limited to 'doc')
-rw-r--r--doc/manager-api.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/manager-api.txt b/doc/manager-api.txt
index 1f50d944..dd819418 100644
--- a/doc/manager-api.txt
+++ b/doc/manager-api.txt
@@ -22,6 +22,29 @@ Methods dict GetProperties()
Possible Errors: [service].Error.InvalidArguments
[service].Error.DoesNotExist
+ object AddProfile(string name)
+
+ Add a new profile with the specified name.
+
+ It is possible to create two profiles with the same
+ name. The identification is done via the object path
+ and not the name of the profile.
+
+ Possible Errors: [service].Error.InvalidArguments
+
+ void RemoveProfile(object path)
+
+ Remove profile with specified object path.
+
+ It is not possible to remove the current active
+ profile. To remove the active profile a different
+ one must be selected via ActiveProfile property
+ first.
+
+ At minium one profile must be available all the time.
+
+ Possible Errors: [service].Error.InvalidArguments
+
void RegisterAgent(object path)
Register new agent for handling user requests.
@@ -74,6 +97,10 @@ Properties string State [readonly]
the limited usage of WiFi or Bluetooth devices might
be allowed in some situations.
+ object ActiveProfile [readwrite]
+
+ Object path of the current active profile.
+
array{object} Profiles [readonly]
List of profile object paths.
@@ -82,6 +109,19 @@ Properties string State [readonly]
List of device object paths.
+ array{object} Services [readonly]
+
+ List of service object paths.
+
+ This list represents the available services for the
+ current selected profile. If the profile gets changed
+ then this list will be updated.
+
+ The same list is available via the profile object
+ itself. It is just provided here for convenience of
+ applications only dealing with the current active
+ profile.
+
array{object} Connections [readonly]
List of active connection object paths.