Simrad ER60 - REV B Operator's Manual page 159

Scientific echo sounder application
Table of Contents

Advertisement

850-164692 / Rev.B
The server application will respond with a Response message.
The Subscribe method has the following output parameters.
Parameter name
SubscriptionID
An example of the contents of the Response field of a
Subscribe command to the RemoteDataServer is shown
below.
<response>
<clientInfo>
<cid dt="3">1</cid>
<rid dt="3">1</rid>
</clientInfo>
<fault>
<detail>
<errorcode dt="3">0</errorcode>
</detail>
</fault>
<SubscribeResponse>
<subscriptionID dt="3"></ subscriptionID >
</SubscribeResponse>
</response>
Handling data
Data from the RemoteDataServer are wrapped in a
ProcessedData structure.
struct ProcessedData
{
char Header[4];
// "PRD\0"
long SeqNo;
// Sequence number of the current
// UDP message
long SubscriptionID;
// Identification of the current data
unsigned short CurrentMsg;
// Current message number
unsigned short TotalMsg;
// Total number of UDP messages
unsigned short NoOfBytes;
// Number of bytes in the following
// Data field
unsigned short Data[];
// Actual data
};
Data interfaces
Description
The identification of the current
subscription -- can be used to
differentiate between multiple
subscriptions on the same port.
151

Advertisement

Table of Contents
loading

This manual is also suitable for:

Er60

Table of Contents