User's Manual
CHAPTER 3
Operations at the Application Level
29
delay
Interruption delay is 7200 seconds
OK
SET ECHO/NOECHO
This command is deprecated in emu3ap. It has been included for
compatibility purposes, but always returns OK. The behavior of the
emu3ap software is that ECHO is always on. You can also PING
and REQUEST data even for devices that are not shown in the
devices list.
Data Commands
This category included commands that return data from the
remote stations. The data collected from the stations is stored in
the on-board FIFO memory; it can be retrieved based on the sta-
tion ID and the time stamp. This means that if specific data was
retrieved, it can be retrieved again later as long as an appropriate
command is given. The data is stored in frames for each station
and each time slot (that is, every 15 minutes). The data can be
retrieved in any order, each device having its own internal pointers
managed by the system. As new data comes in, the old data is
overwritten; a “garbage collector” takes care of that. The com-
mand that allows this data retrieval is presented below.
GETBLOCK
DESCRIPTION Returns a block of data found at the current position of the pointer,
for the specified device. If a date/time parameter is supplied, GET-
BLOCK searches and positions the internal pointer on that date/
time before returning the data block.
PARAMETERS The device ID and, optionally, the date/time parameter.
RETURNS A string of data depending on the device type, or an error mes-
sage. Some important error messages are 14 (no more data) and
15 (radio communication temporary breakdown). The latter means
that data might come later if the communication is reestablished.
REMARKS The number of concatenated frames in a block depends on the
frame length (the maximum is 1024 bytes in a block). The bytes are
sent without spaces, but with leading zeros if necessary.
EXAMPLE getblock 2006 25/5/2000 15:15:0
1905640F11361509DFC9F8000057AB7F0F1A006702AB7F0F0100
6F021905640F20361509D7C4F8000056A9830F19005B02A9830F
010060021905640F2F361509C9B2F8000056AA800F1A006B02AA