PDA

View Full Version : Adding SSID and Key




Colonel Badger
Oct 15, 2009, 08:39 AM
Anybody know how to in an iPhone app add an SSID and key in to the network settings?

Our QA dept are testing iPhone apps and regularly reset ALL settings on the phone (to test new installs etc.), losing the local WiFi network settings. They're getting tired of constantly having to re-enter the settings and i'd like to create a small app that they just run to re-add them.



robbieduncan
Oct 15, 2009, 09:07 AM
Not possible using the SDK. May be possible on jailbroken phones...

Guiyon
Oct 15, 2009, 10:56 AM
An application for this already exists (to a certain degree). Check out the iPhone Configuration Utility (Mac (http://support.apple.com/kb/DL851), Windows (http://support.apple.com/kb/DL926)). Using the application you can create provisioning profiles with data such as the Wi-Fi settings and, when the phone is restored, just dump the configuration profile back on the phone and, ideally, it should JustWork™. I use it to load my personal root CA (so the iPhone stops complaining about untrusted certificates) and the info for my local WiFi networks.