• | Create a subscription. |
• | Create a communication endpoint. |
• | Add the subscription to the endpoint. |
1 | Start EK80 in Normal or Replay operating mode. |
2 | Acquire the Channel ID for the appropriate channel. Note
The Channel ID name may differ when using Normal mode versus using Replay mode, depending on the raw file.
|
3 | Create the data subscription. There are several output subscriptions available. As an example bottom detection is used in this procedure. /api/sounder/data-output/bottom-detection-subscriptions
{
"channel-id": "WBT 582156-15 ES120-7C_ES",
"settings": {
"upper-detector-limit": 10,
"lower-detector-limit": 1000,
"bottom-back-step": -50
},
"subscription-name": "BottomDepth",
"subscriber-name": "ClientPC"
}
|
4 | Create a new communication endpoint.
|
5 | Send a request to add the subscription to the endpoint. Add a subscription to the communication end point
/api/sounder/data-output/communication-end-points/{endPointId}/data-subscriptions
Use the communication-end-point to fill in endPointId. {
"subscription-id": 1,
"data-serialization": "protobuf"
} Open the Example Value and right-click in the structure. This copies the structure into the specifications field for the request.
Fill in the subscription-id.
The plan is to provide the subscribed data as C structure ("c-struct") and/or according to the Protocol Buffer standard ("protobuf").
Note
Protocol Buffer (protobuf) is a Google mechanism for serializing structured data.
|
6 | Select Try it out!. The subscription is now connected to the endpoint and the port for the endpoint will provide data output for clients to use.
|