Technical information
SimradEK60
AliveReport
ThecontentoftheAliveReportmessageisshownbelow.
structAliveReport
{
charHeader[4];//”ALI\0”
charInfo[1024];//e.g.”ClientID:1,SeqNo:1\0”
};
TheInfoeldinanAliveReportmessagefromtheclienttotheservermaycontain(for
example):
ClientID:1,SeqNo:1\0
SeqNo
TheSeqNopartoftheInfoeldshallcontainthesequencenumberofthenextrequest
messagefromtheclienttotheserver(thesequencenumbershallstarton1).Theserver
willusethistodetectifanymessagesfromtheclienthavebeenlost,ifalossisdetected,
theserverwillissueare-transmitrequesttotheclient.TheAliveReportDefmessagefrom
theservertotheclientmaycontain(forexample):
SeqNo:1\0
Similar,theSeqNopartoftheInfoeldshallcontainthesequencenumberofthenext
responsemessagefromtheservertotheclient.Theclientapplicationcanusethisto
detectifanymessagefromtheserverislost,andmaythenissueare-transmitrequest
totheserver.
Issuecommandsontheserver
Onceconnected,thefollowingmessagesareusedtoissuecommands.
Request
ARequestmessagemustbesenttotheserverapplicationinordertoissueacommandon
oneoftheavailablecommandtargetsintheserverapplication.Anexampleofthemain
elementsofacommandrequestisshownbelow.
structRequest
{
charHeader[4];//”REQ\0”
charMsgControl[22];
//Sequenceno,Currentmsgno,Totalmsgno
charMsgRequest[1400];
//XMLbasedcommandrequest
};
MsgControl
TheMsgControleldconsistsofthefollowingparts:
•Sequencenumber:incrementsforeachrequestmessagesenttotheserver.
•Currentmessage:containsthecurrentmessageincasearequestmustbesplitinto
severalUDPmessages.
•Totalmessage:containsthetotalnumberofmessagesthecurrentrequestconsistsof.
204
164692/D










