Specifications
Advanced parameters and commands
Pearleye Technical Manual V2.0.0
58
The command Q=<p8> is used to transmit 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 will 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 send blind.
The character sequence is divided into the following parts:
Caution
The commands d=<p8> and Q=<p8> do not need additional
confirmation.
Files below ID 0xF0 are not write-protected and thus are
modified or deleted without warning.
Note
For more details see Chapter Command reference on page 60.
Note
The upload via the inband Device Port Serial 0 can take a lot of
time (only some thousand bytes/minute).
For bigger 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 Baud rate (s) on page 55.
Part Description
Nnnnnnnnn n = file size in bytes – 1.
Creating a file of size 0 is not specified.
Sttmm t = file type (any between „01“ and „FE“)
m = transmit mode (always „00“)
Table 33: The Q=<p8> command: parts










