Simrad ER60 Operator manual
148
<method>
<yy>
<zz></zz>
</yy>
</method>
</request>
Where:
• clientid is client identification
• requestid is request identification
• xx is the name of the current command target
• yy is the name of the current method
• zz is any parameters of the current method.
Response
The server application will respond with a Response message as
shown below.
struct Response
{
char Header[4];
// "RES\0"
char Request[4];
// "REQ/0"
char MsgControl[22];
// Sequence no, Current msg no, Total msg no
char MsgResponse[1400];
// XML based response text containing result
// of command request
}
The contents of the Response depend on the current command
target and will be described in detail later. For the moment it is
enough to say that the format of the response is XML based and
that the response contains the result, any error messages, and
any output parameters relevant for the current method. The
general structure of a response is shown below.
<response>
<clientInfo>
<cid dt="3">clientid</cid>
<rid dt="3">requestid</rid>
</clientInfo>
<fault>
<detail>
<errorcode dt="3">0</errorcode>
</detail>
</fault>
<yyResponse>
<zz dt="3"></zz>
</yyResponse>
</response>
850-164692 / Rev.B