Fixing the code to work under SDK 0.9.4. This commit should work.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user