http://www.wavecom.com/forum

Open AT ®  Release version:
3.13

Sample - External Storage

Changes

Dependencies

This sample depends on the following libraries :

Application Description

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)
CommandAnswers
AT+EXTSTART?+EXTSTART: <state>
OK
AT+EXTSTART=?+EXTSTART: (0-1)
OK
AT+EXTSTART= <state> +CME ERROR: 3
or
OK
 
ParameterValues rangeDescriptionDefault value
state0-1The 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)
CommandAnswers
AT+WRITE=?+WRITE: (0-127) , (0-255)
OK
AT+WRITE= <address> , <byte> +CME ERROR: 3
or
OK
 
ParameterValues rangeDescriptionDefault value
address0-127Data address of the byte to storemandatory
byte0-255Byte to write (decimal format)mandatory

 

  AT+READ (External E2P read command)
CommandAnswers
AT+READ=?+READ: (0-127)
OK
AT+READ= <address> +CME ERROR: 3
or
+READ: <byte>
OK
 
ParameterValues rangeDescriptionDefault value
address0-127Data address of the byte to readmandatory
byte0-255Byte read (decimal format)NA

Updated: Wed Apr 4 13:11:57 CEST 2007;