I've heard that iOS 5 introduced a feature in which the iOS device can share its wifi configuration with a docked accessory via the ExternalAccessory framework. The trouble is that I can't find any specific details on implementing this type of scheme in the SDK docs.
From my research, I've begun to suspect it's achieved via the 'iPhone Configuration Utility' but this still seems like a bit of a messy method to implement on a device.
Anyone got any ideas?
Once the wifi setup data is available, it should be easy enough to package it up and send it out via the ExternalAccessory framework to the device, where I'll build in protocol support accordingly.
Thanks
Make sure that your device (the one sharing the password) is unlocked and connected to the Wi-Fi network. Select the Wi-Fi network on the device you want to connect. On your device, tap Share Password, then tap Done.
Make sure the other person's Apple ID is in your Contacts app. Move the other person's device close to your Mac. On the other person's device, choose the Wi-Fi network. On your Mac, wait a moment for the the Wi-Fi Password notification to display, then click Share.
Connect iPhone, iPod touch, or another iPad to your Personal Hotspot. On the other device, go to Settings > Wi-Fi, then choose your iPad from the list of available networks. If asked for a password on the other device, enter the password shown in Settings > Personal Hotspot on your iPad.
Yes! you certainly can. However, to use HomeKit (the library you need) you first need to be a certified MFi (Made For iDevice-iPhone-iPod-iPad) developer. This gives you the ability to allow a user to view all available wifi networks and choose to link the device.
One example of this is Withings with their Aura sleep aid. See screenshot from on boarding experience:
Then the user can then choose to share their home wifi information securely with the new device.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With