Re: Which framework for Wifi?
Re: Which framework for Wifi?
- Subject: Re: Which framework for Wifi?
- From: "J. Scott Tury" <email@hidden>
- Date: Tue, 27 May 2008 23:28:17 -0400
There is a private command line utility at the path:
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/
Current/Resources/airport
One word of warning about using this utility: it's output seems to
change between OS builds (at least major ones)... So be prepared to
update this code, and test it on different OS versions.
I've noticed the output is actually different for certain values
between 10.4 and 10.5. And in 10.5.2 the -x command line option does
not work at all, so you'll have to write a parser for the output.
But then again it's probably the most supported utility you have
available to you at this point in time.
If this utility isn't enough for you, you can try the alternative,
which is to see what other projects use to get this information. One
good project to lookup would be MacStumbler. They have a header
(Apple80211.h) which may prove useful to you.
Scott Tury
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden