
FireLine System Protocol Manual
6
Raveon Technologies Corp.
4.4. AutoStatus
The Auto-Status feature of the FireLine enables it to automatically transmit a packet of status
information. By default, this feature is disabled. When enabled, the FireLine modem will send
status reports to a pre-determined ID (it may be configured to be a different TOID address from
the ID that normal modem data is sent to).
To enable the Auto Status feature, use the
ATAS xxx command, where xxx is the status interval
in minutes. The interval may be between 1 minute and 65000 minutes (45 days).
The general format of the message that the modem will send is:
[an ASCII STX character, 02]
<STATUS>
ATMY=1234
ATVR=
D1
ATDT=
1234
ATVB=
12300
UPTIME=
120
OSERR=
0
PRX=
1295
PTX=
7933
</STATUS>
[an ASCII ETX character, 03]
When a station receives an AutoStatus message it will output the status text via its serial port.
For systems where the AutoStatus messages are sent to the same modem ID as normal data, it
may be challenging to detect the difference between the data traffic on the channel and the
AutoStatus message.
To aid the user or system in detecting the reception of an AutoStatus message as opposed to a
normal data transmission, the standard ASCII Start of Text and End of Text characters are used.
The first character is a Start of Text character. This is followed by the phrase “<STATUS>”.
Each line in the status transmission is terminated with an ASCII carriage return (0D) and line feed
(0A).
As new features are added to the FireLine, there may be new status parameters added. But all
FireLine modems with Revision D or higher firmware support at a minimum, the above shown
status parameters. The status transmission will end with an ASCII 03 character, the End of Text
character.
The parameters passed in the status message are:
ATMY The ID of the modem sending the status.
ATVR The firmware version in the modem
ATDT The ID the modem is programmed to send data to.
ATVB DC voltage, in millivolts of the DC input to the modem.
UPTIME Number of seconds since this modem has turned on.
OSERR The number of Operation System Errors. Normally this is 0.
PRX The number of packets this modem has received.
PTX The number of packets this modem has transmitted.
The ID code that the status information will be sent to, is configured with the
ATMA xxxx
command. Whenever a status transmission is sent, the “TO ID” of the transmission is the
address as set using the
ATMA command. This allows the system to be configured in a way the
normal modem communications take place between the modems, and the status information is
delivered only to modem(s) that need to receive it.
Kommentare zu diesen Handbüchern