OK, to answer my own questions:
By experimentation, I found that I needed to call cyw43_arch_init (of course), and then either of cyw43_arch_enable_ap_mode or cyw43_arch_enable_sta_mode.
Without that second step, then any attempt to start a scan will fail; presumably because not enough of the interface is actually up.
As to the second query, it is possible to supply a string containing the 64 character PSK (as produced by wpa_passphrase) instead of the passphrase itself as the password.
By experimentation, I found that I needed to call cyw43_arch_init (of course), and then either of cyw43_arch_enable_ap_mode or cyw43_arch_enable_sta_mode.
Without that second step, then any attempt to start a scan will fail; presumably because not enough of the interface is actually up.
As to the second query, it is possible to supply a string containing the 64 character PSK (as produced by wpa_passphrase) instead of the passphrase itself as the password.
Statistics: Posted by SteveSpencer — Mon Dec 08, 2025 1:04 pm