Document CreateNetwork and RemoveNetwork methods
[connman] / doc / device-api.txt
index d0f850d..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
@@ -32,6 +48,10 @@ Properties   string Name [readonly]
 
                        The device name (for example eth0, wlan0 etc.)
 
+               string Type [readonly]
+
+                       The device type (for example ethernet, wifi etc.)
+
                boolean Powered [readwrite]
 
                        Switch a device on or off. This will also modify