I want to know if there is any iOS API available which can be used to find out what kind of router i am connected to.. for Ex:- if wifi router is a G type router or N type router.
My application have needs to identify the kind of router connected & based on that start proceeding to the next steps.
Any help will be appreciated.
I don't think that sort of info is send over a WiFi signal. Unless you hack into the router and pull its details.
Can you not just check the speed and determine N/G etc based on that?
Did you see this thread,
Accessing iPhone WiFi Information via SDK
Iy mentions few external private API's to get Wifi information , have a look
Related
In short i'm trying to build an App that will grant/block wifi access to my son's wifi for his Ipad and his PS4 remotely using an App. I researched the topic and can't figure out how this can be done. Ideally i'd like to be able to grant/block wifi access independently Ie. block wifi to the Ipad and allow PS4.
How can this be done, no need for the full code ( well if you insist i'll take it ) but just point me in the right direction.
Depending on the router you're using you're going to need to write something that interacts with the router's API, if it has one. If it doesn't, you will need to replace the firmware on your router with something like ddwrt that can be scripted. From there, you might be able to create an app that talks to the router's API.
TLDR: You're probably better off simply bookmarking the management page for the router and enabling/disabling access for the devices.
Edit:
It occurred to me that some mainstream consumer router/access point manufacturers (Linksys, Asus, etc) have companion apps for managing their devices from the LAN side. You should see if such an app exists for your router, and if not, perhaps consider getting a different router that supports such an app.
I don't know the that this question is easy or not, But I didn't found any thing related to this on the web.
Does anyone know the wifi library or other help having functionality of connecting two device with iOS and having functionality of creating call between these two connected device or we can create group and do the group call also?
Setup you own WebRTC server and obtain absolute URL with its protocol. Make sure that has to be work within your network only. When your devices are in wifi / network. They can connect each other through absolute URL.
Refer - https://github.com/ISBX/apprtc-ios/blob/master/README.md
In my project, I need get list all near by WiFi in range,
I have already done lots of research but didn't get any solution, Please any one help me for same ?
thanks very much!
By this way you can get all near by your phone
From iOS >= 4.1 it's possible to obtain SSID of wireless network that device is currenctly connected to.
For this you'd use function CNCopyCurrentNetworkInfo
Details on implemenation are available on SO: iPhone get SSID without private library
Without the use of private library (Apple80211) it will not provide you other reachable wifi list or other info but if you want devices near by you You can use multipeer connectivity.
I'm using Reachability to check for Wifi connectivity in my app.
When Wifi is available is it then possible to check what type of connectivity it is? e.g. I want to check if VPN is connected.
I have been looking for it too. though i have not managed to find any direct way but some guys online suggested these indirect methods. take a look if they might help!
use the BSD system call getifaddrs() to get a list of all network interfaces and then check whether anything that looks like VPN (e.g. utun0) is present.
If you know exactly to which VPN server users of your app will be connected then you can try to check what is current DNS server
You can get some flags for a current connection and connection changes in the reachability API. Most likely some combination of flags should let you know whether it's VPN or no.
Do update here if u try these out and they work! or if u find an easier way. :)
Is there a way to access the signal info of the devices that are attached to a wireless router? I was thinking that maybe that information is given in the router homepage, but my netgear router only gives me the IP and MAC addresses of the attached devices. Also, in case that this isn't possible with my router (DGN2000), are you aware of another device that gives that kind of information (even if it needs custom firmware to display it).
I want to make an app that collects the attached device signal data and I am stuck.
So I found the solution. Any router that can run on dd wrt firmware can access that data by navigating to "status" and then "wireless" in the router page. Another (and expensive) solution is the Apple Airport router, that gives that data via the airport utility.