C API for BALTECH SDK

§ brp_FlashFS_WriteRecords()

brp_errcode brp_FlashFS_WriteRecords ( brp_protocol  protocol,
unsigned  FileId,
unsigned  StartRecord,
brp_FlashFS_WriteRecords_RecordList_Entry RecordList,
size_t  RecordList_len 
)

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.

Parameters
[in]protocolused to execute the command
[in]FileIdFile ID of the file to write to.
[in]StartRecordFirst record number to write. If this value equals the return value of brp_FlashFS_GetFileSize() (or is set to 0xFFFF) the records are appended to the end of the file. If StartRecord is smaller than brp_FlashFS_GetFileSize(), records are overwritten.
[in]RecordList
[in]RecordList_len