22.03.2013 Views

AT+i Programmer's Manual - SE Spezial-Electronic AG

AT+i Programmer's Manual - SE Spezial-Electronic AG

AT+i Programmer's Manual - SE Spezial-Electronic AG

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

33.6 +iUFn — User Fields and Macro Substitution<br />

Syntax: <strong>AT+i</strong>UFn= Permanently sets user field n.<br />

Parameters: n = 01..12<br />

String = Parameter string-value.<br />

Nonvolatile Parameter Database<br />

Command Options:<br />

String=‘‘ Empty User Field.<br />

String= Str is stored in the specified User Field.<br />

A User Field may be used for general-purpose storage.<br />

In addition, a User Field may be used as a macro replacement wherever an <strong>AT+i</strong><br />

Command is allowed:<br />

The ‗#‘ character is used to prefix the UFn parameter to define indirection.<br />

When used, the value of the User Field will be substituted in the command<br />

before the command is processed. #UF01 -- #UF12 are allowed.<br />

For example:<br />

Given: <strong>AT+i</strong>UF01=ftp.domain.com<br />

Issuing: <strong>AT+i</strong>FOPN:#UF01:anonymous,myemail@domain.com<br />

Is equivalent to: <strong>AT+i</strong>FOPN:ftp.domain.com:anonymous,myemail@domain.com<br />

The advantage of this is that the FTP server may be specified dynamically by changing<br />

the UF01 parameter without requiring a change in the <strong>AT+i</strong>FOPN command.<br />

Default: Empty. No User Field value defined.<br />

Result code:<br />

I/OK<br />

<strong>AT+i</strong>UFn~ Temporarily set User Field n to value String. The<br />

permanent value will be restored after completing<br />

the next session, whether the session was successful<br />

or not.<br />

<strong>AT+i</strong>UFn? Report the current value of UFn. If the User Field is<br />

empty, an empty line containing only will<br />

be returned.<br />

The reply is followed by I/OK.<br />

<strong>AT+i</strong>UFn=? Returns the message ‗String‘.<br />

The reply is followed by I/OK.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!