+               if (wpspin != NULL) {
>>
> here you could call an helper function to check wpspin validity
>
>  +                       err = connman_network_set_wpspin(**network,
>> wpspin);
>>
> then, if successful,  call the usual connman_network_set_string(**network,
> "Wifi.PinWPS", wpspin)
>
>
I'm not sure about this, for passphrase, the validity check is done in
__connman_service_set_passphrase,
so it could be more relevant to do the same thing with a
__connman_service_set_wpspin ?
(but there is nothing storred in the service struct about WPS).
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to