Hi,
Many of us will have heard of the MyWi iPhone tethering app which is widely used on jailbroken phones. It seems to work well to allow sharing of the iPhone's 3G connection via WiFi with some limitations such as poor battery life etc.
As an iPad WiFi owner, I am keen to be able to occasionally use my iPhone to provide short term, ad hoc connectivity for my iPad but I don't want to jailbreak my phone to install MyWi. Partly this is because I am using my iPhone for development purposes and partly because I like it fine the way it is.
So, since I am a developer and have paid my $99 developer's licence, I am interested in creating my own (very basic) version of MyWi if possible. I have already come across iProxy source code which provides the proxy functionality but I can't find any guidance or sample source code about what is involved in creating a WiFi hotspot. I expect I will need to do stuff like initialise the chipset and then wait for an incoming connection and then do some authentication followed by issuing a DHCP address but I'm sure this is over simplified...
Does anyone know of any sample source code in this area or do you know of any documentation (eg. RFC docs) which describe the protocols surrounding creation of a hotspot/router?
Please note, I have no intention of trying to produce a commercial app but just want to use this for my own purposes and education. If my phone was jailbroken then I'd have no issue with spending $20 on MyWi but I don't want to jailbreak.
Thanks,
Craig.
Many of us will have heard of the MyWi iPhone tethering app which is widely used on jailbroken phones. It seems to work well to allow sharing of the iPhone's 3G connection via WiFi with some limitations such as poor battery life etc.
As an iPad WiFi owner, I am keen to be able to occasionally use my iPhone to provide short term, ad hoc connectivity for my iPad but I don't want to jailbreak my phone to install MyWi. Partly this is because I am using my iPhone for development purposes and partly because I like it fine the way it is.
So, since I am a developer and have paid my $99 developer's licence, I am interested in creating my own (very basic) version of MyWi if possible. I have already come across iProxy source code which provides the proxy functionality but I can't find any guidance or sample source code about what is involved in creating a WiFi hotspot. I expect I will need to do stuff like initialise the chipset and then wait for an incoming connection and then do some authentication followed by issuing a DHCP address but I'm sure this is over simplified...
Does anyone know of any sample source code in this area or do you know of any documentation (eg. RFC docs) which describe the protocols surrounding creation of a hotspot/router?
Please note, I have no intention of trying to produce a commercial app but just want to use this for my own purposes and education. If my phone was jailbroken then I'd have no issue with spending $20 on MyWi but I don't want to jailbreak.
Thanks,
Craig.