netconns contra sockets in wifi:bcn_timeout
Posted: Sat Nov 04, 2017 6:24 pm
I ( and others) have problems that after a number of messages "wifi: bcn_timout,ap_probe_send_start" appears and the connection is closed.
(see post viewtopic.php?f=13&t=3451)
A second problem is that the only way to reconnect is to reboot.
see https://github.com/espressif/arduino-esp32/issues/653
I noticed that when i use sockets the timeout happens after about 60 messages.
Using netconns it keeps running for more than 2700 messages.
What causes this difference?
I included my eclipse (non arduino) project, with the website build in. Every 50ms a CGI request is made. The latest idf is used, older idfs have the same problem.
It can be configured for netcons/ sockets with the define "NETCONS" in httpserver.c
Dig
(see post viewtopic.php?f=13&t=3451)
A second problem is that the only way to reconnect is to reboot.
see https://github.com/espressif/arduino-esp32/issues/653
I noticed that when i use sockets the timeout happens after about 60 messages.
Using netconns it keeps running for more than 2700 messages.
What causes this difference?
I included my eclipse (non arduino) project, with the website build in. Every 50ms a CGI request is made. The latest idf is used, older idfs have the same problem.
It can be configured for netcons/ sockets with the define "NETCONS" in httpserver.c
Dig