Document CreateNetwork and RemoveNetwork methods
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 9 Dec 2008 17:08:37 +0000 (18:08 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 9 Dec 2008 17:08:37 +0000 (18:08 +0100)
doc/device-api.txt

index d50a6c5..ad462a6 100644 (file)
@@ -23,6 +23,22 @@ Methods              dict GetProperties()
                        Possible Errors: [service].Error.InvalidArguments
                                         [service].Error.DoesNotExist
 
+               object CreateNetwork(dict network)
+
+                       Creates a network object from the specified
+                       properties. Valid properties are WiFi.SSID,
+                       WiFi.Security and WiFi.Passphrase. Check the
+                       network interface description for details.
+
+                       Possible Errors: [service].Error.InvalidArguments
+
+               void RemoveNetwork(object network)
+
+                       Removes a previously created network object.
+
+                       Possible Errors: [service].Error.InvalidArguments
+                                        [service].Error.DoesNotExist
+
 Signals                PropertyChanged(string name, variant value)
 
                        This signal indicates a changed value of the given