Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - wpa_ctrl_request problems: (1 Item)
   
wpa_ctrl_request problems  
Hello all, 

I am new to the forum, so I hope not to broke a rule or sth.

I am developing an application for WiFi connecting. I am using wpa_ctrl interface. Everything worked fine until there 
was a need to poll the connection status on every 5 seconds.

I am using two instances of wpa_ctrl_open, one for sending and receiving messages and one attached for receiving 
asynchronous messages.
For the secured networks everything seems to be fine, but for unsecured networks the communication at some point crashes
 and after that nothing using socket communication seems to work. The return value for the last wpa_ctrl_request command
 before the crash is "-2" for time out. I suppose it is related to the repeated reassociation with the unsecured access 
point. Probably too many requests or sending and receiving messages between my application and wpa_supplicant, which 
seems not to logical. I assume it is two way communication.

So any help will be appreciate.

I don't think I am the firs one that face such a problem, but I was no able to find such a thread that is already posted
, so link to a similar problem will be in a big help too.

Thanks and Regards
Vladimir