Keep connection alive
Once the client application on the local computer is connected to the server application on the EK80 Processor Unit, a two-way monitoring of the communication status must be started. Both the client and the server applications must send the AliveReport message once every second.
Note
In this context the EK80 Processor Unit is regarded as the "server". The EK80 program is the "server application". The program you make yourself for running on a local computer is referred to as the "client application".
AliveReport
The content of the AliveReport message is shown using C-code.
struct AliveReport
 {
  char Header[4]; // ”ALI\0”
  char Info[1024];
  //The Info field
may for example contain text on the following format: ClientID:1,SeqNo:1\0
 };
SeqNo
The SeqNo part of the Info field shall contain the sequence number of the next request message from the client application to the EK80 server. The sequence number shall start on 1. The client application uses this information to detect if any messages have been lost. If data loss is detected, a re-transmit request issued.
The AliveReportDef message from the EK80 to the client application may for example contain:
ClientID:1, SeqNo:1\0
Similar, the SeqNo part of the Info field shall contain the sequence number of the next response message from the EK80 server to the client. The server application uses this information to detect if any messages have been lost. If data loss is detected, a re-transmit request issued.