nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches

◆ wifi_credentials_set_personal_struct()

int wifi_credentials_set_personal_struct ( const struct wifi_credentials_personal * creds)

#include <include/net/wifi_credentials.h>

Set credentials for given SSID by struct.

Parameters
[in]credscredentials Pointer to struct from which credentials are loaded
Returns
0 Success.
-ENOENT No network with this SSID was found.
-EINVAL A required buffer was NULL or incorrect size.
-ENOBUFS All slots are already taken.