Table of Contents

.rl Read the Log file

Reads log file, additionally the log file can be deleted or logging can be turned on or off. If the delete option is used the log file is erased and then a new log file is created. This command can only be used in the Autorun file with the –c off option. Logging can be completely disabled by adding an empty file called “no.log” to the root of the SD card.

Android iOS .NET
link coming soon link coming soon ReadLogFileCommand

Parameters

Identifier Values Description
-b xxxxxx Read a 512 byte block from the log where xxxxxxxx is an 6 character ASCII hex value representing the block offset from the start of the log file.
-c on/off turn command logging on or off
-d yes delete the log file
-l Read the log file length. Returns a LL response with the log file length in bytes
-n No action, just set the parameters
-p List the parameter and their current values
-x Reset the parameters to defaults

Parameter detail

-b

Read a 512 byte block from the log where xxxxxxxx is an 6 character ASCII hex value representing the block offset from the start of the log file.

TypeSwitch
Valuexxxxxx
Range
Order In Interpretation7

-c

turn command logging on or off

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation3
Default Valueon

-d

delete the log file

TypeYes
Valueyes
Rangeyes
Order In Interpretation2

-l

Read the log file length. Returns a LL response with the log file length in bytes

TypeSwitch
Value
Range
Order In Interpretation4

-n

No action, just set the parameters

TypeSwitch
Value
Range
Order In Interpretation6

-p

List the parameter and their current values

TypeSwitch
Value
Range
Order In Interpretation5

-x

Reset the parameters to defaults

TypeSwitch
Value
Range
Order In Interpretation1

Parameter Interpretation Order

-x, -d, -c, -l, -p, -n, -b

Parameter Defaults

-c on

Response Headers

CS ER LB LE LL ME OK PR

Examples

CommandResponseAction
.rlCS: .rl

LB:

Log file data

LE:

OK:

The log file is read
.rl -d yesCS: .rl -d yes

LB: **** Beginning of Log ****

DT: 2019-01-14T20:17:24

EV: Log File created

LE: **** End of Log ****

OK:

The log file is deleted