Scan Wifi Networks via objective-c in a Mac OS X app

Is there a tutorial available which explains how to scan for available wifi networks via Objective-C in a mac app? I have been searching for the past few days but only found bonjour related results. I read that CoreWLAN framework is used for wifi scanning and communication, could anyone please guide me in this regards? I just want to create a program which scans for available wifi routers around. And then when I click on any of the router, it gives me a list of devices attached with that router. Is it possible?

Best Regards

Answers


Apple's Developer site has a nice sample project here which seems to explain using code what you're looking for - there's also a somewhat old tutorial here, though it may still help you along.


Need Your Help

How can I control a browser ( ala Selenium ) with node.js?

node.js

I've heard of soda, but it seems like it requires you to signup and there's a limit on the # of minutes ( free acct / 200 minutes ).

Visual C++: breakpoints disabled

debugging visual-c++ visual-studio-2005 remote-debugging

I have a 'release with debug info' unmanaged c++ .exe (built with VS2005) deployed onto another PC, the .exe and .pdb are in the same folder.