Advanced parameters and commands
Pearleye Technical Manual
V2.2.0
63
The command
Q=<p8>
transmits files to the module. <p8> is an 8 bits wide
parameter value in ASCII hexadecimal notation. It specifies the number for the
file to be created or overwritten. After confirmation of the command by sending
a carriage return character [CR] additional parameters will be expected; e.g.
the type of the file, its size and also the data itself.
Below you see an example of a character sequence. It creates a file under the
number 16 (0x10) with file type 66 (0x42) containing the text “Testtext” as
data:
Example
>Q=10[CR]
N00000007S4200[PAUSE]D5465737474657874
>
As from confirmation of the command
Q
with
[CR]
the following characters
are not echoed back as usual. That means that the control character sequence
N00…
has to be sent
blind
.
v=<p8>
View file. Dumps all bytes of the spec-
ified file to the serial interface.
Q=<p8>
Upload a file and store it in the Flash
memory.
Note
For more details see Chapter
Note
The upload via the inband Device Port Serial 0 can take a lot of
time (only some thousand bytes/minute are transmitted).
For larger files we recommend to use the external RS232 port
or the inband Device Port Bulk 0.
For details on how to configure the port see
Chapter
Command
Description
Table 32: File system commands