Fixing the code to work under SDK 0.9.4. This commit should work.

This commit is contained in:
Jeroen Domburg
2014-12-22 18:55:20 +01:00
parent e56fdc4d6a
commit 876a68a67d
7 changed files with 64 additions and 22 deletions
+9
View File
@@ -76,3 +76,12 @@ WRITING CODE FOR THE WEBSERVER
the SDK works, this shouldn't be too hard :P
CHANGE FROM SDK 0.9.3 (and earlier) TO SDK 0.9.4:
Change all occurences of
espconn_sent(connData->conn, (uint8 *)buff, len);
to
httpdSend(connData, buff, len)
please. The reason for this is that you can't do multiple espconn_sent calls serially anymore, so
httpd needs to buffer the writes now.