Question

I assume that the iPhone Wi-Fi hardware is able to switch between channels, since my WLAN router shows me channel 1 to 13. So that WLAN spectrum must be devided up into those, I think. I would like to observe the signal strength from a specific channel within my app. Is there a way to get this data?

Was it helpful?

Solution

WiFi is split into 13 channels - they are used to reduce interference with other routers and devices using the same spectrum. Channel can be set manually in a router but is often chosen automatically by the router. The channels themselves overlap; e.g. channel 7 will still intefere with channels +/- 5 channels. Note that not all channels are licensed in all regions of the world so you may only see (say) 11 channels on your router.

What it sounds like you are looking for is the signal to noise or even more general "quality" on any given channel - i.e. finding out which channel would be best for a specific installation. Although the various metrics that would allow you to compute this value are available at the hardware interface, the iPhone networking API does not expose them. You could investigate using a jailbroken iPhone and corresponding devkit or switching your app to the destop.

OTHER TIPS

Your router broadcasts on a specific channel (1-13) and your iphone will just use the channel that is being broadcast. The reasons for the channels are to reduce interference with othe routers around. ideally you want to pick a channel that is not in use. The channels themselves overlap though, eg, channel 7 will still intefere with channels +/- 5 channels.

There are a number of applications you can download that will show you all access points it can find and which channel they are broadcasting on. This can help you find the best channel to use yourself.

Basically what I'm saying is, your iPhone can't choose what channel your router is broadcasting on.

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