enum connman_element_type type;
enum connman_element_subtype subtype;
enum connman_element_state state;
+ guint16 priority;
struct connman_element *parent;
case DBUS_TYPE_UINT16:
signature = DBUS_TYPE_UINT16_AS_STRING;
break;
+ case DBUS_TYPE_UINT32:
+ signature = DBUS_TYPE_UINT32_AS_STRING;
+ break;
case DBUS_TYPE_OBJECT_PATH:
signature = DBUS_TYPE_OBJECT_PATH_AS_STRING;
break;
if (str != NULL)
append_entry(&dict, "Subtype", DBUS_TYPE_STRING, &str);
+ if (element->priority > 0)
+ append_entry(&dict, "Priority",
+ DBUS_TYPE_UINT16, &element->priority);
+
if (element->ipv4.address != NULL)
append_entry(&dict, "IPv4.Address",
DBUS_TYPE_STRING, &element->ipv4.address);