Every time when I will try to transmit from KLINE via TCP (IP RAW layer), then LWIP appears to crash on ECU response of 1A9B.
First I was experiencing this:
Then after I have increased memory of tcpwsraw_thread from 4096 to 8192 bytes, error has changed on
----
E (23908) Task_Tcp_Wireshark_Raw.c: Error occurred during sending: errno 5
W (23908) Task_Tcp_Wireshark_Raw.c: Socket closed
assert failed: lwip_netconn_do_delconn IDF/components/lwip/lwip/src/api/api_msg.c:1161 (netconn state error)
Backtrace:0x40375b8e:0x3fce1b500x4037c9f1:0x3fce1b70 0x4038342d:0x3fce1b90 0x4202ac13:0x3fce1cb0 0x42017fd5:0x3fce1cd0 0x42018078:0x3fce1cf0 0x4037fc35:0x3fce1d20
I am not sure what exactly is a cause. It might be related to length of a TCP packet. I will need to better pinpoint it and see if it is the issue on ISO15765 and VWTP2.0 and on older ESP32
Every time when I will try to transmit from KLINE via TCP (IP RAW layer), then LWIP appears to crash on ECU response of 1A9B. First I was experiencing this:
Then after I have increased memory of
tcpwsraw_thread
from 4096 to 8192 bytes, error has changed onI am not sure what exactly is a cause. It might be related to length of a TCP packet. I will need to better pinpoint it and see if it is the issue on ISO15765 and VWTP2.0 and on older ESP32