FlashFS.CreateFile
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 FlashFS.WriteRecords command later have the specified record size.
Properties
- Command code: 0x4903
- Command timeout: 100 ms
- Possible status codes: General status codes, FlashFS.ErrFsCorrupt, FlashFS.ErrFlashAccess, FlashFS.ErrDirectoryFull, FlashFS.ErrFull, FlashFS.ErrFileExist
Parameters (request frame)
Name | Type/Size | Description |
---|---|---|
FileId | Integer (16 bits) | File ID of the file that should be created. |
RecordSize | Integer (8 bits) | Size of a single record of this file. Has to be between 1 and 254. |
Returned values (response frame)
None