C
ONFIGURATION
C
OMMAND
S
ET
- F
IRMWARE
R
EVISION
2.4.0_
BETA
-
V
ERSION
1.0.0
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:
$PFAL,Cnf.Set,AL0=
IO.BTN.e0=short
:
TCP.Client.Send,48,“Current GPS information “
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 information“)
,
when,
E
user presses short the Button 0 (B1). Once the B1 is short pressed, the
“
IO.BTN.e0=short”
event raises.
Alarm declaration:
$PFAL,Cnf.Set,AL0=
GPS.eFix=invalid
:
GSM.SMS.Send,“+49123445“,0,“location invalid“
A
Or send a SMS to the predefined phone number
(GSM.SMS.Send,“+491234“,0,“location unknown“)
,
when
E
MAMBOII fails to acquire its GPS location (Once the MAMBOII unit fails to acquire its GPS location the
“
GPS.eFix=invalid
“
event raises)
A
-
command (action) to be executed, when
E
-
raised event.
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 <
field will be executed, once the
conditions specified in the
field result true. Based on 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
,AL<index>”
command. You can combine
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
MAMBOII Configuration Examples”
,
page
Parameter Description
<index>
It specifies the alarm index to be configured. The index <
> is a number,
which can be set to a value from
0
to
99
. The number of indices depends on the
This confidential document is a property of FALCOM and may not be copied or circulated without previous permission.
Page 207 of 271