this is using the mbed os version 5-13-1
Diff: source/WiFiManager.cpp
- Revision:
- 101:1cfd468e5009
- Parent:
- 100:80ef4bc31b7a
- Child:
- 102:9748f290a1a5
--- a/source/WiFiManager.cpp Mon Apr 22 18:34:31 2019 +0000
+++ b/source/WiFiManager.cpp Mon Apr 22 19:36:31 2019 +0000
@@ -725,6 +725,13 @@
// create message pointer for response header generation
char * msgPtr = (char *)at_data_resp->buffer;
// do status line
+ int wait_cnt = 0;
+ while(http_response == NULL && wait_cnt<100)
+ {
+ printf("[WIFI-MAN] response pointer NULL waiting for %dms so far!!\r\n", 10*wait_cnt++);
+ wait_ms(10);
+ //return false;
+ }
if(http_response == NULL)
{
printf("[WIFI-MAN] copy failed: response pointer NULL!!\r\n");