User Guide
116 | 127 © 2021 LeddarTech Inc.
Example 2: Get Detections From a Connected Sensor
Before receiving detections from the sensor, unlock the data server to send detections.
The host sends a “Set sensor data level” request to the connected sensor via the configuration server to get detections data. The host sends this request
to the connected sensor through a TCP connection type to the configuration server.
Fig. 79: Host sends a request to unlock data server
Table 51: Set sensor data level request packet
Item
Value
Request header
Server protocol version
Configuration server protocol – Version 2 = 0x0002
Request code
CFG_REQUEST_SET = 0x0003
Request size
20 bytes = 0x00000014
Element header
Element code
ELEM_DATA_LEVEL = 0x106E
Element count
1 element = 0x0001
Element size
4 bytes = 0x00000004
Element data
ELEM_DATA_LEVEL field
Activate segment raw detections = 0x00000010
Sensor
Host
Configuration
request packet
Configuration
server (TCP)
Data server (TCP
or UDP)
Identification
server (TCP)