Where can I get a complete reference on Mac OS X's CoreWLAN? [closed]
We don’t allow questions seeking recommendations for开发者_StackOverflow books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this questionGoogling for CoreWLAN
brings a mere 701 results -- Apple's own shallow reference isn't even there, at least not on the first pages.
For instance, I would like to know what are the possible values of kCWScanKeyScanType
when scanning for networks. Apple will only say it defaults to APScanTypeActive
, but doesn't explain what that means or what are the other possibilities. I obscurely came across a QT commit which uses kCWScanTypeFast
, for which there are no Google results except for 3 commit logs.
It seems I'm missing something. Where can I get a full reference on CoreWLAN, if one exists? If it doesn't, how did Nokia discover kCWScanTypeFast
?
When the documentation is terse or there’s no documentation, resort to header files. In particular, /System/Library/Frameworks/CoreWLAN.framework/Headers/CWGlobals.h declares the CWScanType
enumeration with three possible values: kCWScanTypeActive
, kCWScanTypePassive
, and kCWScanTypeFast
. The header file documents that enum
and the respective values.
精彩评论