summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-05-13 14:24:32 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-05-13 14:24:32 +0200
commit83a6632160cc24de958206623264772e532b254a (patch)
tree28dc6d47e7fbdd1ab7295a205c4897ced4c8fe6b /doc
parent4b4d04c50a07db309b03e8000a4a165a102c97d6 (diff)
downloadconnman-83a6632160cc24de958206623264772e532b254a.tar.gz
connman-83a6632160cc24de958206623264772e532b254a.tar.bz2
connman-83a6632160cc24de958206623264772e532b254a.zip
Add initial support for LookupService helper method
Diffstat (limited to 'doc')
-rw-r--r--doc/manager-api.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/manager-api.txt b/doc/manager-api.txt
index 8eaededd..1aeb0557 100644
--- a/doc/manager-api.txt
+++ b/doc/manager-api.txt
@@ -69,6 +69,20 @@ Methods dict GetProperties()
Possible Errors: [service].Error.InvalidArguments
+ object LookupService(string pattern)
+
+ Lookup a service matching the specific pattern.
+
+ Examples are interface names like "eth0", "wlan0"
+ etc. or service names like "hotspot" etc.
+
+ In case of multiple services match the the pattern
+ an error is returned.
+
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.NotUnique
+ [service].Error.NotFound
+
object ConnectService(dict network)
Connect to a network specified by the given