![]()  | 
     BALTECH Docs | 
    C API for BALTECH SDK
   
    
   
   | 
   
| 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.
| [in] | protocol | used to execute the command | 
| [in] | FileId | File ID of the file that should be created. | 
| [in] | RecordSize | Size of a single record of this file. Has to be between 1 and 254. |