FlashFS.WriteRecords

This command writes one or more records to a file. By selecting an appropriate StartRecord parameter new records may be appended to the end of the file or may overwrite existing records.

Properties

Parameters (request frame)

Name Type/Size Description
FileId Integer (16 bits) File ID of the file to write to.
StartRecord Integer (16 bits) First record number to write. If this value equals the return value of FlashFS.GetFileSize (or is set to 0xFFFF) the records are appended to the end of the file. If StartRecord is smaller than FlashFS.GetFileSize, records are overwritten.
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 must equal the return value of FlashFS.GetRecordSize !

Returned values (response frame)

None