Add property to indicate default connections
[connman] / doc / device-api.txt
index d0f850d..847b6f4 100644 (file)
@@ -11,7 +11,6 @@ Methods               dict GetProperties()
                        the properties section for available properties.
 
                        Possible Errors: [service].Error.InvalidArguments
-                                        [service].Error.DoesNotExist
 
                void SetProperty(string name, variant value)
 
@@ -23,6 +22,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 +47,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