I feel sure this question has already been asked and answered, but I can’t find a link, so apologies if this is a duplicate.
I want to be able to pass the wifi SSID and Password to an IoT device programmatically, but don't want to use WPS. I want to achieve something similar to the Share WiFi password feature on iOS.