mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 21:20:13 +01:00
rp2/main: Set default AP auth mode to WPA2_AES_PSK.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -143,6 +143,7 @@ int main(int argc, char **argv) {
|
||||
buf[6] = hexchr[pid.id[5] >> 4];
|
||||
buf[7] = hexchr[pid.id[4] & 0xf];
|
||||
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");
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user