User manual

56 P/N 54A0028-2 012017© 2017 LeddarTech Inc. Printed in Canada. All rights reserved.
Table 36: Answers serial port settings field
Offset
Length
Description
0
1
Logical serial port number
1
4
Baud rate, supported rates:
9,600
19,200
38,400
57,600
115,200
5
1
Date size: 8 = 8-bit size
6
1
Parity:
0 = None
1 = Odd
2 = Even
7
1
Stop bit:
1 = 1 stop bit
2 = 2 stop bits
8
1
Flow control: 0 = None
9
1
Modbus address: 1 through 247
10
1
Max. echoes per transactions. Used for the Get Detection
command (function code 0x41), max. of 40 echoes.
11
2
Distance resolution:
1 = m
10 = dm
100 = cm
1,000 = mm
NOTE: This answer table is repeated by the number of available serial port.
Set serial port settings (function code 0x45, 0x01)
Table 37, Table 38 and Table 39 present the requests and answers for the set serial
port settings.