Intvalue, Filename, Logmode – Siemens AC75 User Manual

Page 76: Ac75 at command set

Advertising
background image

AC75 AT Command Set

2.14 AT^SCFG

s

AC75_ATC_V01.002

Page 76 of 569

10/30/06

Confidential / Released

“NULL“

Discard data.

The value is global, stored non-volatile in ME and is not reset by

AT&F

.

“UDP“

System.out is routed to a UDP socket. The parameter requires that the port

number be given with

<intvalue>

.

"UDP" is intended only for use with the Java IDE and will be set automatically

each time you start the debugging emulator of the AC75 (on-device debug-

ging). Closing the debugger causes the ME to reboot and automatically resets

the

<if>

value last selected. This eliminates any need for manually setting

"UDP" with

AT^SCFG

, and, besides, allows you to select another System.out

target to be used when not debugging. Due to this, the value "UDP" is volatile

unlike all other

<if>

values, and switching to "UDP" is not supported while

Java is running.

“FILE“

System.out is written into a file. Requires additional parameters

<intvalue>

,

<filename>

and

<logmode>

.

The value is global, stored non-volatile in ME and is not reset by

AT&F

.

This parameter is required only if parameter

<if>

for the Java System.out is set to "UDP" or "FILE". Parameter

is global, stored non-volatile in ME and not reset by

AT&F

.

1...65535

If

<if>

= "UDP": UDP port number. It is recommended to use a number greater

than 1023.

If

<if>

= "FILE": Size of the log file in bytes, values less then 1024 are not sup-

ported.

This parameter is required only if parameter

<if>

for the Java System.out is set to "FILE". It specifies the abso-

lute path and the file name of the log. The local Flash File system is identified by: "A:", directory separator is "/"

(002Fh).

The underline character "_" (005Fh) is not supported.

The log is split into two concatenated files, each using half of the entire log size set with parameter

<intvalue>

. Each file name consists of the name specified with parameter

<filename>

and the numeric

extension "0" or "1" automatically appended, for example "a:/java/log.txt.0" for the first part of the log and "a:/

java/log.txt.1" for the second part. When the first log file reaches half of the log size, the System.out is written to

the second file. When the second file is used up, the ME starts to overwrite the first one.

Parameter is global, stored non-volatile in ME and not reset by

AT&F

.

Parameter length: maximum 125 characters.

This parameter is required only if parameter

<if>

for the Java System.out is set to "FILE". The parameter

selects the mode of writing System.out data to file.

Parameter is global, stored non-volatile in ME and not reset by

AT&F

.

“buffered“

(D)

Uses a buffer and a timer and acts like a write cache.

“secure“

Writes all output data byte by byte to the file.

Notes

• Any changes to parameters of the Autoexec function will be saved and restored on next power-up only when

the ME is switched off via AT commands (e.g.

AT+CFUN

or

AT^SMSO

).

• Please keep in mind, that each time the ME is restarted the timers of all autoexec actions configured with

<AutoExecType>

=1 and

<AutoExecPeriod>

will be reinitialized and restarted. As a result, an autoexec

action configured at a time later then a scheduled automatic restart would never be executed.

• Be careful using

<AutoExecType>

=1 with small period values and shutdown or reset AT commands, since

only little time remains to change these settings again after AC75 restart.

• If

<AutoExecATC>

uses AT commands containing secret data, this information may be retrieved with

AT^SCFG

?. For instance, this applies if using

AT+CPIN

.

<intvalue>

(str)(+CSCS)

<filename>

(str)(+CSCS)

<logmode>

(str)(+CSCS)

Advertising