Saturday, March 8, 2014

Creating WiFi Profile for iOS devices

As part of a project at workplace, i had to investigate on how to create the WiFi profile and have the app installed with the profile.

The main requirement was, client had deployed hotspots across the country and using the username and password a user registered with the customers backend, the user should be able to auto connect and authenticated to the WiFi hotspot.

There were two parts of the puzzle.

1. How to have the WiFi hotspot automatically appear on the WiFi list without user worrying about the username, password and SSID details.

2. How to request iOS to auto connect to a particular secure hotspot, how to get authenticated for connecting to it.

#1, is achieved using WiFi profiles. An iOS WiFi profile is a file that can specify the SSID, connection authentication information, whether to auto join or not etc. A WiFi profile can be created using tools like iPhone Configuration utility.

#2. Having the profile is created using the iPhone configuration utility, which is an xml file, it can be deployed on a web server and have the safari browser point to this location to download and have it installed.

Once the profile is installed, when the device get in vicinity of the hotspot, it get auto connected and the user will be able to start using the hotspot.

This approach allows user to be unaware of the complexity of connection, authentication steps involved. 

No comments:

Post a Comment