3 rhio communication protocol, 1 overview – SENA Rhio232 User Manual
Page 33
Advertising
33
4.3 Rhio Communication Protocol
In this chapter, it covers how to send/receive the command/reply to/from Rhio device by using
the Rhio communication protocol.
4.3.1 Overview
You can use the Rhio communication protocol to set, control and monitor RHIO.
4.3.1.1 Command Block
START
FLAG
LENGTH
FUNCTION
DATA
LRC
(BCC)
END
FLAG
Byte
Size
1
2
2
N
2
2
Start
of
the
Command
Block,
0x3A
( “:” )
The length from
FUNCTION field
to DATA field
Command
Response
Data
XOR
from
LENGTH
field to DATA
field
CR (0x0D)
LF (0x0A)
Length calculation
LRC calculation
- START FLAG
Start of the command block
0x3A ( “:” )
- LENGTH
The length of the FUNCTION and DATA Fields
- FUCTION
Control/Set/Check/Status Command and Response Code
- DATA
Control/Set/Check/Status data
Advertising