diff options
| author | Damien George <damien@micropython.org> | 2022-07-05 11:07:16 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-07-05 11:07:16 +1000 |
| commit | 4b9a2abbdec0e905fbc08f247513e43fb6bff39e (patch) | |
| tree | 2336ee1cd4ad30a121eb70599de6ff1c038ce0a2 | |
| parent | d660a0c3d13a5354c8cb10cff90988cff75a33bb (diff) | |
rp2/main: Set default AP auth mode to WPA2_AES_PSK.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/rp2/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/rp2/main.c b/ports/rp2/main.c index 664bb1810..d976464de 100644 --- a/ports/rp2/main.c +++ b/ports/rp2/main.c @@ -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 |
