<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<BR>
&nbsp;&nbsp;&nbsp; I&nbsp;write a client application to get WPS state from wpa_supplicant but never received 'WpsCred' signal.<BR>
I have already set 'wps_cred_processing=2' in the config file and WPASupplicant do send signal out.<BR>
Here is my codes, would you give me any suggestions?<BR>
&nbsp;<BR>
{<BR>
DBusGProxy *remote_object = NULL;<BR>remote_object = dbus_g_proxy_new_for_name (bus,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"fi.epitest.hostap.WPASupplicant",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"/fi/epitest/hostap/WPASupplicant/Interfaces/0",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"fi.epitest.hostap.WPASupplicant.Interface");<BR>dbus_g_object_register_marshaller(my_marshal_VOID__BOXED_UCHAR,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;G_TYPE_NONE,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;G_TYPE_ARRAY, G_TYPE_UCHAR,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;G_TYPE_INVALID);<BR>dbus_g_proxy_add_signal (remote_object, "WpsCred", G_TYPE_ARRAY, G_TYPE_UCHAR, G_TYPE_INVALID);<BR>dbus_g_proxy_connect_signal (remote_object, "WpsCred", G_CALLBACK (dbus_iface_wpa_wps_succ),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NULL, NULL);<BR>}<BR>
&nbsp;<BR>
Best regards,<BR>
Jeanne<BR>                                               </body>
</html>