C
ONFIGURATION
C
OMMAND
S
ET
- F
IRMWARE
R
EVISION
2.4.0_
BETA
-
V
ERSION
1.0.0
3.2.2 “CNF” command type
This PFAL configuration command is intended to execute/require fast and easy the
system configuration. This configuration setting determines the functionality of your
MAMBOII device and your application to be developed.
With this configuration command, you can:
•
Set device configuration settings (the configuration stored into the FLASH
memory can get partly erased if the size of the new firmware loaded into
FLASH is greater than the size of the memory assigned for the firmware).
•
Get current parameter configuration
•
Show user modified/added parameters
•
Show configuration settings of all used parameter
•
Show default configuration settings
•
Search for a configuration parameter
3.2.2.1
Cnf.Set,<parameter_name=value> - Sets up configuration
settings for an application and overrides default settings
Command syntax
Cnf.Set,<
Examples
$PFAL,Cnf.Set,GSM.PIN=1234
$PFAL,Cnf.Set,DEVICE.NAME=MAMBOII
$PFAL,Cnf.Set,TCP.CLIENT.CONNECT=1,212.119.014,0005
$PFAL,Cnf.Set,AL0=IO.BTN.e0=long:SYS.Timer0.start=single,5000
$PFAL,Cnf.Set,AL1=IO.BTN.e0=short:SYS.Device.Sleep=Ring+Timer=02:00
….
Responses
$DEVICE.NAME written to flash
Command description
This command is a helper function that sets the configuration on the device. This
firmware provides basic configurations needed whenever the system starts up and
as starting points for creation of an application. The default configurations are
provided to give you a head start in developing of an application for specific
requirements. They are intended to reduce your application development time.
Once you have chosen a configuration parameter, you can configure it or
overwrite the existing settings to suit your specific needs, using this command. The
exact point at which you configure a parameter depends on your application to
be developed. The examples in table above show how to set and configure a
parameter using the “
$PFAL,Cnf.Set”
command. The configuration can be done,
via Bluetooth, SMS or TCP (if the communication resources for these services are
already available). If the parameter settings are omitted, the existing settings
specified by the user is cleared and the factory default settings will be used.
Parameter description
<
parameter_name>=<settings>
Specifies the name of a parameter you want to configure its settings. Set one of
the parameters listed in the table below and define the settings of that
parameter as described in the chapter
, page
. The structure of the
message responses from the MAMBOII device is given in chapter
To show the default settings of the MAMBOII device, refer to the chapter
This confidential document is a property of FALCOM and may not be copied or circulated without previous permission.
Page 69 of 271