5: Serial Port Configuration - Sena HelloDevice LS100 User Manual

Hellodevice lite series
Table of Contents

Advertisement

5: Serial Port Configuration

To attach the serial device to the LS100 serial port, its serial port operation should match exactly to
that of the serial device. Serial port configuration parameters are summarized in Table 5-1.
Parameter
Baud rate
Data bits
Parity
Stop bits
Flow control
DTR option
DSR option
Inter-character timeout
To configure serial port parameters, use 'set' command as follows:
set
serial
baudrate
interchar_timeout(ms)
where,
baudrate: 1200, 2400, 4800, 9600, 19200, 38400, 57600, or 115200
data_bits: 7=7-bits / 8=8-bits
parity: n=none / e=even / o=odd
stop_bits: 1=1-bit / 2=2-bits
flow_control: n=none / h=hardware
dtr_option: h=always high / l=always low / s=show tcp connection
dsr_option: n=none / a=accept only by high / o=open,close TCP connection
interchar_timeout: inter-character timeout value in milliseconds
The factory default settings of baud rate, data bits, parity and stop bits are 9600, 8 data bits, No-
parity and 1 stop bit respectively. Among the serial configuration, there are three serial modes the
LS100 does not support. The LS100 does not support 7 data bits, No parity, 1 stop bit configuration. In
this case, the LS100 will operate as 7 data bits, No parity, 2 stop bit mode. In case the LS100 is
configured as 8 data bits, Even(or Odd) parity, 2 stop bits mode, the LS100 will operate as 8 data bits,
Even (or Odd) parity, 1 stop bit mode.
The factory default setting of the flow control is None. Only hardware flow control using RTS/CTS is
Table 5-1. Serial Port Configuration parameters
Values
1200, 2400, 4800, 9600, 19200, 38400, 57600, or 115200
7 bits or 8 bits
None, Even or Odd
1 bit or 2 bits
None, Hardware (RTS/CTS)
Always HIGH, Always LOW, or Show TCP connection
None, Accept TCP connection only by HIGH, or
Open/Close TCP connection
Inter-character timeout value in milliseconds
data_bits
parity
stop_bits
37
flow_control
dtr_option
dsr_option

Advertisement

Table of Contents
loading

Table of Contents