Connecting new devices using WPS

So, one of my apps is a companion app to a wireless streaming speaker.

The speaker has a WPS button (Wifi Protected Setup) and the manufacturer (my client) wants me to add device discovery and connection into the app.


It works like this :

  1. The user ensures that the iOS device is connected to the correct WiFi network
  2. The app promots the use for the correct WiFi password
  3. The app prompts the user to press the WPS button on the speaker.
  4. The app then sends out whatever magic on the wifi network that allows the speaker to connect.


I have seen this done already in other app (Muzo player for example).


My question is: are there any libraries already for doing this, or is anyone aware of any sample code about that can help me?

In that example, the device negotiates with/connects itself to the network...not your app.

The best way to implement this feature is to avoid WPS and instead support Wireless Accessory Configuration (WAC). QA1942 iOS Wi-Fi Management APIs has links to more information on WAC.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Connecting new devices using WPS
 
 
Q