http://www.wavecom.com/forum Open AT ® Release version: 3.13 |
This sample depends on the following libraries :
This application uses the M93CX6 driver to access an external E2P chip.
As this application uses the MultiApp library, the following start/stop command has to be used to control the application execution.
AT+EXTSTART (External Storage start/stop command)
Command | Answers |
AT+EXTSTART? | +EXTSTART:
<state>
OK |
AT+EXTSTART=? | +EXTSTART:
(0-1)
OK |
AT+EXTSTART= <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 es_init() function. The start/stop entry points linked to the +EXTSTART command are the es_start() and es_stop() functions.
The application uses the Drivers library to store and read bytes in/from a M93CX6 chip. It provides two AT commands, for each write and read process.
AT+WRITE (External E2P write command)
Command | Answers |
AT+WRITE=? | +WRITE:
(0-127)
,
(0-255)
OK |
AT+WRITE= <address> , <byte> | +CME ERROR: 3 or OK |
Parameter | Values range | Description | Default value |
address | 0-127 | Data address of the byte to store | mandatory |
byte | 0-255 | Byte to write (decimal format) | mandatory |
AT+READ (External E2P read command)
Command | Answers |
AT+READ=? | +READ:
(0-127)
OK |
AT+READ= <address> | +CME ERROR: 3 or +READ: <byte> OK |
Parameter | Values range | Description | Default value |
address | 0-127 | Data address of the byte to read | mandatory |
byte | 0-255 | Byte read (decimal format) | NA |
Updated: Wed Apr 4 13:11:57 CEST 2007;