User Guide
110 | 127 © 2021 LeddarTech Inc.
Table 43: struct sLtCommElementAlert
Field Name
Data Type
Description
CODE
uint64_t
Alert code
TIMESTAMP
uint64_t
Alert timestamp in seconds since 00:00:00 UTC
on January 1, 1970
MESSAGE
char[LT_COMM_ALERT_MSG_LENGTH]
Alert default message
CUSTOM_MESSAGE
char[LT_COMM_ALERT_MSG_LENGTH]
Alert custom message
UID
uint8_t
Alert unique ID
PADDING
uint8_t[15]
Reserved
Elements
The following tables define elements referenced in this document. If the element is an array (element count different from 1), the element data type
column provides the data type of a single entry in the array. See section 2 on page 17 for more details.
Table 44: Detection structure (sends echoes)
Element Name
Element
Code
Element Data
Type
Description
LT_COMM_ID_FRAME_ID
0x1092
uint64_t
Unique identifier number for the current detections
LT_COMM_ID_TIMESTAMP
0x1050
uint32_t
Elapsed time in milliseconds (ms) since unit power-up when the detections
occurred
LT_COMM_ID_AUTO_TIMESTAMP64
0x2721
uint64_t
Elapsed time in µs since UNIX Epoch time (00:00:00 on January 1, 1970)
when the detections occurred.
LT_COMM_ID_AUTO_NUMBER_DATA_SENT
0x2501
uint32_t[2]
Index of the first detection sent and the number of detections sent by the
data server. The first channel index is number 99.
LT_COMM_ID_AUTO_ECHOES_DISTANCE
0x2703
uint32_t
Echo distance
LT_COMM_ID_AUTO_ECHOES_CHANNEL_INDEX
0x2700
uint16_t
Index of the echo channel for 3D sensors
LT_COMM_ID_AUTO_ECHOES_AMPLITUDE
0x2702
uint32_t
Echo amplitude
LT_COMM_ID_AUTO_ECHOES_VALID
0x2701
uint16_t
Bit field with various information
LT_COMM_ID_AUTO_ECHOES_TIMESTAMP_UTC
0x2704
uint64_t
Elapsed time in µs since UNIX Epoch time (00:00:00 on January 1, 1970)
when each waveform occurred
LT_COMM_ID_STATUS
0x0004
uint8_t
Status of the ongoing command