+ 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
- [PATCH 4/7] service: request_input_cb handle wps setting Julien Massot
- Re: [PATCH 4/7] service: request_input_cb handle wps... Tomasz Bursztyka
- Re: [PATCH 4/7] service: request_input_cb handle... Julien Massot
- [PATCH 3/7] network: Avoids connection to a network with ... Julien Massot
- [PATCH 5/7] network: Add function to set the WPS PIN and ... Julien Massot
- Re: [PATCH 5/7] network: Add function to set the WPS... Tomasz Bursztyka
- Re: [PATCH 5/7] network: Add function to set the... Julien Massot
- [PATCH 6/7] service: Move setting of WPS input from agent... Julien Massot
- Re: [PATCH 6/7] service: Move setting of WPS input f... Tomasz Bursztyka
- Re: [PATCH 6/7] service: Move setting of WPS inp... Julien Massot
- Re: [PATCH 6/7] service: Move setting of WPS... Tomasz Bursztyka
- [PATCH 7/7] network: Do not set the WPS pin with connman_... Julien Massot
- Re: [PATCH 7/7] network: Do not set the WPS pin with... Tomasz Bursztyka
