kopia lustrzana https://github.com/micropython/micropython
rp2/main: Set default AP auth mode to WPA2_AES_PSK.
Signed-off-by: Damien George <damien@micropython.org>pull/8863/head
rodzic
d660a0c3d1
commit
4b9a2abbde
|
@ -143,6 +143,7 @@ int main(int argc, char **argv) {
|
||||||
buf[6] = hexchr[pid.id[5] >> 4];
|
buf[6] = hexchr[pid.id[5] >> 4];
|
||||||
buf[7] = hexchr[pid.id[4] & 0xf];
|
buf[7] = hexchr[pid.id[4] & 0xf];
|
||||||
cyw43_wifi_ap_set_ssid(&cyw43_state, 8, buf);
|
cyw43_wifi_ap_set_ssid(&cyw43_state, 8, buf);
|
||||||
|
cyw43_wifi_ap_set_auth(&cyw43_state, CYW43_AUTH_WPA2_AES_PSK);
|
||||||
cyw43_wifi_ap_set_password(&cyw43_state, 8, (const uint8_t *)"picoW123");
|
cyw43_wifi_ap_set_password(&cyw43_state, 8, (const uint8_t *)"picoW123");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Ładowanie…
Reference in New Issue