summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-12-09 13:37:27 +0200
committerMarcel Holtmann <marcel@holtmann.org>2011-12-09 13:37:27 +0200
commit3e5bfc6efec877129ac8f883be72207dfebd2bc3 (patch)
tree360ac1076dd0552aeee74ccbd83c1cb3dc06c3e2 /doc
parent8ae0933736fcbba7d8681b5df9d817f3889d3902 (diff)
downloadconnman-3e5bfc6efec877129ac8f883be72207dfebd2bc3.tar.gz
connman-3e5bfc6efec877129ac8f883be72207dfebd2bc3.tar.bz2
connman-3e5bfc6efec877129ac8f883be72207dfebd2bc3.zip
doc: Fix race conditions in technology handling
Diffstat (limited to 'doc')
-rw-r--r--doc/manager-api.txt59
1 files changed, 18 insertions, 41 deletions
diff --git a/doc/manager-api.txt b/doc/manager-api.txt
index 02fd89d3..0edfad91 100644
--- a/doc/manager-api.txt
+++ b/doc/manager-api.txt
@@ -22,23 +22,10 @@ Methods dict GetProperties()
Possible Errors: [service].Error.InvalidArguments
[service].Error.InvalidProperty
- void RequestScan(string type)
+ array{object,dict} GetTechnologies()
- Request to trigger a scan for the specified
- technology. The empty string "" triggers scanning
- on all technologies.
-
- Possible Errors: [service].Error.InvalidArguments
-
- void EnableTechnology(string type)
-
- Enable specified type of technologies.
-
- Possible Errors: [service].Error.InvalidArguments
-
- void DisableTechnology(string type)
-
- Disable specified type of technologies.
+ Returns a list of tuples with technology object
+ path and dictionary of technology properties.
Possible Errors: [service].Error.InvalidArguments
@@ -154,7 +141,21 @@ Methods dict GetProperties()
Possible Errors: [service].Error.InvalidArguments
-Signals PropertyChanged(string name, variant value)
+Signals TechnologyAdded(object path, dict properties)
+
+ Signal that is sent when a new technology is added.
+
+ It contains the object path of the technology and
+ also its properties.
+
+ TechnologyRemoved(object path)
+
+ Signal that is sent when a modem has been removed.
+
+ The object path is no longer accessible after this
+ signal and only emitted for reference.
+
+ PropertyChanged(string name, variant value)
This signal indicates a changed value of the given
property.
@@ -169,26 +170,6 @@ Properties string State [readonly]
the value "connected". This can only be seen if
previously no connection was present.
- array{string} AvailableTechnologies [readonly]
-
- The list of available technologies. The strings
- are the same as the ones from the service types.
-
- array{string} EnabledTechnologies [readonly]
-
- The list of enabled technologies. The strings
- are the same as the ones from the service types.
-
- array{string} ConnectedTechnologies [readonly]
-
- The list of connected technologies. The strings
- are the same as the ones from the service type.
-
- string DefaultTechnology [readonly]
-
- The current connected technology which holds the
- default route.
-
boolean OfflineMode [readwrite]
The offline mode indicates the global setting for
@@ -202,10 +183,6 @@ Properties string State [readonly]
the limited usage of WiFi or Bluetooth devices might
be allowed in some situations.
- array{object} Technologies [readonly]
-
- List of technology object paths.
-
array{object} Services [readonly]
List of service object paths. The list is sorted