Sending wifi connection info to an unconnected device
You cannot send or receive anything through a Wifi network if the AP is configured to require authentication, which is pretty standard nowadays. So you cannot send the SSID &amp; the password required to join a Wifi network through that particular network (SSID). If we assume that the AP running the Wifi network to be used is out of administrative control, and may require whatever authentication it chooses, the only way to exchange data via Wifi in a foolproof way is to run another AP with a different SSID. Either the the box runs an AP with a predefined or recognizable SSID, and the app joins that, or the app runs an AP and the box joins that.