Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By brGiba
#32816 Hi Mr. kolban,
how can I change this value in Arduino IDE sketch? Is possible or is only available in direct programming or Lua? My nodeMCU Arduino disconnects from a AP router after one minute in silence. Is possible make a call in a arduino sketch?

extern "C" {
#include "espconn.h" // this can be done in this way?
}
#include <ESP8266WiFi.h>
.
setup(){
espconn_regist_time(???, 7200, 0) ; // how to setup this call?
.
.
.
loop(){
}



Thanks in advance.

Gilberto
User avatar
By Dmitry Sheremet
#45479 Same problem, but in my case connection fails after 30sec idle. We develop software for POS terminals with ESP8266. To communicate with ESP8266 we use AT-commands. I haven't found in documentation any AT-command to configure TCP client timout or idle values, there's only command AT+CIPSTO for TCP server timeout configuration. Is there a way to configure TCP client idle or timeout values with AT-commands?
Thank You.