Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you pass WiFi settings from an iOS device to an ExternalAccessory object?

Tags:

ios

iphone

ios5

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

like image 762
njt Avatar asked Jan 11 '12 15:01

njt


People also ask

How can I share Wi-Fi from my iPhone?

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.

How do I transfer Wi-Fi password from iPhone to macbook?

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.

How can I share Wi-Fi from iPad?

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.


1 Answers

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:

enter image description here

Then the user can then choose to share their home wifi information securely with the new device.

enter image description here

like image 130
Ethan Parker Avatar answered Oct 16 '22 00:10

Ethan Parker