C API for BALTECH SDK

§ brp_FlashFS_CreateFile()

brp_errcode brp_FlashFS_CreateFile ( brp_protocol  protocol,
unsigned  FileId,
unsigned  RecordSize 
)

This command creates a new empty file, if the file doesn't exist yet.

All records of this file that may be created with the brp_FlashFS_WriteRecords() command later have the specified record size.

Parameters
[in]protocolused to execute the command
[in]FileIdFile ID of the file that should be created.
[in]RecordSizeSize of a single record of this file. Has to be between 1 and 254.