Am using MQX 4.02 with the Atheros wifi patch, connecting via Wifi Ad-hoc mode to a PC. Firmware is running on K60M100, and I am communicating well over wifi. However, several tasks in my project need to know whether or not there is a wifi connection, particularly when the connection is lost and I need to time out gracefully from an FTP or telnet session. It looks like the wifi setup uses ATH_SET_CONNECT_STATE_CALLBACK which I presume gets call on connection state changes. In my case the function WifiConnected does get called, but not at times corresponding to conenction / loss of connection.
Any pointers to where I can determine the current wifi connection state would be most appreciated.
cheers,
Chris