WiFi possibilities on iOS - iphone

Is it possible on iPhone to create a data connection by specifying the SSID of the network?
Is it possible from application to check the signal/availability of the network with specified SSID?
Regards,
STeN

What you're trying to do is sadly not possible without the usage of private (undocumented) API-s.
Hopefully Apple will provide this kind of functionality (with users permition) though i don't think this is bound to happen soon.
If you want to research this topic further the first place to check would be iphone-wireless - the home of Stumbler which shows a nice usage of MobileApple80211.

Related

How does the System Status iPhone app obtain Wifi network roaming information?

I've just downloaded an app from the App Store called System Status which gives you detailed information about the iPhone it's installed on.
One of the features provides a system log which allows you to see the network info when you roam from one BSSID to another.
My question is how did they do this?
I have searched everywhere and the only way I have found requires the use of private APIs. I am assuming that since this app is live on the App Store there is a legal way to obtain the information.
After some deeper digging I think that they got the information from the Apple Status Log, more details are available via these links:
https://developer.apple.com/library/ios/#documentation/System/Conceptual/ManPages_iPhoneOS/man3/asl.3.html
http://www.cocoanetics.com/2011/03/accessing-the-ios-system-log/

How to add a wifi network to the list of known ones in iOS?

I am working on an app that needs to add a wifi network (i.e., SSID and password) to the list of known ones of the mobile phone, so that it connects to that network automatically even when seeing it for the first time.
I already did this on Android, and now I will start working on the iPhone version.
Question: On the iPhone, is it possible to have my app (when it runs for the first time) add a wifi network to the list of known ones of the device, and if so, any hints regarding how to do it?
Thanks a lot.
Unfortunately this is not possible on iOS.
Apple doesn't provide any public APIs to add network SSIDs or passwords.
The most you can do is to enable your app to manage the user's authentication for a public network, (as is done for things like Boingo and The Cloud). In this case, when the user joins a network, instead of a webpage opening to authenticate, your app can launch and provide the authentication - but that is as far as you can go.
We asked for clarification on this point to Apple in the dev forums and were told that it is definitely not possible. (I will try to dig out the link to that post for you when I get more time. Else, search your query on the dev forums and it might show up).
so it would seem that with iOS 6, there may be a way to do this. Boingo appear to allow a user to turn on "Auto Login" and it will login/authenticate against the access point without the user interacting/authenticating manually (I haven't tried it myself though). Is there new API calls in iOS 6 that now allows this? See this article.

Is there a way to get list of devices that scanned for WiFi on the Access Point?

I hope I've posted the question on the right place. Not so sure if it should be here or in ServerFault.Nonetheless thank you for those who will answer.
So we have this project where we want to get the SSIDs and/or MAC addresses of scanned WiFi Networks available via the iPhone (can't change devices now, so no do it on Android answers please). Since via iOS5 it has become completely impossible for non-jailbroken iPhones to do so (not sure) because of new security restrictions, I want to know if the opposite is possible. That is, is there any Access Point available that can record the information of the devices that did a scan, and put it in the syslog?
Or can you please suggest another way? The basic idea is that the iPhone must get a data from another device (in this case WiFi, and we're also thinking about bluetooth) and send it to a server.
EDIT:
I've read that it's possible to get the current SSID using CaptiveNetwork.h, can someone provide me information about this? Thanks.
iphone-wireless project looks like it might fit the bill. Specifically Apple80211GetInfoCopy

connect non iPhone Device using bluetooth in iPhone to display data

Is it possible to connect non iPhone device (like Blood sugar monitoring) with the iPhone to display its data.
So my First Question is:
1.Is it possible
2.If yes can you provide some links for development or Example codes.
Thanks for any kind of help in advance...
You can get the answer of your question here
P.S. The link is same as it is on the comment of the answer.. But since I didnt noticed the comment and was searching for the long time. So for the ones who havent seen Brads comment in the question. I have passed the link in answer.
Thanks
Do you want code or an application? Search for Bump on the AppStore. If you want code, I'd suggest looking at the GameKit framework however I don't know if you can use that to talk to other devices or not...
I would imagine it's definitely possible. A protocol like Bluetooth or WIFI would be device-agnostic. I guess it would depend on the device that you want to interface with your iPhone. Do you have a device in mind?

Getting cell tower information in an iOS application?

My question is simple but I haven't found a good answer anywhere. My question is this: Is there a way through either the iOS SDK or third-party frameworks to get cell tower location data? Meaning cell tower location, distance from you, etc.
The signal application for iOS does this, so I know it's possible, but I can't seem to find any documentation or resources on the matter.
Thanks!
There is no official way to do this as far as I know.
iOS SDKs abstract that info to a single and easy to use location API.
The application you link is probably using private APIs from iOS.
That means that developer is using undocumented functions from iOS.
If you really want to find more about it, you can try contacting him.
Also check this:
iOS Private API Documentation
The signal app used some private API which will lead to immediate rejection by Apple, which is why it says jailbreak device only.
Plus, you may find this post helpful: iPhone signal strength
The CellStumbler application (CellStumbler at code.google.com) uses undocumented methods in the CoreTelephony framework. There is a CellInfo struct defined which can be queried via the _CTServerConnectionCellMonitorGetCellInfo method.
However, on iPhone-4S - iOS5 the CTServerConnectionCellMonitorGetCellCount always return zero - so no cell info can be queried. Things may look different on a iPhone4/3S since Apple changed the baseband modem from Infineon Gold to Qualcomm mdm6610.
You mal also try to evaluate the built-in FieldTest app (just dial *3001#12345#* to start) which gives you a couple of info related to your cellular network status.