List the available wifi network in the same network connection.

Hi All,


I am developing the application to communicate with udp based wifi devices.But all the devices are connected with my office network.My ipad also connected with my office network.Now i want to list the available deivces in the same network in inside my application.How can i acheive it? .

Thanks in advance.

I’m confused. Are you trying to discover:

  • Nearby Wi-Fi networks?

  • Accessories on the same Wi-Fi network as your iOS device?

The former is not possible is the general case. QA1942 iOS Wi-Fi Management APIs has all the details hear.

The latter really depends on what protocols your accessory speaks. I recommend that you build your access to support Bonjour [1] in which case you can discover it using high-level APIs like NSNetService. If you can’t do that then you’ll have to write your own discovery code, and the mechanics of that completely dependent on the protocols the accessory supports.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

[1] Specifically:

List the available wifi network in the same network connection.
 
 
Q