<h3>WPSVendorExtensions - aay - (read/write)</h3>
<p>WPS vendor extension attributes used on the GO. This is valid only the in the GO role. An empty array is returned in P2P Client role. At maximum, 10 separate vendor extension byte arrays can be configured. The GO device will include the configured attributes in WPS exchanges.</p>
</li>
+
+ <li>
+ <h3>GODeviceAddress - ay - (read)</h3>
+ <p>Returns the device address of the GO of the group. This is available for both client and GO roles.</p>
+ </li>
</ul>
\subsection dbus_group_signals Signals
wpas_dbus_setter_p2p_group_vendor_ext,
NULL
},
+ { "GODeviceAddress", WPAS_DBUS_NEW_IFACE_P2P_GROUP, "o",
+ wpas_dbus_getter_p2p_group_go_device_address,
+ NULL,
+ NULL
+ },
{ NULL, NULL, NULL, NULL, NULL, NULL }
};
}
+dbus_bool_t wpas_dbus_getter_p2p_group_go_device_address(
+ const struct wpa_dbus_property_desc *property_desc,
+ DBusMessageIter *iter, DBusError *error, void *user_data)
+{
+ struct wpa_supplicant *wpa_s = user_data;
+ return wpas_dbus_simple_array_property_getter(
+ iter, DBUS_TYPE_BYTE, wpa_s->go_dev_addr,
+ ETH_ALEN, error);
+}
+
+
dbus_bool_t wpas_dbus_setter_p2p_group_vendor_ext(
const struct wpa_dbus_property_desc *property_desc,
DBusMessageIter *iter, DBusError *error, void *user_data)
DECLARE_ACCESSOR(wpas_dbus_getter_p2p_group_psk);
DECLARE_ACCESSOR(wpas_dbus_getter_p2p_group_vendor_ext);
DECLARE_ACCESSOR(wpas_dbus_setter_p2p_group_vendor_ext);
+DECLARE_ACCESSOR(wpas_dbus_getter_p2p_group_go_device_address);
/*
* P2P Persistent Groups and properties