Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - UNKNOWN COMMAND as reply from wpa_ctrl_request(cntrl,"SCAN"): Page 1 of 5 (5 Items)
   
UNKNOWN COMMAND as reply from wpa_ctrl_request(cntrl,"SCAN")  
Hi All,

I am new to QNX and WIFI. I am trying to open interface for wpa_supplicant and SCAN for APs.

I am able to open interface with  wpa supplicant through wpa_ctrl_open("/var/run/wpa_supplicant") successfully.
I sent "PING" command to WPA supplicant using wpa_ctrl_request() I got PONG as reply(I assume WPA supplicant is up and 
parsing commands).

But when I sent "SCAN" command reply was "UNKNOWN COMMAND".
can any one suggest what might be the problem?

Thanks in advance
Darshan