Chapter 7 ___________________________________________________ Getting the data messages
VAISALA________________________________________________________________________ 41
Example of the response (the parameters included can be chosen from
the full parameter set of the commands aR1, aR2, aR3 and aR5):
0R0,Dx=005D,Sx=2.8M,Ta=23.0C,Ua=30.0P,Pa=1028.2H,Hd
=0.00M,Rd=10s,Th=23.6C<cr><lf>
For selecting the parameter set in the response message, see Chapter 8
Sensor and data message settings
.
ASCII protocol, polled (with CRC)
Use the same data query commands than in the previous sections but
type the first letter of the command in lower case and add a proper 3-
character CRC before the command terminator. Also the response
contains a 3- character CRC. More information about CRC-
computation in Appendix C.
The following example of the command is used to request a wind data
message with a CRC.
Command format:
ar1Goe
<cr><lf>
where
a
=
Device address (default = 0)
r1
=
Wind message query command
Goe
=
three character CRC for ar1 command
<cr><lf>
=
Command terminator
Example of the response
(the parameter set is configurable):
0r1,Dn=236D,Dm=283D,Dx=031D,Sn=0.0M,Sm=1.0M,Sx=2.2MLFj<c
r><lf>
where three characters before the <cr><lf> are the CRC for the
response.
Likewise the query commands for other parameters are:
Pressure, humidity and
temperature message query
=
ar2Gje<cr><lf>
Precipitation query
ar3Kid<cr><lf>
Supervisor query
ar5Kcd<cr><lf>
Combined message query
arBVT<cr><lf>
Composite message query
ar0Kld<cr><lf>