RA8M1 AWS Ethernet: Connection Fails After Idle Period – How to Maintain or Recover Connection

Hi everyone,

I have modified the AWS Ethernet code for the RA8M1 board to send data to my custom server. Everything works perfectly when the data is being sent regularly — the connection is stable and the data is transmitted successfully.

However, I encounter an issue when the system remains idle (i.e., no data is sent to the server) for a certain period. After this idle period, when I attempt to send data again, I face an error:
<No-Low-Level-Code>

It seems like the connection is getting lost or timing out during the idle time. I'm looking for a solution to either keep the connection alive or re-establish it automatically before sending new data.

Has anyone faced a similar issue? What would be the best approach to handle this scenario in FreeRTOS with the AWS Ethernet stack on RA8M1?

Thanks in advance for your help!