nRF Connect SDK API 2.8.99
|
int wifi_credentials_get_by_ssid_personal | ( | const char * | ssid, |
size_t | ssid_len, | ||
enum wifi_security_type * | type, | ||
uint8_t * | bssid_buf, | ||
size_t | bssid_buf_len, | ||
char * | password_buf, | ||
size_t | password_buf_len, | ||
size_t * | password_len, | ||
uint32_t * | flags, | ||
uint8_t * | channel, | ||
uint32_t * | timeout ) |
#include <include/net/wifi_credentials.h>
Get credentials for given SSID.
[in] | ssid | SSID to look for |
[in] | ssid_len | length of SSID |
[out] | type | Wi-Fi security type |
[out] | bssid_buf | buffer to store BSSID if it was fixed |
[in] | bssid_buf_len | length of bssid_buf |
[out] | password_buf | buffer to store password |
[in] | password_buf_len | length of password_buf |
[out] | password_len | length of password |
[out] | flags | flags |
[out] | channel | channel |
[out] | timeout | timeout |