.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
Type | Yes |
---|---|
Value | yes |
Range | yes |
Order In Interpretation | 3 |
-ea
Execute specified autorun file
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 6 |
-fi
Select autorun file (0=internal, 1=SD card)
Type | Enum |
---|---|
Value | 0/1 |
Range | 0/1 |
Order In Interpretation | 2 |
Default Value | 1 |
-ra
Read specified autorun file
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 5 |
-wa
Append command to the specified autorun file
Type | Command |
---|---|
Value | "command" |
Range | |
Order In Interpretation | 4 |
-x
Reset the parameters to defaults
Type | Switch |
---|---|
Value | |
Range | |
Order In Interpretation | 1 |
Parameter Interpretation Order
-x, -fi, -d, -wa, -ra, -ea
Parameter Defaults
-fi 1
Response Headers
Examples
Command | Response | Action | |
.ar -d yes | CS: .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 -ra | CS: .ar -ra
AB: Autorun file data AE: OK: | The autorun file is read | |
.ar -ea | CS: .ea
OK: | The autorun file will be run |