• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
System Configuration framework question re airport
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

System Configuration framework question re airport


  • Subject: System Configuration framework question re airport
  • From: Bill Cheeseman <email@hidden>
  • Date: Tue, 29 Sep 2009 15:42:52 -0400

Not sure what list to send this to....

I've written a Cocoa method using the System Configuration framework to detect whether the AirPort card is powered on. I first test for a network interface of type kSCNetworkInterfaceTypeIEEE80211 (AirPort). Then, if one is present, I get its configuration dictionary and extract the value associated with its "PowerEnabled" key. A user is reporting that this returns nil. I thought it was illegal for a kSCNetworkInterfaceTypeIEEE80211 interface to have a configuration dictionary that does NOT contain the "PowerEnabled" key, so i didn't test for nil.

Can a kSCNetworkInterfaceTypeIEEE80211 interface configuration dictionary lawfully omit a "PowerEnabled" key? Under what circumstances? Can anybody point me to documentation?


--

Bill Cheeseman
email@hidden

_______________________________________________

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


  • Prev by Date: Re: Can an app query the values in its own Info.plist?
  • Next by Date: Timer and RunLoop question
  • Previous by thread: Re: Fast transition between two graphics
  • Next by thread: Timer and RunLoop question
  • Index(es):
    • Date
    • Thread