This property is optional and not always present.
+ boolean Default [readonly]
+
+ Indicates if it is a default connection. It is
+ possible to have multiple default connections.
+
string IPv4.Method [readonly]
Indicates the way how the IPv4 settings were
iface = CONNMAN_NETWORK_INTERFACE;
key = "Connected";
break;
+ case CONNMAN_ELEMENT_TYPE_CONNECTION:
+ iface = CONNMAN_CONNECTION_INTERFACE;
+ key = "Default";
+ break;
default:
return;
}
connman_dbus_dict_append_variant(&dict, "Strength",
DBUS_TYPE_BYTE, &element->strength);
+ connman_dbus_dict_append_variant(&dict, "Default",
+ DBUS_TYPE_BOOLEAN, &element->enabled);
+
add_common_properties(element, &dict);
dbus_message_iter_close_container(&array, &dict);