Al<N>= <Conditions>:<Actions> -Set Alarm Configuration - FALCOM MAMBOII User Manual

Table of Contents

Advertisement

C
C
ONFIGURATION
OMMAND
3.2.25.1 AL<n>= <conditions>:<actions> -Set alarm configuration
Parameter syntax
This parameter is intended to set alarms for the MAMBOII device. User-specified
configuration is stored into the FLASH memory, and it will be available all the time
until deleted or overwritten.
The user specified alarms allow the MAMBOII device to react and to perform
different actions under certain conditions. To allow a very flexible but still structured
configuration, each alarm is divided into the conditions and actions, which will be
executed when the condition is true.
For example:
Alarm declaration:
A
MAMBOII will transmit a TCP packet to the connected remote server including the current GPS position of the
device
($PFAL,TCP.Client.Send,48,"Current GPS
E
user presses short the Button 0 (B1). Once the B1 is short pressed, the
Alarm declaration:
A
Or send a SMS to the predefined phone number
E
MAMBOII fails to acquire its GPS location (Once the MAMBOII unit fails to acquire its GPS location the
"GPS.eFix=invalid" event raises)
An event is one that only notifies the system that the particular event happened.
An alarm (AL) may contain up to 5 actions and may have up to 5 conditions. All
conditions may have either an AND-Conjunction or OR-Conjunction. The
command(s)/alarm(s) specified on the
conditions specified in the
configuration settings of supported parameters, some of events and states
specified in any alarm will be automatically called by the system (MAMBO) and
checked if this configuration is exceeded. If no configuration already exists for that
parameter to be handled, the default settings will be continuously checked.
The common alarm Syntax is shown above. The alarm configuration can be sent to
the MAMBOII device using the
several configurations into a single command line, but it is not recommended.
However, the maximum number of characters to be specified in a single command line
is limited to 1500. More then 1500 characters will be ignored.
The command syntax to combine several alarm configurations in a single
command line is:
$PFAL,Cnf.Set,AL<index>=<conditions>:<actions>;Cnf.Set,AL<index>=<conditions>:<actions>;.........
Various examples can be found in chapter
264.
page
Parameter Description
<index>
It specifies the alarm index to be configured. The index <index> is a number,
which can be set to a value from
This confidential document is a property of FALCOM and may not be copied or circulated without previous permission.
S
- F
R
ET
IRMWARE
AL<index>=<conditions>:<actions>
$PFAL,Cnf.Set,AL0=IO.BTN.e0=short:TCP.Client.Send,48,"Current GPS information "
$PFAL,Cnf.Set,AL0=GPS.eFix=invalid:GSM.SMS.Send,"+49123445",0,"location invalid"
-
command (action) to be executed, when
A
E
-
raised event.
<conditions>
"Cnf.Set,AL<index>"
2.4.0_
-
EVISION
BETA
information"), when,
(GSM.SMS.Send,"+491234",0,"location
<actions>
field will be executed, once the
field result true. Based on the
command. You can combine
6.11 "MAMBOII Configuration
0
to 99. The number of indices depends on the
V
ERSION
"IO.BTN.e0=short"
event raises.
unknown"), when
Examples",
Page 207 of 271
1.0.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MAMBOII and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents