Data Sheet
© RFbeam Microwave GmbH
|
Schuppisstrasse 7
|
CH-9016 St. Gallen
|
www.rfbeam.ch
|
K-LD7
|
data sheet 12/2020 - Revision B
Page 13 / 23
INSTRUCTION SET DESCRIPTION
Hardware Layer
The hardware layer is based on a simple UART
connection with a configurable baud rate. The sensor
always starts up with its default baud rate. The default
baud rate can be changed over the INIT command as
described in the chapter Connection.
Application Layer
Client-Server
Figure 11: Client-Server model
Server
(Radar)
Client
(Host)
Command
Message
The communication is based on a client-server
model. There are two types of packets transmitted.
Commands are sent from client to server and messa-
ges are sent from server to client.
Handshaking
Figure 12: Handshaking
Server
(Radar)
Client
(Host)
Command
RESP (OK, error)
Every command sent by the client is acknowledged
by the server with a response message (RESP). The
response message includes information data about
the success or failure of the received command.
Connection
Figure 13: Connection
Server
(Radar)
Client
(Host)
INIT (baudrate)
Baudrate
(115200)
GBYE
RESP
RESP (OK, error)
[…]
Connected
New Baudrate
No connection
Baudrate
115200
The server starts up with a default baud rate of
115200 baud. The client has to establish a connec-
tion with the INIT command and has to set the baud
rate for the connection. After acknowledging of the
INIT command the server changes to the selected
baud rate.
To disconnect, the GBYE command has to be sent by
the client. After acknowledging the GBYE message
the server changes back to his default baud rate.
Table 8: Default serial connection settings
Parameter Configuration
Baud rate 115200
Data bits 8
Parity Even
Stop bits 1
Flow control None