ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By mharizanov
#38528
ToSa wrote:I'm using 1.5 right now. Will recompile with 1.3 and report back if that solved the issues.

Curious if that worked for you or is it just me..
User avatar
By Sprite_tm
#39472 If you have had trouble with the 1.5 SDK and captive portals, can you retry the latest Git branch? Seems something changed around 1.4/1.5 and I fixed it in the latest set of commits.
User avatar
By mharizanov
#39480 @Sprite_tm latest git did the trick. Just removed a "to" suffix to espconn_send, not sure why you had it there.

remot_info *remInfo=NULL;
//Send data to port/ip it came from, not to the ip/port we listen on.
if (espconn_get_connection_info(conn, &remInfo, 0)==ESPCONN_OK) {
conn->proto.udp->remote_port=remInfo->remote_port;
memcpy(conn->proto.udp->remote_ip, remInfo->remote_ip, sizeof(remInfo->remote_ip));
}
espconn_sendto(conn, (uint8*)reply, rend-reply);