C
ONFIGURATION
C
OMMAND
S
ET
- F
IRMWARE
R
EVISION
2.4.0_
BETA
-
V
ERSION
1.0.0
operations of the FLASH memory, it is not recommended to use configuration
parameters within alarms – but when they are used, only one parameter name
(CNF.Set,<parameter_name>)
is allowed per alarm and it should be entered last,
otherwise all commands following that parameter are interpreted as part of
parameter settings)
.
See also examples below.
Not allowed:
$PFAL,CNF.Set,AL1=IO.BTN.e1=short:
CNF.Set,GPRS.AUTOSTART=1
&IO.Beep3=hpulse,1000
This alarm only overwrites GPRS.AUTOSTART setting with
GPRS.AUTOSTART=1&IO.Beep3=hpulse,1000
when BTN1 is short-pressed.
Allowed:
$PFAL,CNF.Set,AL1=IO.BTN.e1=short:IO.Beep3=hpulse,1000&
CNF.Set,GPRS.AUTOSTART=1
This alarm generates a beep tone and overwrites GPRS.AUTOSTART setting with
GPRS.AUTOSTART=1
when BTN1 is short-pressed.
The commands/alarms within the action field will NOT be executed in the same
order as they are specifie
d.
Timers and Triggers have more priority. Therefore, it is
recommended to combine these actions in such a way that no false alarms are
being executed.
To specify an action, please, refer to chapter
.
Except the read commands, which can be used to read the system states, all other
command within this chapter can be set as alarms without leading the “$PFAL,”.
The syntax to define several actions (commands) is:
How
to set/get AL configuration:
Set configuration
$PFAL,Cnf.Set,AL0=Sys.Device.eStart:IO.LED1=hpulse,1000
$PFAL,Cnf.Set,AL1=IO.BTN.e0=long
:
GSM.SMS.Send,"+491234567",8,"AL1 SMS"
$PFAL,Cnf.Set,AL2=IO.BTN.e0=short:GSM.VoiceCall.Dial,”+4912345678”
$PFAL,Cnf.Set,AL3=GPS.Nav.eFix=valid:IO.LED1.Green=cyclic,1000,1000
….
$PFAL,Cnf.Set,AL99….
Get configuration
$PFAL,Cnf.Get,AL0
$PFAL,Cnf.Get,AL1
$PFAL,Cnf.Get,AL2
$PFAL,Cnf.Get,AL3
….
$PFAL,Cnf.Get,AL99
Notes
•
Please, consider the permanent release of actions when you specify the
<
> field, if it includes only state conditions.
•
When an action will be released, the corresponding event or state (if it is
specified) is also called by the internal firmware.
•
If the MAMBOII device is configured to release an action via SMS, please,
consider that the maximum length of SMS text
<text>
is predefined up to 160
characters using the 7-bit GSM coding scheme.
This confidential document is a property of FALCOM and may not be copied or circulated without previous permission.
Page 211 of 271