Re: Airport Extreme card and MoreSCF
Re: Airport Extreme card and MoreSCF
- Subject: Re: Airport Extreme card and MoreSCF
- From: Quinn <email@hidden>
- Date: Tue, 27 Jan 2004 10:32:45 +0000
At 17:55 -0800 26/1/04, Dave Camp wrote:
Any thoughts on why the Airport Extreme names not "correct" in SCF
for locations I create?
This is a bug in MoreSCF. Actually, it's a bug in MoreSCF code that
only exists because of limitations in the OS. To wit, the OS
provides no simple way for third party developers to get the user
visible name for a network port <rdar://problem/2851696>. Thus,
every time we introduce a new port type (for example, AirPort Extreme
vs AirPort), we revise the code in the Network preferences panel to
produce the correct name and every developer has to do the same.
This is very annoying and we're hoping to rectify it (by adding a
"what's the user visble name for this port" API) in the next major
release of Mac OS X.
At some point I'll revise MoreSCF to cover the AirPort Extreme case
<rdar://problem/3540864>. Until that time, you must fix the problem
in your copy of the code. I believe that the correct fix is to
replace line 502 of "MoreSCFPortScanner.c"...
&& CFEqualString(tmpStr, CFSTR("AirPortDriver"))) {
... with...
&& CFStringHasPrefix(tmpStr, CFSTR("AirPort"))) {
I can't test this today because I don't have easy access to an
AirPort Extreme card. Let me know how it goes.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.