Question

I'm not trying to reproduce this at all, but I've just watched this video, and am wondering how is the wifi configuration sent to the weather station.

You can see it around 1:20.

From what I know, to access wifi configurations, you'd have to be jailbroken and use private APIs, and yet, Netatmo is available on the AppStore.

Thanks !

Was it helpful?

Solution

I've seen the video.. I don't know what exactly they are doing. But as I am also working on similar stuff for my company, I can suggest you to achieve the same. As in video, they connected exteral hardware with iPhone through USB interface. they must be having some wifi module in there hardware. through USB interface, may be they are requesting wifi settings of hardware from iPhone, & then are creating ad-hoc network. As they have access to firmware, they can configure any type of network they want using iPhone. They just have to have USB interface working properly. So here you are not accessing wifi settings of iPhone, but of external hardware. Let me know if more info needed, or any edits in my answer .:)

EDIT About Ad-hoc & Infrastructure mode... I was not focusing on that sorry. As I've already mentioned about ah-hoc, in case of infrastructure mode, the firmware(Inside external hardware) device can take wifi host address from iPhone (using ifaddrs), then request host for an IP. (Can be static or dynamic). Now it can inform about allotted IP to iPhone. All these happened using USB interface, and now as everything is set, we are good to go. Let me know if I am still missing some points ..:)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top