0 Replies Latest reply: May 3, 2012 11:36 PM by pranitha p belavadi
pranitha p belavadi Level 1 (0 points)

Hi i am using the following in my code to get SSID

    CFMutableDataRef ssid;

    ssid = CFDataCreateMutable(kCFAllocatorDefault, 0);

    if (Apple80211Get((Apple80211Ref)wref, APPLE80211_IOC_SSID, 0, ssid, sizeof(ssid)) != kA11NoErr) {

          printf("Returning Null from Apple80211Get of SSID\n");






could anyone please tell me what may be the reasons Apple80211Get returning in some error.. what are all the conditions and how to come out of it.. because I could get the SSID and not even the BSSID even when my en1 is connected and I am binding my en1 interface only as referred in wireless.c

http://opensource.apple.com/source/eap8021x/eap8021x-100/eapolclient.tproj/wirel ess.c .. could anyone please guide me.. thanks in advance.. 

Mac Pro, Mac OS X (10.6.8), development