objective-cmacoscorewlan

CWInterface returning no data


I try to collect some information about the current state of the CWInterface(connected bssid, available access points...) and send them periodic (every 5-10 sec) via udp to a server.

My Problem is that after some time (between 30 and 50 min in some tests with different collection/sending interval) the CWInterface stops returning data.

What am I doing wrong?

I'm totaly out of ideas...


Solution

  • OK as I already commented my own question I changed the framework from CoreWlan to the private Apple80211.framework.

    This seams to work.

    My Application now runs for about one and a quater hour and scanning every few seconds.

    Two negative points about using Apple80211 are: