File : CS-SUP-MUTI-WTHERMAPP-E01.sxw
6.2 PRINCIPLE OF READING AND WRITING OF INTERNAL PARAMETERS
Document [DR1] details the exchanges modes, and their associated requests; with an aim of sending data to
a distant module.
This chapter details the data field in order to configure the internal parameters of the WaveTherm modules.
DATA Field
1 byte
Max = 151 bytes
REQ_SEND_FRAME
Applicative Commands
Data
RECEIVED_FRAME
Acknowledgement of the
applicative commands
Data
There are two commands used to configure the internal parameters of the WaveTherm modules, and each
one has a corresponding acknowledgement command.
Applicatives
Commands
Description
0x10
Request of parameter(s) reading
0x90
Acknowledgement of the request of parameter(s) reading
0x11
Request of parameter(s) writing
0x91
Acknowledgement of the request of parameter(s) writing
Remark :
In the command byte coding, the Response frame type are taking the Request command byte
value with the MSB bit set to 1.
It is possible to access up to 9 parameters simultaneously for writing or reading
(all for
reading, or all for writing).
➢
Format of access for parameter(s) reading
contents of request REQ_SEND_FRAME
Data Field (max : 152 bytes)
Applicative
command
Number of
parameters
to be read
Number of the
1
st
parameter
Size of the 1
st
parameter
Number of the
2
nd
parameter
Size of the 2
nd
parameter
...
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
...
contents of response RECEIVED_FRAME
Data field (max : 152 bytes)
Acknowledgement
of the applicative
command
Number of
parameters
read
Number of
the 1
st
parameter
Size of the
1
st
parameter
Data of the
1
st
parameter
...
Number
of the n
th
parameter
Size of the
n
th
parameter
Data of
the n
th
parameter
1 byte
1 byte
1 byte
1 byte
variable
...
1 byte
1 byte
variable
n
max
= 9
When a parameter is not known by the system, or the size is configured with a wrong value, the
corresponding data byte in response is set to 0xFF.
WaveTherm modules – application handbook
page 25 of 65