The WifiStation.waitConnection(connectOk, 30, connectFail) function will call the connectOK function when it successfully connects. On that function I do a standard HTTP request. So far so good and most of the times works fine.
But what the behaviour that I have is that some times the first HTTP request fails, and the following ones succeed....
So it seems that even after connectOk is called the Wifi connection is not completely established.... but this does not happen always.
Any ideas?