User Guide

104 | 127 © 2021 LeddarTech Inc.
3. The host sends requests (LT_COMM_DATASRV_REQUEST_SEND_ECHOES and LT_COMM_
DATASRV_REQUEST_SEND_STATES).
4. The sensor answers with the corresponding data. See Table 44 and Table 45.
As previously mentioned, the packets transmitted by the data server will consist of a request header followed
by a group of element headers and data. The request code identifies the type of data that is included in the
packet.
See Data Server Requests” on page 105 for a list of generic requests that may be implemented. See
Communication Examples for configuration modification examples.
UDP Data Server
The data server supports one client at a time and is used for real-time data transfer from the device to the
client.
Typically, the data to be sent to the client must be configured through a request to the configuration server
(CFG_REQUEST_SET / ELEM_DATA_LEVEL).
UDP Data Server Protocol Version 3 (0x0003)
This data server protocol is based on the protocol concept B described in “Data Server Requests on
page 105 with the following characteristics:
1. This server uses a UDP socket.
2. The hosts listening port is provided by the configuration server.
3. The sensor sends the corresponding data as soon as it is available.
4. The format of the sent data is identical to a TCP data server answer (see Table 44 and Table 45).
5. The sensor stops sending when the connection with the configuration server is terminated.