L3Harris NARDA AMS-8061 User Manual page 194

Area monitor selective
Table of Contents

Advertisement

5.6.3 Configuration
(read)
Pos
Name
Size
Byte
0
ChkSum
2
2
idstation
34
36
Mask
2
alarm
38
Reserved
1
39
AvgRms
1
40
MaxThr
4
44
WarnThr
4
48
Logger
1
49
reserved
1
50
Naver
2
52
GPRS
2
Appoint
54
GPRS
1
Ton
5-26
SMS Messages and Commands
Whenever the AMS-8061 connects to GPRS and accesses to FTP, it looks
for a file named 8061.CFG in its directory (its serial number). If the file is
present, the AMS-8061 retrieves it and calculates the checksum in order to
use it and thus get the new configuration. If the checksum is wrong, the file
is discarded otherwise the new configuration is taken.
Is important to note that the new setting will not take effect immediately but
only after the connection is closed.
All figures are Little Endian notation unless differently specified.
The structure of the configuration file is as follows.
Type
Description
Unsigned int
Check sum (see the related paragraph)
Char
The name of Station. This is a null terminated string.
Unsigned int
The mask of Alarm is a bit mask where '1' means Alarm
Enabled while '0' is Alarm Disabled. Here is a list alarms.
Being Bits this is
0x0001-> MAX threshold Field OUT.
BIG endian
0x0002-> Warning threshold Field OUT.
0x0010-> LOCK OUT.
0x0080-> Low Battery Voltage OUT
0x0004-> Antenna OUT
0x0020-> Temperature
0x0040-> Relative Humidity
0x0008-> MAX threshold Field IN.
0x0100-> Warning threshold Field IN.
0x0400-> LOCK IN.
0x0800-> Low Battery Voltage IN
0x0200-> Antenna IN
Unsigned char
None
Unsigned char
The way of averaging. If 'AvgRms' is 0 then is arithmetic
average otherwise is Root Mean Square
Float
A little endian floating point figure that represents Max
threshold used for Alarm.
Float
A little endian floating point figure that represents
Warning threshold used for Alarm.
Unsigned char
This parameter sets the rate of the logger as follows
"1" ->1 minute
"2" ->2 minutes
"3" ->6 minutes
"4" ->15 minutes
Unsigned char
None
Unsigned int
This parameter represents the averaging time for
Warning and Alarm threshold. It is expressed as 4 times
the averaging time. For example a 6 min time is reported
as 24
Unsigned int
This parameter represents the scheduled time for
connecting to GPRS of the day. It is expressed in
minutes elapsed since midnight.
For example the schedule 12:30 would be (12*60)+30
=750
Unsigned char
This parameter represents the time the GSM remains
ON after a GPRS connections. It is expressed in quarter
of hour.

Advertisement

Table of Contents
loading

Table of Contents