Hello,
I'm running into some issues currently which I cannot explain.
Firstly, I am not getting the expected callbacks after calling wlan_connect(). This could be an issue with my setup, but since my phone can connect to the AP OK, I am not sure this is the case. In addition to this, it often seems like by briefly removing the power from the device, things improve.
The main concern I have at the moment it wlan_disconnect() is not providing a reply.
My code behaves as follows:
- wlan_connect()
- wait for callbacks
- callbacks OK:
- continue
- callbacks not received:
- wlan_disconnect()
- wlan_stop()
- callbacks OK:
I am still using 1.11.1. I have attached a Saleae trace of this problem. It can be seen that after calling disconnect there is no more activity on the SPI line.
Any reason as to why this might be failing? Are there any internal states for connectivity that continue to exist between wlan_stop() calls?
Saleae: https://dl.dropboxusercontent.com/u/2866686/wlan_disconnect.logicdata