Page 6 of 52
V.
Blackout Periods
The console will not process commands when it is in any of the Setup screens (except the first:
"Receiving From…"). It will also not process commands when the console is in a number entry
mode (e.g. setting an alarm value).
Similarly, when a Download is in progress, the console will not respond to key presses and will
not receive data packets from remote sensors.
VI.
Command Formats
The command strings given in the following sections must be followed by a Line Feed characters
(‘\n’ or 0x0A or decimal 10) before the console will execute the command.
Command parameters are shown with “<parameter name-decimal>”, “<parameter name-hex>”,
or “<parameter name-binary>”. For the –decimal and –hex parameters, substitute an ASCII
string. For the –binary parameters, send the character value.
Please note that using the correct number of spaces is very important. For example the command
"LOOP <number of LOOP packets to send-decimal>"
should be realized with
the string
"LOOP 4"
.
There are several different types of command responses. These responses come before any other
returned data values.
1.
ACK response: when this command is recognized, the console responds with an ASCII
ACK (0x06) character. If the command parameters are invalid, a Not Acknowledge
response of (0x21) is used. If a block of data is sent with a CRC code, the response
CANCEL (0x18) means that the data did not pass the CRC check.
2.
“OK” response: when this command is recognized, the console responds with the
character string “\n\rOK\n\r”.
3.
“DONE” response: Some commands take some time to complete their operation. For
example the command “CLRGRA” will clear all the console graph points. The Vantage
will respond with an “OK” when it receives the command, and “DONE” when it is
finished. Do not attempt to send any commands to the console until the “DONE\n\r”
response has been received.
VII.
Command Summary
1.
Testing commands
"TEST"
Sends the string “TEST\n” back.
"WRD"<0x12><0x4d>,
ACK
Responds with a weather station type that is backward compatible with earlier Davis weather products.
"RXCHECK"
Sends the Console Diagnostics report.
"STRMON"
Echos all of the data packets sent by sensor transmitters.