FlashFS.ReadRecords
This command reads one or more records from a file. If the
file contains less records than specified, the response
only returns the available number of records.
Parameters (request frame)
Name
|
Type/Size
|
Description
|
FileId
|
Integer (16 bits)
|
File ID of the file to read from.
|
StartRecord
|
Integer (16 bits)
|
First record number to read.
|
RecordCount
|
Integer (16 bits)
|
Number of records to read. Should not be larger
than the return value of
FlashFS.GetFileSize.
|
Returned values (response frame)
Name
|
Type/Size
|
Description
|
Length of RecordList
|
Integer (16 bits)
|
Number of elements in the RecordList array
|
RecordList
|
Array
|
-
|
|
Length of Record
|
Integer (8 bits)
|
Length of Record in bytes
|
|
Record
|
Raw data
|
Record content. The size of the record equals the
return value of
FlashFS.GetRecordSize.
|