Table of Contents

.ar Autorun Command

If supported by the reader, this command is used to read/write/delete/execute the AUTO.TXT file on the SD card, or the readers small, internal file. This command cannot be used in an Autorun file. NB The internal file is limited to 256 bytes.

Android iOS .NET
link coming soon link coming soon AutorunCommand

Parameters

Identifier Values Description
-d yes Delete the specified autorun file
-ea Execute specified autorun file
-fi 0/1 Select autorun file (0=internal, 1=SD card)
-ra Read specified autorun file
-wa "command" Append command to the specified autorun file
-x Reset the parameters to defaults

Parameter detail

-d

Delete the specified autorun file

TypeYes
Valueyes
Rangeyes
Order In Interpretation3

-ea

Execute specified autorun file

TypeSwitch
Value
Range
Order In Interpretation6

-fi

Select autorun file (0=internal, 1=SD card)

TypeEnum
Value0/1
Range0/1
Order In Interpretation2
Default Value1

-ra

Read specified autorun file

TypeSwitch
Value
Range
Order In Interpretation5

-wa

Append command to the specified autorun file

TypeCommand
Value"command"
Range
Order In Interpretation4

-x

Reset the parameters to defaults

TypeSwitch
Value
Range
Order In Interpretation1

Parameter Interpretation Order

-x, -fi, -d, -wa, -ra, -ea

Parameter Defaults

-fi 1

Response Headers

CS ER AB AE ME OK

Examples

CommandResponseAction
.ar -d yesCS: .ar -d yes

OK:

The autorun file is deleted
.ar -wa “.al -voff -n”CS: .ar -wa “.al -voff -n”

OK:

The “.al -voff -n” command is appended to the end of the autorun file. (This command is turning off the vibrate at wake up)
.ar -raCS: .ar -ra

AB:

Autorun file data

AE:

OK:

The autorun file is read
.ar -eaCS: .ea

OK:

The autorun file will be run