http://www.wavecom.com/forum Open AT ® Release version: 3.13 |
This sample depends on the following libraries :
This application protects AT+WDWL and AT+WOPEN commands with a password.
As this application uses the MultiApp library, the following start/stop command has to be used to control the application execution.
AT+SECSTART (Secured Control start/stop command)
Command | Answers |
AT+SECSTART? | +SECSTART:
<state>
OK |
AT+SECSTART=? | +SECSTART:
(0-1)
OK |
AT+SECSTART= <state> | +CME ERROR: 3 or OK |
Parameter | Values range | Description | Default value |
state | 0-1 | The current application running state. This parameter is stored in non-volatile memory. | 0 |
The init entry point sent to the MultiApp library is the sc_init() function. The start/stop entry points linked to the +SECSTART command are the sc_run() and sc_stop() functions.
When the application is enabled, it subscribes to the Application safe mode service, and filters the AT+WDWL and AT+WOPEN=0/5 commands. A new syntax is required for these commands :
AT+WOPEN (Open AT control command)
Command | Answers |
AT+WOPEN= <state> ,[ <password> ] | +CME ERROR: 3 or OK |
Parameter | Values range | Description | Default value |
state | 0-6 | cf +WOPEN documentation | mandatory |
password | 20 | Password needed on modes 0 and 5 | mandatory |
cf +WOPEN documentation for more details on this command.
AT+WDWL (Download command)
Command | Answers |
AT+WDWL=[ <password> ] | +CME ERROR: 3 or OK |
Parameter | Values range | Description | Default value |
password | 20 | Password needed to start XModem downloader if the application is running (AT+SECSTART) | mandatory |
cf +WDWL documentation for more details on this command.
The password is defined by the following command :
AT+PASSWORD (Change Password command)
Command | Answers |
AT+PASSWORD=? | +PASSWORD:
(20)
,
(20)
OK |
AT+PASSWORD= <oldpassword> , <newpassword> | +CME ERROR: 3 or OK |
Parameter | Values range | Description | Default value |
oldpassword | 20 | Current password ("openat" by default) | mandatory |
newpassword | 20 | New password | mandatory |
Updated: Wed Apr 4 13:15:08 CEST 2007;