esp32-xbee
esp32-xbee copied to clipboard
Socket client restart loop
Hello, I am trying to establish communication with an ESP32 as socket client and another one as socket server. However, the socket client always restarts with the following reason:
$PESP,WIFI,STA,IP,192.168.1.177/24,192.168.1.251*5A
$PESP,SOCK,CLI,TCP,CONNECTING,192.168.1.149:23*2C
$PESP,SOCK,CLI,TCP,CONNECTED,192.168.1.149:23*6D
$PESP,SOCK,CLI,TCP,DISCONNECTED,192.168.1.149:23*33
$PESP,SOCK,CLI,TCP,CONNECTING,192.168.1.149:23*2C
$PESP,SOCK,CLI,TCP,CONNECTED,192.168.1.149:23*6D
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:1396
load:0x40078000,len:10956
load:0x40080400,len:3360
0x40080400: _init at ??:?
entry 0x4008060c
$PESP,INIT,START,v0.5.2-16-g674b108-dirty,PANIC*09
The connect message is received from the socket server. I can also send single characters back and forth between the ESPs. But the socket client esp always restarts
Best Regards