• 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
Re: Read airport connection status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read airport connection status


  • Subject: Re: Read airport connection status
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Tue, 19 Oct 2010 12:04:20 +0100

On 14 Oct 2010, at 06:37, email@hidden wrote:

> I would like know if there is any equivalent API in system configuration framework to retrieve the output similar to /usr/sbin/networksetup -getinfo "Airport". i.e I would like to know if the Wifi network is connected successfully, if not wait until network is actually connected. networksetup tool returns IP address only when the airport is connected successfully.  In SC framework SCNetworkInterfaceGetConfiguration API returns only one key. There seems no API that returns current configuration of the service name. (AirPort). There is API to establish the connection using serviceSCNetworkServiceEstablishDefaultConfiguration, but no API to retrieve the configuration information of the service?

You should look at the CoreWLAN framework.  This gives you access to a world of AirPort specific stuff that's not tracked by the System Configuration framework.

<http://developer.apple.com/library/mac/#samplecode/CoreWLANWirelessManager>

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Read airport connection status (From: email@hidden)

  • Prev by Date: Re: SRV Record lookup
  • Next by Date: kCFStreamPropertyFTPFileTransferOffset and Resuming FTP uploads
  • Previous by thread: Read airport connection status
  • Next by thread: need help with tx/rx checksum and tso
  • Index(es):
    • Date
    • Thread