PAN9420 detection of disconnection
We are migrating from withdrawn SPWF04 to a new module, so we started to test PAN9420. The netcat connection mechanizm works excellently. I got communication with the server and the data was transferred in both directions.
The problem is how to detect that the connection to server was lost ?
It is a key feature because our transmission protocol assumes the numbering of each frame, and after disconnection from server the data stream is redirected to the SD card, and then the handshake is necessary on reconnection.
I have tried periodic checking: "get netcat status", but it does't work well. It overlook short disconnections and even has no idea that the AP WAN cable has been disconnected...