nRF Connect SDK API 2.8.99
|
int wifi_credentials_set_personal | ( | const char * | ssid, |
size_t | ssid_len, | ||
enum wifi_security_type | type, | ||
const uint8_t * | bssid, | ||
size_t | bssid_len, | ||
const char * | password, | ||
size_t | password_len, | ||
uint32_t | flags, | ||
uint8_t | channel, | ||
uint32_t | timeout ) |
#include <include/net/wifi_credentials.h>
Set credentials for given SSID.
[in] | ssid | SSID to look for |
[in] | ssid_len | length of SSID |
[in] | type | Wi-Fi security type |
[in] | bssid | BSSID (may be NULL) |
[in] | bssid_len | length of BSSID buffer (either 0 or WIFI_MAC_ADDR_LEN) |
[in] | password | password |
[in] | password_len | length of password |
[in] | flags | flags |
[in] | channel | Channel |
[in] | timeout | Timeout |